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

Reset LFO from Stream Bool

For general discussion related FlowStone

Reset LFO from Stream Bool

Postby Drnkhobo » Thu Mar 28, 2013 11:20 pm

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 :lol:

Its not right so does anyone have ideas as to why?
Drnkhobo
 
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: Reset LFO from Stream Bool

Postby nix » Fri Mar 29, 2013 12:41 am

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?
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Reset LFO from Stream Bool

Postby Drnkhobo » Fri Mar 29, 2013 8:00 pm

Hey Nix,

Im using the standard LFO from the Analog kit:

http://synthmaker.co.uk/news08.html

Check 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. . .
Drnkhobo
 
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: Reset LFO from Stream Bool

Postby nix » Fri Mar 29, 2013 10:01 pm

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
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Reset LFO from Stream Bool

Postby trogluddite » Sat Mar 30, 2013 1:28 pm

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.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Reset LFO from Stream Bool

Postby Drnkhobo » Sun Mar 31, 2013 8:03 pm

wow! worked like a charm!

hehehe


I had an old rms code but I replaced it with bootsy's one & its spot on!
Drnkhobo
 
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA


Return to General

Who is online

Users browsing this forum: No registered users and 79 guests