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 every X bars πŸŽ€
  • -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 by n semitones 🎢 This also works with K: none or with -nokeys or -nokeyf. If a voice is assigned to channel 10 (the drum channel) using a %%MIDI channel 10 command, 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 [], and s s for 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 the L: field command gets halved (e.g. L:1/8 to L:1/16) πŸ’œ
  • -v β€” Re-notates the tune with all note lengths halved. The unit length set by the L: field command gets doubled (e.g. L:1/8 to L:1/4) 🧚
  • -ver β€” Prints the version number and exits πŸ”’
  • -V X[,Y...] β€” For multivoiced abc files (the ones with V: field commands), only voices X[,Y,...] get copied 🎀
  • -P X,[,Y...] β€” For multivoiced abc files (the ones with V: field commands), every voice except X[,Y...] stays exactly the same. Voices X,Y... get modified according to the other runtime parameters 🎭
  • -X n β€” For a file with a bunch of tunes, the X: reference numbers get renumbered sequentially, starting from number n πŸ”’
  • -xref n β€” Only the tune with X: n gets 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 β€” Forces abc2abc to output the notes in the key signature keys[sf], where sf is the number of flats (-negative) or sharps (+positive) in the key signature. It has to be a number between -5 and +5 inclusive πŸ”‘
  • -useclef β€” Works only with -t (transpose), and only if the abc file does not already have a clef command in the K: 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 🌈

πŸ’œ 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! πŸ’–