Sampler playhead reset on noteOff
-
Hello everyone,
I have a sampler and an AudioWaveform connected to it (atm I'm testing a sample map made of one sample only).
I want the sample playhead to reset to 0 when I release it.function onNoteOff()
{
AudioWaveform1.setPlaybackPosition(0.0);
}This has no effect, but I can see in the SampleEditor that the playhead remains in the last position before I lift my key, so I guess I need to set it at the Sampler level.
Any pointers?