Hi all,
I'm updating a couple of instruments of mine with a feature to add some noise back into the sound. For this I created a slider that controls the volume of the noise group, and I also wanted the slider alone to trigger the sound instead of also having a button.
This is what I came up with, which works perfectly well 'in practice':
on ui_control ($noise_slider)
set_engine_par($ENGINE_PAR_VOLUME, $noise_slider, 69, -1, -1)
if ($noise_slider = 1)
play_note(120,127,0,0)
end if
end on
However, by bouncing anything that has been recorded with the noise active, the noise won't be present in the recording.
My thinking is that there could be a way of play_note actually 'printing' a constant midi note, but I am unsure if that is even a thing.
How would I get around this and have the noise sound be present when bouncing?
Thank you very much for any insight.