|
|
|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| The action writeMidiFile stores the datatype MidiFile in a MIDI-File.
It consists of a field for the Ticks per quarter and a MidiTrack (or some).
The function runMidiMusic produces such a track from a MidiMusic, which can
be created using the functions noteMidiMusic, restMidiMusic, appendMidiMusic and
mergeMidiMusic.
MidiNote is used to create note or controller events; it consists of the Midi-Channel
(Chan) and two fields with a MidiValue.
|
|
| MidiFile
|
|
|
| Constructors | | MidiSync Ticks [MidiTrack] | Some parallel (synchronous) MidiTracks.
| | MidiSingle Ticks MidiTrack | A single MidiTrack. (Seems not to work yet)
| | MidiAsync Ticks [MidiTrack] | Some asynchronous MidiTracks. (Seems not to work yet)
|
|
|
|
|
| Writes a MidiFile to a File.
|
|
|
| Ticks per Quarter. For some unknown reasons it does not work with any value.
96 seems to be ok.
|
|
| MidiNote
|
|
|
|
|
|
| A Midi-Channel (0-15)
|
|
|
| A Midi-Value (0-127)
|
|
| MidiMusic
|
|
|
| A kind of extended MidiTrack type, that allows delta-times without events
(will be summed up by converting to MidiTrack).
|
|
|
| Creates a note or controller event with given length (relative to Ticks).
The length means the delta-time between note-on and note-off resp. the time after
the controller event.
|
|
|
| A pause with given length.
|
|
|
| Sequencial composition of MidiMusic.
|
|
|
| Parallel composition of MidiMusic.
|
|
|
| Converts a MidiMusic to a MidiTrack.
|
|
| MidiTrack
|
|
|
| A sequence of MidiEvents with a delta-time which means the number of ticks
before the event happens (relative to the last event).
|
|
|
|
| MidiEvent
|
|
|
|
|
| Encoding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Produced by Haddock version 2.4.2 |