| Trees | Indices | Help |
|
|---|
|
|
object --+
|
SequenceMidiAlignment
Specification of parameters to align a chord sequence with a MIDI file. This includes things like where repeats should occur in the chord sequence and how many beats to each MIDI beat, so that the chords end up at the right place in the music.
Aligns a ChordSequence with a midi.EventStream.
|
|||
|
|||
| midi.EventStream |
|
||
|
Inherited from |
|||
|
|||
|
midi_beats_per_beat Number of beats in the MIDI file to align with each chord sequence beat. |
|||
|
sequence_start Number of MIDI ticks between the first note-on event in the MIDI file and where the chord sequence starts. |
|||
|
repeat_spans Definitions of repeats. |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Aligns the sequence with the midi file and adds lyric events into the midi data to indicate where the chords occur. This ought to function like a karaoke midi file, showing the chords as the occur. Note that this modifies the midi sequence in place.
|
|
|||
midi_beats_per_beatNumber of beats in the MIDI file to align with each chord sequence beat. Use negative numbers (<-1) to specify reciprocals (i.e. -4 -> 1/4). |
repeat_spansDefinitions of repeats. Given as (start,end,count). The first count times the endth chord is finished, the sequence will return to the startth chord. Repeats with the same end point will be used in the order they occur in this list. Note: Counts for inner repeats will not be reset in the outer loop of nested spans. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:56 2012 | http://epydoc.sourceforge.net |