Module Duplex.Supporting.NoodleTrap
About
NoodleTrap records notes as you play them, bypassing the recording process in Renoise.
Instead, your recordings ("noodlings") are stored into the instrument itself, using various criteria.
Functions
select_target_instrument (instr_idx) | |
input_note (note, velocity) | Manually feed MIDI notes into this instance |
register_callback (evt, obj, func) | For keeping other applications or the user interface up to date, you can register any of the callback methods here |
Fields
self._instr_idx | (int) instrument context |
self._track_idx | (int) track context |
self._midi_in | (renoise.Midi.MidiInputDevice) |
self._note_events | (table) list of note events, order of arrival |
Functions
- select_target_instrument (instr_idx)
-
Parameters:
- instr_idx (int) the target instrument
Returns:
-
true when set
- input_note (note, velocity)
-
Manually feed MIDI notes into this instance
Parameters:
- note (int) value between 0-120
- velocity (int) value between 0-127
- register_callback (evt, obj, func)
-
For keeping other applications or the user interface up to date,
you can register any of the callback methods here
Parameters:
- evt (string) one of the callback events, e.g. "note_received"
- obj (object) the object (or context) of the function
- func (function) the function that our callback should invoke