Get Modulator
-
Hey!
I currently have this script and it utilizes one of the ahdsr's under the gain modulation under a sampler. The script is placed within the midi processor of the sampler and I'm wondering how I can reference that modulator without using the name and instead using the index? I can do this with a sampler, but can't find a way to do it for modulators within that sampler:
const samplerId = Synth.getIdList("Sampler")[0]; const sampler = Synth.getSampler(samplerId);
Thanks!
-
Add yourself a module browser popup window and then you can find the names of all the different modules
So
Synth.getIdList("AHDSR Envelope");
in this case. -
@d-healey ahh Thanks!