Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

abc2abc(1) [debian man page]

ABC2ABC(1)						      General Commands Manual							ABC2ABC(1)

NAME
abc2abc - a simple abc checker/re-formatter/transposer SYNOPSIS
abc2abc file [ -s ] [ -n ] [ -b ] [ -r ] [ -e ] [ -t semitones ] [ -nda ] [ -u ] [ -d ] [ -v ] [ -v] [-nokeys] [ -nokeyf] [ -usekey(sharps/flats)] [ -OCC ] DESCRIPTION
abc2abc is a simple abc checker/re-formatter/transposer. It will check whether the file given on the command line obeys basic abc syntax. If you want to check an abc tune, it is recommended that you use abc2midi with the -c option. This performs extra checks that abc2abc does not do. The output of abc2abc goes to standard output. Use redirection to save it to a file. OPTIONS
-s Rework spacing in the file (which affects how notes are beamed together when the music is printed out). This option does not appear to be working correctly. -n X Reformats the abc file with line breaks every X bars. -b Don't do bar checking. -r Don't do repeat checking. -e Don't report errors. -t n Transpose tune by n semitones. This function will also work with K: none or one of -nokeys or -nokeyf. If a voice is assigned to channel 10 (drum channel) using a %%MIDI channel 10 command, then this voice is never transposed. -nda Convert double accidentals in guitar chord to another chord though strictly not correct. -u Update notation; the older notation + + for chords is replaced by [] and s s for slurs is replaced by (). -OCC Accept the old notation for chord. Normally this is turned off, since it conflicts with abc draft standard version 2.0 for decora- tions (eg. +crescendo(+). -d Re-notate the tune with all note lengths doubled. The unit length specified by the L: field command is halved (e.g. L:1/8 to L:1/16). -v Re-notate the tune with all note lengths halved. The unit length specified by the L: field command is doubled (e.g. L:1/8 to L:1/4). -ver Prints version number and exits. -V X For multivoiced abc files (i.e. contains V: field commands), only voice X is copied. -X n For a file containing many tunes, the X: reference numbers are renumbered sequentially starting from number n. -nokeys No key signature will be assumed. Instead, sharps and naturals will be placed wherever they are needed. -nokeyf No key signature will be assumed. Instead, flats and naturals will be placed wherever they are needed. -usekey sf This will force abc2abc to output the notes in the key signature keys[sf] where sf specifies the number of flats (-negative) or sharps (+positive) in the key signature. It is a number between -5 and +5 inclusive. * Normally abc2abc will convert the deprecated notation for decorations (eg. !ppp!) to the abc version 2.0 draft standard (eg. +ppp+). If you do not wish to change to this standard include the -OCC flag. SEE ALSO
abcmtex(1), abc2midi(1), midi2abc(1), mftext(1) AUTHOR
This manual page was written by Anselm Lingnau <lingnau@tm.informatik.uni-frankfurt.de> and is now supported by Seymour Shlien <sey- mour.shlien@crc.ca> for the GNU/Linux system. VERSION
This man page describes abc2abc version 1.44 from August 13 2005. 14 August 2005 ABC2ABC(1)

Check Out this Related Man Page

MIDICOPY(1)						      General Commands Manual						       MIDICOPY(1)

NAME
midicopy - Copy selected track, channel, time interval of a MIDI file to another MIDI file SYNOPSIS
midicopy [-ver] [-trks n1,n2,..] [-chans n1,n2,...] [-from n (in midi ticks)] [-to n (in midi ticks)] [-fromsec %f n (in seconds)] [-tosec n (in seconds)] [-frombeat %f n (in beats)] [-tosec n (in beats)] [-replace trk,loc,val] input.mid output.mid DESCRIPTION
midicopy is used to copy part of a MIDI file to another MIDI file. You can select a particular time interval, particular channels, and par- ticular tracks or any combinations. If one or both of the run time parameters -from or -to are included, the program returns the playing time in seconds of the output file. Midicopy was developed by Seymour Shlien from the midifilelib distribution available from http://www.harmony-central.com/MIDI/midifilelib.tar.gz. OPTIONS
-ver prints version number and then exits -trks n Selects the tracks to be copied where the track numbers start from 1. If more than one track is specified, they should be separated by commas. You should always copy track 1 since by convention it contains information pertinent to all the other tracks. By default all tracks are copied unless you specify particular tracks using this run time parameter. -chns n Like above, it specifies the MIDI channels to be copied. By default all channels are copied. Channel numbers also start from 1. -from n The program will copy all MIDI commands starting from midi pulse number n. By default it will start from time zero or the beginning of the MIDI file. -to n Stops copying all events after midi pulse number n. By default the file is copied to the end. -frombeat n The program will copy all MIDI commands starting from quarter beat number n. By default it will start from time zero or the begin- ning of the MIDI file. -tobeat n Stops copying all events after quarter beat number n. By default the file is copied to the end. -fromsec n The program will copy all MIDI commands starting from time n in seconds. -tosec n Stops copying all events after time n in seconds. These two options (-fromsec and -tosec) do not work accurately if the MIDI file has more than one tempo command. Only the first one is used for converting seconds into MIDI pulse units. It is therefore prefer- able to use the -from and -to options. -replace trk,loc,val This option should be used alone. Midicopy will copy the entire file verbatim except it will replace a byte by val, where the byte is located in the specified track (trk) and specified position (loc). Commonly this function is used for changing a particular MIDI program number (instrument) associated with a channel. You need to know the byte count in the track of that parameter in order to use this function, EXAMPLE
midicopy.exe -trks 1,5 -from 2669 -to 8634 uzicko.mid fragment.mid Midicopy will copy tracks 1 and 5 starting from midi pulse position 2669 and ending at MIDI pulse position 8634. SEE ALSO
abcmtex(1), abc2abc(1), abc2midi(1), midi2abc(1) ,yaps(1) AUTHOR
This manual page was written by Seymour Shlien. VERSION
This man page describes midicopy version 1.04 from September 19 2005. MIDICOPY(1)
Man Page