trigger from stream

For general discussion related FlowStone
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: trigger from stream

Post by tulamide »

gvalletto wrote:Thanks Tulamide, your explanations are clear. Regard to the "single precision of floats", no matter for me in this case because I will use integer values from a stream step LFO made with DSP code. I the schme I put a saw LFO just by the example, but really I will use integer values. What do you think about?

Yes, if you make sure that you only ever deal with integers you are safe. Integers can be exactly represented up to 16 million.
"There lies the dog buried" (German saying translated literally)
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: trigger from stream

Post by KG_is_back »

are you looking for something like this?
Attachments
monoToTrigger.fsm
(9.54 KiB) Downloaded 851 times
User avatar
gvalletto
Posts: 117
Joined: Fri Jul 09, 2010 10:15 pm
Location: Argentina
Contact:

Re: trigger from stream

Post by gvalletto »

KG_is_back wrote:are you looking for something like this?


Oh my God! Yeah!!!
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: trigger from stream

Post by KG_is_back »

gvalletto wrote:
KG_is_back wrote:are you looking for something like this?


Oh my God! Yeah!!!


OK, there are few warnings I must pose.
First, the schematic outputs triggers that are delayed by exactly 1 buffer size (or more accurately a frame). The timing is correct relative to each other, but you will get different overall lag depending on your soundcard settings.
Second, the schematic is not idiot-proof. It will try to output a green trigger on every single sample that arrives with the value 1 into the "falling ramp" module. Needless to say, this will crash your schematic if you accidentally connect it to something that outputs constant 1.
User avatar
gvalletto
Posts: 117
Joined: Fri Jul 09, 2010 10:15 pm
Location: Argentina
Contact:

Re: trigger from stream

Post by gvalletto »

Thanks KG. My brain is burning...images/icons/smile/redface.gif
I will experiment.
I think that kind of things should be added as primitives in the toolbox. It will welcome for all those had been fell in love with Synthmaker due its power without codes and that still in love with Flowstone...
Post Reply