Enable Specific Sampler for Synth.playNote()
-
I'm working on a project with many samples. This has led me to place multiple samples on the same keys, but in different samplers. I'm ignoring the original event and creating a new one using
Synth.playNote(). How can I make it so that only a specified sampler is triggered by this event?In addition to this, can I adjust the gain of this note using the returned event ID of
Synth.playNote()? -
@obolig Put the script that plays the note within the sampler's MIDI processor chain, then it will only affect that sampler.
You can use Synth.addVolumeFade to control the gain.