Page 1 of 2

I want to learn Flowstone DSP coding full help me pls

PostPosted: Wed Mar 08, 2017 9:48 pm
by rdgaudio
Hello all my Flowstone/SE users Friends,
I am very new to Flowstone . I want to learn full DSP coding for flowstone. I have tried DSP guru/music dsp etc sites but unable to figure out the error.When I put Music DSP sites' code inside flowstone nothing happens. I need proper learning path of flowstone's DSP coding. Any Online site,PDF or video tutorials will be very useful to me.


Regards,
Rudra Ghosh

Founder of Refined Digital Group
(RDGAudio)

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Wed Mar 08, 2017 11:42 pm
by nix
Welcome!

perhaps you need to declare inputs/outputs and variables like FS asks.

Check the manual- I think it has a real concise part on the dsp box
Also many functions may not be available,
and you may need to translate them into the FS equivalents-
which I hope can be found- they usually turn up for me.

It will take some tinkering and head scratching to port code I think-
but in the end the dsp component is simple and you can do a lot with it.

Enjoy!.. and once more welcome
by all means link us to an example you want to port, and maybe we can help

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Thu Mar 09, 2017 6:43 am
by rdgaudio
nix wrote:Welcome!

perhaps you need to declare inputs/outputs and variables like FS asks.

Check the manual- I think it has a real concise part on the dsp box
Also many functions may not be available,
and you may need to translate them into the FS equivalents-
which I hope can be found- they usually turn up for me.

It will take some tinkering and head scratching to port code I think-
but in the end the dsp component is simple and you can do a lot with it.

Enjoy!.. and once more welcome
by all means link us to an example you want to port, and maybe we can help


Thank you Nix for your reply...
"you may need to translate them into the FS equivalents-
which I hope can be found- they usually turn up for me"...where to find it?
I have read the FS user manual, I have learned " purple" "green" "blue" etc color for correct function and streamin in; and streamout out; function etc. I have studied the user manual pdf (downloaded from tutorial section) but still unable to figure out the dsp coding which synthmaker/flowstone follows.The user manual's DSP coding is not briefly described. My back ground is Computer science, so I want to learn full DSP for SM/FS full step by step from scratch. I have downloaded other user's examples but still unable to figure out the logic. That's why I need a DSP manual/help file for FS/SM or any web link to learn DSP for Flowstone.

Regards,
Rudra

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Thu Mar 09, 2017 7:47 am
by martinvicanek
Welcome rdgaudio!
As nix said: start with a small project, see how far you get, and post your schematic so we can help you.

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Thu Mar 09, 2017 9:40 am
by Nubeat7
its pretty clear in the user guide, but you should start with simple things like martin said,

one good start ist to translate simple circuits into dsp code, like this you also can test if the result is the same...

here is a simple example for you

welcome to the forum :)

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Thu Mar 09, 2017 10:13 am
by Spogg
Hi and welcome :D

The manual is incomplete in terms of expressions available. Take a look at my old topic (there's some maths philosophy in there too which may entertain :lol: )

viewtopic.php?f=4&t=3454#p18747

Cheers

Spogg

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Thu Mar 09, 2017 6:21 pm
by rdgaudio
Thank you Nubeat7 and Spogg. I have started studying "codepractise1.fsm" ... :D . I have also read Spogg's post but frankly speaking you are sky level and I am in ground. :lol: So I have to work hard with FS. Thanks... you guys will always help me to learn FS and DSP. I will post my Examples here to learn from you. And Yes I will start small project first. :)

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Thu Mar 09, 2017 6:45 pm
by rdgaudio
Cool... understanding from codepractise1.fsm. :)

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Thu Mar 09, 2017 7:34 pm
by rdgaudio
Understand the "codepractise1.fsm". Here I have written a Stereo enhancer DSP code. All my Sirs can you check it and correct it pls? I have studied it from http://musicdsp.org/archive.php?classid=4#78 and tried it in Flowstone. now I need masters help :)

Re: I want to learn Flowstone DSP coding full help me pls

PostPosted: Thu Mar 09, 2017 9:09 pm
by Lex248
So correctly.
Code: Select all
//stereo enhancer trying

streamin inleft;
streamin inright;
streamout outleft;
streamout outright;

float wide = 1.2;
float expan, mono;

mono = (inleft + inright)/2;
expan = inleft - mono;
expan = expan * wide;
outleft = inleft + expan;
outright = inright - expan;