MIDI to text convertor

Name

midiprint - MIDI to text convertor

Synopsis

midiprint FILE

Description

Prints the events in the MIDI file, FILE.

Remarks:
Implemented by midiprint.cpp.

Example

$ ./midiprint ../testdb/queries/axelf.mid
mthd
  version 1 // One or more simultaneous tracks
  // 2 tracks
  unit 192 // is 1/4
end mthd

mtrk
       0 [meta] // Time signature (4 bytes)
       0 [meta] // Key signature (2 bytes)
       0 [meta] // Set tempo, in microseconds per MIDI quarter-note (3 bytes)
       0 [meta] // Marker 'Axel F - Faltermeyer            '
       0 [meta] // End of track
end mtrk

mtrk
       0 [meta] // Port number (1 bytes)
       0 ch0 n66 v127
      96 ch0 n66 off
     192 ch0 n69 v127
     336 ch0 n69 off
         ch0 n66 v127
     432 ch0 n66 off
         ch0 n66 v127
     480 ch0 n66 off
         ch0 n71 v127
     576 ch0 n71 off
         ch0 n66 v127
     672 ch0 n66 off
         ch0 n64 v127
     768 ch0 n64 off
         ch0 n66 v127
     864 ch0 n66 off
     960 ch0 n73 v127
    1104 ch0 n73 off
         ch0 n66 v127
    1200 ch0 n66 off
         ch0 n66 v127
    1248 ch0 n66 off
         ch0 n74 v127
    1344 ch0 n74 off
         ch0 n73 v127
    1440 ch0 n73 off
         ch0 n69 v127
    1536 ch0 n69 off
         ch0 n66 v127
    1632 ch0 n66 off
         ch0 n73 v127
    1728 ch0 n73 off
         ch0 n78 v127
    1824 ch0 n78 off
         ch0 n66 v127
    1872 ch0 n66 off
         ch0 n64 v127
    1968 ch0 n64 off
         ch0 n64 v127
    2016 ch0 n64 off
         ch0 n61 v127
    2112 ch0 n61 off
         ch0 n68 v127
    2208 ch0 n68 off
    2496 ch0 n66 off
         [meta] // End of track
end mtrk

Copyright ©1996-2006 Steven Blackburn - About MaART - MaART on SourceForge