|
|
1.1 ! root 1: This directory contains two example programs to read and write data ! 2: between the MIDI driver and standard Level 0 midifile. The Midifile ! 3: format is specified by the MIDI Manufacturer's Association, and is a ! 4: machine independant format allowing the interchange of MIDI (Musical ! 5: Instrument Digital Interface) sequence data. ! 6: ! 7: The program playmidifile reads a standard Level 0 midifile and plays ! 8: it out through the MIDI driver. This program illustrates both how to ! 9: parse a midifile and how to use the MIDI driver in a simple ! 10: application. The playback may optionally be synchronized to incoming ! 11: MIDI time code. ! 12: ! 13: The program recordmidifile read MIDI data from the MIDI driver and ! 14: writes directly to a file in the standard Level 0 midifile format. ! 15: This simple commandline utility records MIDI data until control-c is ! 16: typed, which then causes the collected data to be written to a file. ! 17: The times may be derived from the system clock or from incoming MIDI ! 18: time code. ! 19: ! 20: For both utilities, the user must supply a file name argument, and can ! 21: give an argument to specify which serial port to accept data on. He ! 22: can also specify a serial port to accept MIDI time code from. ! 23: ! 24: There are a couple of test midifiles supplied to serve as simple ! 25: examples; they of course require a MIDI synthesizer to play them on. ! 26: See the MIDI driver documentation for further information about the ! 27: MIDI driver and about MIDI interfaces that works with the NeXT serial ! 28: ports. ! 29: ! 30:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.