Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

FS & Applications

For general discussion related FlowStone

FS & Applications

Postby S1User » Tue Mar 29, 2016 8:19 pm

Not sure why, but for some reason Flowstone appears to be largely desired for it's ability to create VST plugins and Instruments without the relative difficulty of C++. While that's a heck of a selling point (x64 being missing aside), and the main reason I purchased it, I find it odd how it doesn't get more visibility as a general Window development platform, for stand alone apps.

I program in VB.NET, C#, Javascript, and I dabble in a few other scripting languages here and there and long, long, long ago I stumbled on Visual Basic at one of the big box stores and bought it on a lark, having not ever done any coding before and thinking it might be a fun hobby, and it was so easy to use and so logical and readable I was hooked into coding right away.

Now I look at FS and wonder why it doesn't appear to be doing similar, attracting lots of random people who have no desire to be professional developers and just want an easy and logical way to make Windows applications. Do they even really push that aspect of it at all beyond robotics and similar? If not, that's a real shame and imo, a missed opportunity.

When people ask me how to easily do that, make Windows apps, and I know they aren't trying to make Photoshop or trying to learn C or C++ or Java and all that and don't care about all that, I send them to VB Community which is free, easy to learn, and almost instant gratification. When you see internet threads asking those question, FS never gets mentioned.

Along those lines I'm going to develop a small standalone app with FS and maybe blog along the way. I find it a quite fascinating option for throwing together quick Windows applications.
S1User
 
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: FS & Applications

Postby noisenerd » Tue Mar 29, 2016 8:57 pm

I've noticed that most of the users posting here seem to be using it for audio-related things, but I'm not sure if that's misleading as far as the actual user base... it could be that the non-audio people just don't come around here.

In any case, I for one would read that blog.
noisenerd
 
Posts: 69
Joined: Sun Feb 14, 2016 11:31 pm

Re: FS & Applications

Postby RJHollins » Tue Mar 29, 2016 10:27 pm

I've had similar thoughts ... FS could be much more.

One thing I find missing ... there seems no way to PRINT something [to a printer]. Even if just basic text/pics ... that would open other possibilities.
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: FS & Applications

Postby S1User » Wed Mar 30, 2016 12:20 am

Here's the thing... from my perspective anyway...

Something like Visual Basic (a pretty powerful language actually, despite some feeling C# is more powerful which isn't really true) gives "enthusiasts" almost instant gratification. You can sit down with someone who's never coded anything and in like, less than an hour, show them how to make a basic Windows application that actually works.

FS also has that same thing going on, the instant gratification thing, once you spend an hour to grasp it. It has the additional advantage of it working (for testing) without it being compiled (or at least it doesn't seem so) while it has the disadvantage of lots of the standard windows tool sets or classes being missing, or not being standard.

The thing is though... and I'm investigating this... you might somehow be able to call and use the Windows frameworks directly, rather than write a Ruby list box, just call the Windows listbox class, which would nullify that disadvantage if possible.

(is it? I mean, if you can call API functions, can you also instance Window's classes? Can you use the full .NET framework directly from inside FS?)

But yeah, I'm really surprised they don't market it more that way. There are lots of people who'd like to write apps but clearly don't want to (and won't) spend 6 months learning how in C++ or Java or whatever.
S1User
 
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: FS & Applications

Postby RJHollins » Wed Mar 30, 2016 12:59 am

Can VB generate VST plugins ?

I've been always curious about VB [i think called Visual Studio], as I not a programmer and can't afford years of study/learning to fprint 'Hello World'. :P

The only 'other' language I got good with was GFABasic ... for the ATARI STe platform. A form of 'Structured Basic'. Sure, I had to study to get good with it, but it was logical. It was easy to test ideas, and the compiled exe was very efficient. It was actual fun to work with.

VB ... just seems interesting, but I avoid reading up on it :|
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: FS & Applications

Postby S1User » Wed Mar 30, 2016 1:26 am

Nah, windows apps, dll's, javascript, and web apps and things. It's just a really fast language to develop in, for basic Windows stuff. Once you get into other things like DAW's and plugins you need to go with some kind of C++, or maybe VST.NET.

Anyway... here is the Ruby code where I'm trying to generate a windows listbox via the API, but not getting anywhere. It looks correct and it's not giving any errors, but nothing is happening.

Now I do know when you create an instance from a class on the fly in VB you also do have to literally make it visible to actually see it, but I don't think it's even happening here as watching "cw" appears to show it as 0. If this is possible (or not) I wish someone at the company would speak to it.

I think this may not work at all. I couldn't find any examples of it actually working when Googling it.

Code: Select all
require 'Win32API'

Createwindow = Win32API.new('user32', 'CreateWindowEx', ['l', 'p', 'p',
'l', 'i', 'i', 'i', 'i', 'l', 'l', 'l', 'P'], 'l')

cw = Createwindow.call(0, 'ListBox', 'My List', 0x40000000 |
0x10000000, 0, 0, 200, 100, 0, 0, 0, 0)
S1User
 
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: FS & Applications

Postby S1User » Wed Mar 30, 2016 1:34 am

I've been always curious about VB [i think called Visual Studio], as I not a programmer and can't afford years of study/learning to fprint 'Hello World'.


Takes all of a minute in VB. It's the easiest language I've ever tried. Visual Studio is more an IDE for all of their supported languages, it uses them all, VB, C#, C++ and some others. The best thing about it is that it's free, as is their version of GIT (VS Online).

Here's "Hello World" in VB...

Code: Select all
Sub Main()
     Console.WriteLine ("Hello World!")
End Sub


One thing for sure, you don't have to spend hours manually coding a Ruby listbox and some other things. But (of course) you can't make VST plugins with it either.
S1User
 
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Re: FS & Applications

Postby tulamide » Wed Mar 30, 2016 4:46 am

S1User wrote:One thing for sure, you don't have to spend hours manually coding a Ruby listbox and some other things. But (of course) you can't make VST plugins with it either.

And that's the point. VST doesn't allow for Windows controls in the VST window. You get away with everything that opens in it's own window, for example menus or dropdown lists.
Historically, Flowstone is a combination of two specialized applications: Synthmaker and Robotics. It was never intended to be yet another general programming language. Instead it focuses on simplification. Try to program an interface for one of the many Robotics boards without Flowstone. It replaces all the hard lower level programming by ready to go prims. An awesome concept, but not very effective if trying to offer the Windows API as is (A prim for a new window? A prim for a windows control that needs a handle to the active window? Ooh, I see issues arising).

Regarding this I will see with interest what you will come up with. It surely isn't easy.
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: FS & Applications

Postby Tronic » Wed Mar 30, 2016 5:49 am

@S1User
If you know c++, vb, or other, why you not use the DLL primitive?
You can create windows easly, or other things you like.
If you are an programmer it's an easy task.
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: FS & Applications

Postby S1User » Wed Mar 30, 2016 3:59 pm

I've not looked into the DLL primitive. I'll read up on it.

Oooh... C++, not my thing at all, but I'll look at it anyway.
S1User
 
Posts: 58
Joined: Thu Sep 17, 2015 4:05 pm

Next

Return to General

Who is online

Users browsing this forum: tulamide and 67 guests