I have been using the line_notifier to detect any changes in the pattern. But, is there any quicker way or function to detect only the pattern change only for the notes?It seems that line_notifier seems somewhat “aggressive”.
renoise.song().patterns:has_line_notifier(func[, obj]) -> [boolean] renoise.song().patterns:add_line_notifier(func[, obj]) renoise.song().patterns:remove_line_notifier(func[, obj])
That is, insert, change or delete a note, including the note-off, that returns a notification. It does not need to work with the other parameters, nor with the effect parameters, only with the values of notes (range of note_value: 0 - 121).
- Step one: select and copy several lines of a track with notes. Here the function should not trigger a notification.
- Step two: paste. Here the function should trigger a notification.
- Insert a note (C-0 to B-9)
- Insert a note-off
- clear a note…
This notifier should be instantaneous. It should not take longer if several notes are inserted at the same time, for example. Can this be done?
This could have a name: note_notifier