def n_text_sysex(self): """ Number of MIDI text/sysex events in take (0 for audio takes). :type: int """ return RPR.MIDI_CountEvts(self.id, 0, 0, 0)[4]
def n_midi_events(self): """ Number of MIDI events in take. :type: int """ return RPR.MIDI_CountEvts(self.id, 1, 1, 1)[0]
def n_notes(self): """ Number of MIDI notes in take (always 0 for audio takes). :type: int """ return RPR.MIDI_CountEvts(self.id, 0, 0, 0)[2]
def n_cc(self): """ Number of MIDI CC events in take (always 0 for audio takes). :type: int """ return RPR.MIDI_CountEvts(self.id, 0, 0, 0)[3]