Sequence class¶
-
class
Sequence¶ Child class of
NoteList, uses same constructor. Is hashable. ContainsNoteobjects, as well as functions to analyze chords. Accepts either a single iterableNotes, or a bunch ofNotes. Typically constructed using the inherited functionsNoteList.from_ascii()orNoteList.from_midi_list(). While similar toNoteList,Sequencecan be used withMIDIEventLoop.Raises: ValueError – When more than maxlenobjects are passed for construction.-
maxlen¶
Default is 16. Maximum length to use when comparing to a
deque. Also what is used for theMIDIEventLoop.recent_notesdequemax length.-