NiCMidi 1.1.0
A MIDI library derived from J.D.Koftinoff jdksmidi
|
The library has a class MIDIRecorder which can record MIDI events incoming from a MIDI in port.
The recorder has no playing ability so you must use it together with a sequencer. Its constructor
binds the sequencer with the recorder: you must use the sequencer methods for playing or moving from a time to another. In particular the MIDISequencer::Start() method only starts the playback, while the MIDIRecorder::Start() starts playback and recording. These are the main MIDIRecorder class features:
When you add ot remove tracks to the sequencer you must be careful to call the corresponding recorder method to keep the sequencer and recorder tracks syncronized. See the note to the MIDIRecorder::InsertTrack() method.
You can see an example of the use of the MIDIRecorder class in the file test_recorder.cpp.