Reliable way to refresh waveform when changing sample map



  • Hey guys,

    The way I'm updating my waveforms connected to samplers is a bit hacky at the moment, but I can't seem to find a reliable way to refresh the waveform when a sampler has changed its sample map.

    Right now I'm just setting the sampleIndex to a super high number like 10000 and then back to 0 after so many milliseconds in order to display the first sample in the sample map. I don't want to set the sample index to -1 which switches the waveform on each note press , as this is not the behavior I'm looking for. The method I'm using works like 95% of the time, but occasionally it won't update the visual waveform. Any ideas? Thanks!



  • Actually the waveform should update itself without any hacks required. I've just pushed a quick fix, please check whether it works.



  • @Christoph-Hart Awesome, will check now!



  • Yup, this seems to be working thanks!


Log in to reply
 

7
Online

954
Users

3.4k
Topics

28.7k
Posts