ABC2ABC(1)
π ABC2ABC(1) π
General Commands Manual, bestie, it's giving reference page π
β¨ NAME β¨
abc2abc - a simple abc checker/re-formatter/transposer π
πΈ SYNOPSIS πΈ
abc2abc file [ -s ] [ -n ] [ -b ] [ -r ] [ -e ] [ -t semitones ] [ -nda ] [ -u ] [ -d ] [ -v ] [ -Vvoice number] [-Pvoice number] [-nokeys] [ -nokeyf] [ -usekey(sharps/flats)] [-useclef(treble/clef)] [ -OCC ]
π¦ DESCRIPTION π¦
Okay so abc2abc is a simple abc checker/re-formatter/transposer π
It'll check whether the file you hand it on the command line obeys basic abc syntax.
If you want to properly check an abc tune, the move is to use abc2midi with the -c option π«Ά It runs extra checks that abc2abc just doesn't do, so lowkey go with that one.
The output of abc2abc goes to standard output. Use redirection to save it to a file πΎ
π OPTIONS π
-sβ Reworks the spacing in the file, which changes how notes get beamed together when the music is printed out β¨
β οΈ Bestie, this one is not vibing right now. It does not appear to be working correctly π
-n Xβ Reformats the abc file with line breaks everyXbars π-bβ Skips bar checking π-rβ Skips repeat checking π-eβ Don't report errors, main character energy but make it quiet π€«-t nβ Transposes the tune bynsemitones πΆ This also works withK: noneor with-nokeysor-nokeyf. If a voice is assigned to channel 10 (the drum channel) using a%%MIDI channel 10command, that voice is never transposed, because drums don't need to be iconic in a different key π₯-ndaβ Converts double accidentals in a guitar chord into another chord. Ngl, this is not strictly correct, but it gets the job done π-uβ Updates the notation. The older+ +for chords gets swapped to[], ands sfor slurs gets swapped to()π-OCCβ Accepts the old notation for chords. This is normally turned off because it clashes with the abc draft standard version 2.0 for decorations (eg.+crescendo(+). Keep it off unless you need the old vibe π-dβ Re-notates the tune with all note lengths doubled. The unit length set by theL:field command gets halved (e.g.L:1/8toL:1/16) π-vβ Re-notates the tune with all note lengths halved. The unit length set by theL:field command gets doubled (e.g.L:1/8toL:1/4) π§-verβ Prints the version number and exits π’-V X[,Y...]β For multivoiced abc files (the ones withV:field commands), only voicesX[,Y,...]get copied π€-P X,[,Y...]β For multivoiced abc files (the ones withV:field commands), every voice exceptX[,Y...]stays exactly the same. VoicesX,Y...get modified according to the other runtime parameters π-X nβ For a file with a bunch of tunes, theX:reference numbers get renumbered sequentially, starting from numbernπ’-xref nβ Only the tune withX: ngets processed. Solo queen behavior π-nokeysβ No key signature gets assumed. Instead, sharps and naturals get placed wherever they're needed β¨-nokeyfβ No key signature gets assumed. Instead, flats and naturals get placed wherever they're needed π«§-usekey sfβ Forcesabc2abcto output the notes in the key signaturekeys[sf], wheresfis the number of flats (-negative) or sharps (+positive) in the key signature. It has to be a number between-5and+5inclusive π-useclefβ Works only with-t(transpose), and only if the abc file does not already have a clef command in theK:field. It does not support voices π«
β Heads up, babe: normally abc2abc converts the deprecated notation for decorations (eg. !ppp!) to the abc version 2.0 draft standard (eg. +ppp+). If you don't want that change, 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 <fy733@ncf.ca> for the GNU/Linux system π«Ά
π’ VERSION π’
This man page describes abc2abc version 2.04 from January 22 2020 β¨
Okay that's the tea, bestie π«Ά This page is ABC2ABC(1) and it was last updated 07 June 2011 π¦ Slay responsibly! π
π¦ where this page comes from
- arch rolling: abcmidi 2026_10_09-1 Β· GPL-2.0-or-later
- debian bookworm: abcmidi 20230208+ds1-1 Β· GPL-2.0-or-later
- debian trixie: abcmidi 20250216+ds-1 Β· GPL-2.0-or-later
- epel 9: abcMIDI 2020.06.29-7.el9 Β· GPLv2+
- fedora 43: abcMIDI 2025.02.16-3.fc43 Β· GPL-2.0-or-later
- fedora 43: abcMIDI 2026.06.16-1.fc43 Β· GPL-2.0-or-later
- fedora 44: abcMIDI 2025.02.16-5.fc44 Β· GPL-2.0-or-later
- fedora 44: abcMIDI 2026.06.16-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: abcmidi 2026.04.26
- nixpkgs unstable: abcmidi 2026.10.09
- ubuntu jammy: abcmidi 20220218+ds1-1 Β· GPL-2.0-or-later
- ubuntu noble: abcmidi 20240222+ds1-1 Β· GPL-2.0-or-later
- ubuntu questing: abcmidi 20250627+ds-1.1
- ubuntu resolute: abcmidi 20250627+ds-1.1build1 Β· GPL-2.0-or-later
- ubuntu stonking: abcmidi 20260609+ds-2 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms