abcMIDI : abc <-> MIDI conversion utilities midi2abc version 2.0.5 abc2midi version 1.6.8 abc2abc version 1.6.4 16th October 1998 James Allwright J.R.Allwright@westminster.ac.uk University of Westminster, London, UK These programs may be freely redistributed. They are based on the 'midifilelib' public domain MIDI file utilities, available from http://www.harmony-central.com/MIDI/midifilelib.tar.gz This package is to be found on the web at http://perun.hscs.wmin.ac.uk/~jra/abcMIDI/ --------------------------------------------------------------------- midi2abc - program to convert MIDI format files to abc notation. This program takes a MIDI format file and converts it to something as close as possible to abc text format. The user then has to add text fields not present in the MIDI header and possibly tidy up the abc note output. Features : * The key is chosen so as to minimize the number of accidentals. Alternatively, the user can specify the key numerically (a positive number is the number of sharps, a negative number is minus the number of flats). * Note length can be set by specifiying the total number of bars or the tempo of the piece. Alternatively the note length can be read from the file. However, by default it is deduced in a heuristic manner from the inter-note distances. This means that you do not have to use the MIDI clock as a metronome when playing in a tune from a keyboard. * Barlines are automatically inserted. The user specifies the number of measures in the anacrusis before the first barline and the time signature. * The program can guess how many beats there should be in the anacrusis, either by looking for the first strong note or minimizing the number of notes split by a tie across a barline. * Where a note extends beyond a bar break, it is split into two tied notes. * The output has 4 bars per line. * Enough accidental signs are put in the music to ensure that no pitch errors occur if a barline is added or deleted. * The program attempts to group notes sensibly in each bar. * Triplets and broken rhythm (a>b) are supported. * Chords are identified. * Text information from the original MIDI file is included as comments. * The -c option can be used to select only 1 MIDI channel. Events on other channels are ignored. What midi2abc does not do : * Supply tune title, composer or any other field apart from X: , K:, Q:, M: and L: - these must be added by hand afterwards, though they may have been included in the text of the MIDI file. * Support duplets, quadruplets, other esoteric features. * Support mid-tune key or meter changes. * Deduce repeats. The output is just the notes in the input file. * Recover an abc tune as supplied to abc2midi. However, if you want to do this, "midi2abc -xm -xl -xa -f file.mid" comes close. midi2abc version 2.0 usage : midi2abc -a -xa extract anacrusis from file (find first strong note) -ga guess anacrusis (minimize ties across bars) -m