How to: Master filter with ADSR env?
-
Hello!
I have two Samplers and I want to have one main Filter with freq ADSR modulation applied to both Samplers.
There is no option to have filter freq envelope on the master container, only LFO.
I've tried to put both Samplers into Synthesizer Group, but this way I'm missing Sampler features like independent transpose or glide settings for each one.
The only way I see is to use two separate Samplers with Filter + freq ADSR and "link" two Filters parameters to one knob on the interface. But maybe there is more elegant solution?
-
@DanSound Just drop this in and you can control multiple envelopes and connect it up to your UI without needing to script anything https://github.com/davidhealey/HiseUtilityScripts/blob/master/modules/AhdsrController.js
-
@d-healey Thanks, just added it! But I'm not sure how to connect it to the Filter frequency knob.
Tried to add Script Time Variant Modulator but it gives an error.
-
@DanSound This is for your second solution with two filters and two envelopes.
-
@d-healey Ahh now got it, thanks!
It looks like this script "links" all AHDSR Envelope modules, even when I add AHDSR Envelope for Gain.
I tried to rename Gain's AHDSR Envelope but it's still linked.
Do I need to edit script somehow so it will only be linked to particular modules or I'm missing something again?
-
@DanSound Yeah you'll need to edit the script. It was designed to link gain AHDSRs across multiple samplers but it will link all as you have discovered.
-
@d-healey Ok, thanks again! Will try to modify it, it's a good starting point.
-
@d-healey Just to clarify - two filter is the only solution? Or maybe scriptnode will do the job?
-
@DanSound I don't know about scriptnode, I'd use two filters.
-
@d-healey ok, got ya!