I am using this "renoise.song().transport:panic()" to stop any sound before firing new notes:
I am using OSC Server for sound and live recording, in a tool with a virtual piano and a chordpad. The doubt that I have is if I am correctly using the transport:panic(). The objective is to avoid that the chords (or any note), continue to sound when you press several chords (or several notes), not superimpose different chords, because even when playing, I change octaves constantly. Released, it is responsible for stopping any chord, but it is possible to change chords without releasing the button, and that is an overlap problem...
I have done tests with the code and it seems to work well (surprisingly), both in the live recording (play song) and by entering the values in the pattern editor with the sound. Without using panic, the chords can overlap (sound, even writing in other contiguous columns ...).
I was afraid that transport:panic() stop all sounds from all tracks, but it's not like that. Can anyone explain to me how transport:panic() works exactly?
The tool referred to is this (left window):
Edited by Raul (ulneiz), 03 September 2017 - 15:35.