Page 1 of 1
Reset LFO from Stream Bool
Posted: Thu Mar 28, 2013 11:20 pm
by Drnkhobo
Hey guys, thanks to Trog Ive got a module running that sends a Stream Bool trigger when a signal exceeds a threshold.
Now ive noticed that the 'reset' input on the lfo
(Stream Bool connection) goes in into the LFO & triggers the wave's hard sync.
Am I right to assume this will reset the LFO when the trigger is received or does it reset it to the nearest beat?
Btw im using the Analog Kit LFO from the SM website. . .
My tests suggest that while the gist of the results are good, its completely broken. . . . LOL
Its not right so does anyone have ideas as to why?
Re: Reset LFO from Stream Bool
Posted: Fri Mar 29, 2013 12:41 am
by nix
It will reset when the bool returns to 0 IIRC(or not, i do remember that hard sync is on transition from 0-1),
so it won't wait for the beat.
It just means you have to reset it on beat divisions if you want that behaviour.
Which LFO is it, the wave construction or step?
I could try and help with the schematic.
What sort of signal is triggering the bool?
Re: Reset LFO from Stream Bool
Posted: Fri Mar 29, 2013 8:00 pm
by Drnkhobo
Hey Nix,
Im using the standard LFO from the Analog kit:
http://synthmaker.co.uk/news08.htmlCheck it out.
For the trigger, Ive set up a simple DSP code:
Code: Select all
streamin dbIn;
streamin thresh;
streamboolout gate;
gate = (dbIn > thresh);
The signal is a wave player. . .just some drum loops.
As I said before, I tried it & its not sounding right. It seems to me that either the trigger is wrong or its something to do with the syncing.
I am not looking to sync to any time signature. Just want it to reset the LFO when the signal exceeds the threshold. . .
Re: Reset LFO from Stream Bool
Posted: Fri Mar 29, 2013 10:01 pm
by nix
Oh OK,
I found the standard LFO now. I did look for it in the kit.
How are u getting db?
I reccomend using Bootsy's fast rms to get a 0-1 value.
You can generate the polybool like this->
Code: Select all
streamin rms;
streamin thresh;
streamboolout gate;
gate = rms > thresh & 1;
I think that might work
All success
Re: Reset LFO from Stream Bool
Posted: Sat Mar 30, 2013 1:28 pm
by trogluddite
nix wrote:I reccomend using Bootsy's fast rms to get a 0-1 value
Yes, that is good advice.
For the trigger to work, you need to be reading the 'loudness' of the audio in some way, in the same way that a level meter would.
With an untreated audio waveform, it will be going up and down across the threshold hundreds or thousands of times per second as the sound oscillates, each time resetting the sync.
Re: Reset LFO from Stream Bool
Posted: Sun Mar 31, 2013 8:03 pm
by Drnkhobo
wow! worked like a charm!
hehehe
I had an old rms code but I replaced it with bootsy's one & its spot on!