Display Waveform in AudioWaveform at all times... (without using an index)
-
I'm trying to come up with a solution to the issue of the AudioWaveform floating tile being blank when you launch your sample instrument. My current thinking is to have two floating tiles, one which is displayed when you open your instrument for the first time and is set to a specific index, and therefore displays a waveform, and a second one set to index -1 which displays when a note is triggered (and the first is then hidden).
What's the best way to detect a NoteOn message and trigger a callback?
Trying MessageHandler.isNoteOn but probably doing it wrong!
-
@DanH The on note on callback is triggered when a note on is received.
-
@d-healey Ah I had it in a midi script processor - doh!
Thanks!