Converts MIDI into melodic contours.

Name

printcons - Converts MIDI into melodic contours.

Synopsis

printcons FILE [MAPPING]

Description

This program converts midi into melodic contours. Contours are printed on the standard output. Redirect as required.

Mappings allowed are those understood by the midi_make_contour_map function. The default mapping is 'dowling'.

The contour for each track is output to the standard output. Note that the first track in type-1 files often contains no notes, only meta-data, and so will usually be blank.

Remarks:
Implemented by printcons.cpp.

Example

$ ./printcons ../testdb/queries/axelf.mid

udrudduudruddduuddrdud

Another example, this time using the 'extended' contour mapping:

$ ./printcons ../testdb/queries/axelf.mid extended

udrUDduUDrUdDdUUDdrdUd

Finally, an example using the new 'alphabet' contour mapping:

$ ./printcons.exe ../testdb/queries/axelf.mid alphabet

Cc-EebBGg-HadcGElb-cGb

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