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
Just some help
9 posts
• Page 1 of 1
Just some help
Hello Gang,
Could someone PLEASE post a way I can trigger a ADSR by setting a amplitude point on a given wave form.
For instance, if I have sine wave (any waveform) going from -1 to 1 or 0 to 1 and I want to trigger the ADSR at say .5 , .75, -3 or any value how would I go about it? A schematic example would really help! I have played around with this for awhile now and just can not figure it out.
Ok, lets say I have a sine wave and it is moving from 0 to 1 and then back down from 1 to 0 (of course at its frequency). So lets say I want to pick a point half way up at .5 (amplitude wise). At that amplitude or any other amplitude I choose I want to trigger a ADSR. That's it!
Guess I am making this to hard. All I need is to trigger a ADSR via the amplitude of a sound sourse (osc out, lfo out, input, etc)
Many, many thanks in advance!
Later then, BobF.....
Could someone PLEASE post a way I can trigger a ADSR by setting a amplitude point on a given wave form.
For instance, if I have sine wave (any waveform) going from -1 to 1 or 0 to 1 and I want to trigger the ADSR at say .5 , .75, -3 or any value how would I go about it? A schematic example would really help! I have played around with this for awhile now and just can not figure it out.
Ok, lets say I have a sine wave and it is moving from 0 to 1 and then back down from 1 to 0 (of course at its frequency). So lets say I want to pick a point half way up at .5 (amplitude wise). At that amplitude or any other amplitude I choose I want to trigger a ADSR. That's it!
Guess I am making this to hard. All I need is to trigger a ADSR via the amplitude of a sound sourse (osc out, lfo out, input, etc)
Many, many thanks in advance!
Later then, BobF.....
Last edited by BobF on Fri Feb 05, 2016 1:42 am, edited 2 times in total.
- BobF
- Posts: 598
- Joined: Mon Apr 20, 2015 9:54 pm
Re: Just some help
Hmm, I am not sure what you mean exactly. Maybe you mean to start the waveform at different phase?
- adamszabo
- Posts: 667
- Joined: Sun Jul 11, 2010 7:21 am
Re: Just some help
Hi Bob
This is based on my understanding so may not be correct:
Any stock ADSR is run by the Envelope control prim or the ADSR Prim. The magic running in the background controls each channel of a poly stream to keep it going while the note sounds. It knows if a note is requested from the MIDI prim so acts accordingly and opens a poly channel. So to start an ADSR event a note request has to be made.
In this way it's not possible to run an ADSR cycle without a note-on MIDI event.
What you could possibly try is to create MIDI note ON and OFF events using 2 MIDI event prims, triggered by a comparator for the level you want.
Alternatively you could do your thing in blue, which is always running, and trigger single shot pre-defined waveforms for your envelope, like a graphic LFO running in Blue. For stuff to happen in mono blue you don't need a MIDI event to open the channel.
I hope this helps and I hope that if I'm wrong or being crazy someone will chip in and correct me.
-----------------------------------------------------------------------------------------------------------
Bob, how's your wife doing? Hope things are getting back to normal.
Cheers
Spogg
This is based on my understanding so may not be correct:
Any stock ADSR is run by the Envelope control prim or the ADSR Prim. The magic running in the background controls each channel of a poly stream to keep it going while the note sounds. It knows if a note is requested from the MIDI prim so acts accordingly and opens a poly channel. So to start an ADSR event a note request has to be made.
In this way it's not possible to run an ADSR cycle without a note-on MIDI event.
What you could possibly try is to create MIDI note ON and OFF events using 2 MIDI event prims, triggered by a comparator for the level you want.
Alternatively you could do your thing in blue, which is always running, and trigger single shot pre-defined waveforms for your envelope, like a graphic LFO running in Blue. For stuff to happen in mono blue you don't need a MIDI event to open the channel.
I hope this helps and I hope that if I'm wrong or being crazy someone will chip in and correct me.
-----------------------------------------------------------------------------------------------------------
Bob, how's your wife doing? Hope things are getting back to normal.
Cheers
Spogg
-
Spogg - Posts: 3358
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: Just some help
Hi BobF
As Spogg explained, you need a note-on event in poly for the ADSR envelopes to work in FS, but there are other kinds of envelopes. For example, a peak/level meter or a compressor uses an envelope based on an input signal's amplitude with an attack and release value. Maybe looking at one of those will get you started on what you're doing. If not, it's fairly straightforward to create a control behavior in DSP based on amplitude (e.g. something like "if input exceeds X, hold that value for T and then decay mathematically, which I've done before, so you should be able to ).
As Spogg explained, you need a note-on event in poly for the ADSR envelopes to work in FS, but there are other kinds of envelopes. For example, a peak/level meter or a compressor uses an envelope based on an input signal's amplitude with an attack and release value. Maybe looking at one of those will get you started on what you're doing. If not, it's fairly straightforward to create a control behavior in DSP based on amplitude (e.g. something like "if input exceeds X, hold that value for T and then decay mathematically, which I've done before, so you should be able to ).
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Just some help
Hi Guys,
Many thanks for your comments, I am sure after reading them I will be able to figure something out now.
Always great to get this kind of feedback from as many readers as possible.
Take care and thanks again, BobF.....
Many thanks for your comments, I am sure after reading them I will be able to figure something out now.
Always great to get this kind of feedback from as many readers as possible.
Take care and thanks again, BobF.....
- BobF
- Posts: 598
- Joined: Mon Apr 20, 2015 9:54 pm
Re: Just some help
There are 2 ways to do this but would be handy to know if its a synth or an effect, basically poly or mono, white or blue?
- Xtinct
- Posts: 106
- Joined: Fri Feb 11, 2011 12:06 am
Re: Just some help
Hello Xtinct,
It's an effect, mono , and most likly blue, but it would be very nice to learn both ways. Cam you provide a fsm example.
If so I truly would appreciate it. Thanks in advance if you can.
Later then, BobF.....
It's an effect, mono , and most likly blue, but it would be very nice to learn both ways. Cam you provide a fsm example.
If so I truly would appreciate it. Thanks in advance if you can.
Later then, BobF.....
- BobF
- Posts: 598
- Joined: Mon Apr 20, 2015 9:54 pm
Re: Just some help
Hello again Xtinct,
Thank you so much for posting the fsm, it really helps me out . I need to do some testing in my effect to see if it works perfectly or if I need to look further to make it work as I in vision. If any thing I have learned something new and that is a really big thing. Again thanks a million and take care.
Later then, BobF.....
Thank you so much for posting the fsm, it really helps me out . I need to do some testing in my effect to see if it works perfectly or if I need to look further to make it work as I in vision. If any thing I have learned something new and that is a really big thing. Again thanks a million and take care.
Later then, BobF.....
- BobF
- Posts: 598
- Joined: Mon Apr 20, 2015 9:54 pm
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 91 guests