Module Duplex.Applications.Mlrx.Mlrx_note
Mlrx_note - logical note-objects in mlrx
Functions
on_ignore_list (line_idx) | check the ignore list |
Fields
self.index | (int) the most recently pressed trigger (1 - #Mlrxtrack.num_triggers) |
self.startpos | (Mlrx_pos) quantized & normalized |
self.time_pressed | (float) exact time when button was pressed |
self.time_quant | (float) same as above, but quantized |
self.repeatpos | (Mlrx_pos) when another note should be written |
self.endpos | (Mlrxpos) scheduled note-off (only for TRIGWRITE/TRIG_SHOT) |
self.ignore_lines | (table) list of song positions that should be ignored when clearing (contains repeated notes within the writeahead range) |
self.travelled | (int) how many lines the note has travelled since last output |
self.total_notes_written | (int) counts how many notes have been written since first pressed |
self.written | (Mlrx_pos) last written position (or nil if not written) |
self.active | (bool) true once note has been written, and playback has passed it |
self.offed | (Mlrx_pos) position where note-off were written, or nil |
Functions
Fields
- self.index
- (int) the most recently pressed trigger (1 - #Mlrxtrack.num_triggers)
- self.startpos
- (Mlrx_pos) quantized & normalized
- self.time_pressed
- (float) exact time when button was pressed
- self.time_quant
- (float) same as above, but quantized
- self.repeatpos
- (Mlrx_pos) when another note should be written
- self.endpos
- (Mlrxpos) scheduled note-off (only for TRIGWRITE/TRIG_SHOT)
- self.ignore_lines
- (table) list of song positions that should be ignored when clearing (contains repeated notes within the writeahead range)
- self.travelled
- (int) how many lines the note has travelled since last output
- self.total_notes_written
- (int) counts how many notes have been written since first pressed
- self.written
- (Mlrx_pos) last written position (or nil if not written)
- self.active
- (bool) true once note has been written, and playback has passed it
- self.offed
- (Mlrx_pos) position where note-off were written, or nil