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

Adsr retriggering

For general discussion related FlowStone

Adsr retriggering

Postby BobF » Thu Aug 31, 2017 8:47 pm

Hello gang,

I need some help, well a question. I am building a Synth and lets say I have 2 adsr's, 1 for a midi controlled oscillator and another for a filter fed by the oscillator. If I play 1 note both adsr's are triggered. The question is if I play a second note with first note still held, I only want the oscillator adsr to retrigger and NOT the filters adsr. How would I go about this. After both keys are lifted I also wish for it to start again with both adsr's being triggered. Many thanks in advance.

Later then, BobF.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Adsr retriggering

Postby Spogg » Fri Sep 01, 2017 9:01 am

Hi Bob

Just to clarify: You want a poly synth that operates a filter envelope on the first key pressed only. It will then hold the sustained filter value until all keys are released. All held keys will then be filtered by the opened filter. Is this correct?

This sounds a bit like the percussion function on a Hammond Organ.

My first thought is to have the filter in blue, after the poly to mono combiner. It would need a blue envelope generator triggered from somewhere like a voice counter also converted to mono.

You may need to make the envelope generator yourself, or modify one, to get one that worked without the Envelope Control prim involved, since it would be in blue and the control prim is for poly only.

Cheers

Spogg
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Adsr retriggering

Postby BobF » Fri Sep 01, 2017 2:03 pm

Hi Spogg,

Thanks! Yes, I thought it would need blues. Guess I was just hoping someone had some little trick that would work and make it so much eaiser.

Cheers, BobF.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Adsr retriggering

Postby adamszabo » Fri Sep 01, 2017 3:04 pm

There is an easier way to do this if your synth only allows one voice that is in mono. You can have two envelopes, and set one of them to always retrigger on each keypress, and the other one only when a new voice is active, and it will achieve what you want
adamszabo
 
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Adsr retriggering

Postby BobF » Sat Sep 02, 2017 8:32 pm

Thanks adamszabo,

That is one solution, but I do want poly, so back to the drawing board.

Cheers, BobF......
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Adsr retriggering

Postby nix » Sun Sep 03, 2017 3:59 am

Hey Bob mate-
it's something to do with a counter or a compare.
You can count poly gates, and reset the counter when zero-
this will switch the filter adsr on and off.
When above one, it will not send the gate bool to the filter envelope.

The other option is to use the 'midi mono' prim to create the switch.
This will tell u how many poly- and use logic to do the switch from there.

Either option should be good to realize this IMO

So-
it's switch the filter envelope gate bool on poly to off,
and reset the gate bool switch on zero poly

something like that?

Nice idea!!
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Adsr retriggering

Postby BobF » Sun Sep 03, 2017 5:58 pm

Hello Nix,

Good to hear from you, how are things? Do you have any examples or should I just start experimenting? Sometimes a little example really helps to get me going.

P.S., How is the hex guitar module doing, are you still adding stuff? Any new projects on the horizon?

Take care, BobF.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Adsr retriggering

Postby nix » Mon Sep 04, 2017 12:48 am

I'm good mate thanks! In a new studio now.
How's urself?

Here's an example->
Bob's mod.fsm
(39.52 KiB) Downloaded 924 times

For 3081

So to do it in poly streams is a little more difficult- I can try if you need it though.
This one is a green switch, it seems to work though.

The hex guitar is great fun, just playing it now really. I added an expander on the freq reader line,
and a compressor on the amplitude line and made it look cooler graphically- ta for asking. It's the proverbial of the proverbial!

The new project is to make my website have stellar quality fare, so just fixing up my product line entirely.
The new FS alpha seems really cool- my sequencer can run at 64 samples latency, so Ruby is even better.
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Adsr retriggering

Postby BobF » Mon Sep 04, 2017 2:10 am

Hi again nix,

Doing ok, just had a birthday, more aches and pains each new year.

Is your newest version (hex guitar) up on the forum here?

Really sorry to ask and only if you have time, but I am trying to do it in poly? Thanks!

What else do you like so far in the FS alpha?

Like to see you website when you get it to your liking.

Thanks again, BobF.....
BobF
 
Posts: 598
Joined: Mon Apr 20, 2015 9:54 pm

Re: Adsr retriggering

Postby nix » Mon Sep 04, 2017 2:27 am

She's right Bob mate-
it is polyphonic!
Just not in white streams entirely.
My recent incarnation of the hex guitar is in the 2SYN thread,
do you have the alpha? I am working in that one now, but the one in the thread should open in 3081.
It's just the Ruby handling I am impressed with in the alpha, I have not found any other benefits yet-
but the cpu decrease is just dandy.

Ur birthday is near mine - 18/8 for me
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am


Return to General

Who is online

Users browsing this forum: Majestic-12 [Bot] and 50 guests