midi_to_emission_stream(segmidi,
metric=True,
remove_empty=True,
unique_notes=False)
| source code
|
Get a list of emissions from the midi stream's note on events.
Returns a 2-tuple of the list of emissions and their corresponding
start times in midi ticks.
- Parameters:
segmidi (jazzparser.data.input.SegmentedMidiInput) - midi input
metric (bool) - include a metrical model. Each observation has a metrical value
associated with it. If this is False, the value will always be 0
remove_empty (bool) - remove any chunks that have no observations in them (default
True)
|