OnWorks favicon

chordii - Online in the Cloud

Run chordii in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command chordii that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



chordii - Produce a professional looking PostScript sheet-music from an ascii file
containing lyrics and chords information.


chordii [ option ...] [ filename... ]


chordii produces a postscript document from a lyrics file containing chord indications and
chorus delimiters. The document produced contains the lyrics of a song, with the guitar
chords appearing above the right words. A representation of all chords used in the song is
printed at the bottom of the last page.

Extensive documentation can be found in the Chordii User Guide, available from the
download page http://sourceforge.net/project/chordii.


-A Will print the "About CHORDII..." message.

-a Automatically single spaces lines that have no chords.

-c chord_font_size
Sets the size, in points, of the font used to display chords to the specified
integer value.

-C Chord_font
Sets the font used to print chords to the specified name. That name must be known
to your PostScript Interpreter.

-d Generates a text chord chart of all internally known chords as well as chords
defined in the $HOME/.chordrc file. Chords defined in the .chordrc file are
identified with the "(local)" caption. The printout is suitable for input to the
.chordrc file.

-D Generates a PostScript chord chart of all internally known chords as well as
chords defined in the $HOME/.chordrc file. Chords defined in the .chordrc file are
identified with a small asterisk after the chord grid.

-G Disable printing of the chord grids for the whole input file(s). The effect can be
disable for any particular song by the usage of the grid or g directive.

-g Disable printing of grids for "easy" chords. Whether a builtin chord is easy or
not has been arbitrarily decided by the authors. The general rule was that any
chord in its major, minor, 7th or minor 7th was "easy" while everything else
(maj7, aug, dim, sus, etc...) was "difficult". All chords defined in the
$HOME/.chordrc file or in the input file are defined as "difficult".

-h Prints a short options summary.

-i Generates a table of contents with the song titles and page numbers. It implies
page numbering through the document. Index pages are not numbered.

-l Prints only the lyrics of the song.

-L Places the odd and even page numbers in the lower right and left corners
respectively (for two-sided output). The default is all page numbers on the

-o filename
Sends PostScript output to filename

-p first_page
Numbers the pages consecutively starting with first_page (e.g. 1). Without this
option, each song restarts the page numbering at 1, and page numbers are only put
on subsequent pages of multiple page songs.

-P paper_size
Specifies the paper size, either "us" or "a4".

-s grid_size
Sets the size of the chord grids.

-t text_font size
Sets the size, in points, of the font used to display the lyrics to the specified
integer value. The title line is displayed using that point size + 5. The sub-
tiltle is displayed using that point size -2. The tablature is displayed using
this point-size -2.

-T Text_font
Sets the font used to print text to the specified name. That name must be known to
your PostScript Interpreter.

-V Prints version and patch level.

-x half-tones
Sets up transposition to that number of half-tones. Can not be zero. All chord
names must be build in the following way in order to be recognized:

{note-name}[#|b][^/]* [ '/' {note-name}[#|b][^/]* ]

That is, a valid note name, possibly followed by '#' or 'b', followed by other
modifier ('7', 'm', etc...). Many such construct can make up a chord name, as long
as they are separated by '/'.

{note-name} must appear in the list 'A','B','C','D','E','F','G'.

-2 Prints two logical pages per physical page.

-4 Prints four logical pages per physical page.


A line starting with a '#' is interpreted as a comment, and generates no output.
(although all your comments are automatically mailed to the authors, and we read them at

Directives that appear between french brackets ('{' and '}') have a special meaning. They
must be alone on a line. Blanks before the opening bracket and after the closing bracket
are not significant.

Blanks inside a directive are not significant (except inside one of the comments

Supported directives are:

titles: type
Selects the placement of the titles. Currently supported are left and center

start_of_chorus or soc
which indicates the start of a chorus (yep). The complete chorus will be
highlighted by a change bar, to be easily located by the player.

end_of_chorus or eoc
marks the end of the chorus

comment: or c:
will call the printing of the rest of the line, highlighted by a grey box (Useful
to call a chorus, for example)

comment_italic: or ci:
will print the comment in an italic font ... well not really. It will print the
comment in the font used for printing the CHORD names (which is normally italic
unless you specified a different chord_font).

comment_box: or cb:
will print the comment inside a bounding box.

new_song or ns
marks the beginning of a new song. It enables you to put multiple songs in one
file. It is not required at the beginning of the file.

title: or t:
specifies the title of the song. It will appear centered at the top of the first
page, and at the bottom of every other page, accompanied there by the page number,
within the current song.

subtitle: or st:
specifies a string to be printed right below the title. Many subtitles can be

define: name base-fret offset frets str1...str6
defines a new chord called "name". The keyword "base-fret" indicates that the
number that follows ("offset") is the first fret that is to be displayed when
representing the way this chord is played.

The keyword "frets" then appears and is followed by 6 values. These values are
the fret number [ 1 to n ] for each string [str1 to str6] and are RELATIVE to the
offset. A value of "-", "X" or "x" indicates a string that is not played.

Keywords base-fret and frets are mandatory.

A value of 0 for a given string means it is to be played open, and will be marked
by a small open circle above the string in the grid. The strings are numbered in
ascending order of tonality, starting on the low E (the top string). On output, a
chord defined in the user's .chordrc file will have a small asterisk near its
grid, a chord defined in a song will have two small asterixes.

At the beginning of every song, the default chords are re-loaded and the user's
.chordrc file is re-read. Chord definition of new chords inside the text of a song
are only valid for that song.

The syntax of a {define} directive has been modified in version 3.5. CHORDII will
attempt to recognize an old-formar {define} and will accept it. It will, though,
print a warning inviting you to modify your input file to use the new syntax (the
exact {define} entry to use is provided as an example).

pagetype: type
Selects the page type. Currently supported page types are a4 and letter.
This directive may only occur in the .chordrc.

textfont: postscript_font
same as -T command option

textsize: n
same as -t command option

chordfont: postscript_font
same as -C command option

chordsize: n
same as -c command option

no_grid or ng
will disable printing of the chord grids for the current song.

grid or g
will enable the printing of the chord grids for the current song (subject to the
limitation caused by the usage of the -g option). This directive will overide the
runtime -G option for the current song.

new_page or np
will force a logical page break (which will obviously turn out to be a physical
page break if you are not in either 2-up or 4-up mode.

new_physical_page or npp
will force a physical page break (in any mode).

start_of_tab or sot
will cause chord to use a monospace (ie: non-proportional) font for the printing
of text. This can be used to enter 'tab' information where character positioning
is crucial. The Courier font is used with a smaller point-size than the rest of
the text.

end_of_tab or eot
will stop using monospace font. The effect is implicit at the end of a song.

columns: n or col: n
specifies the number of columns on the pages of the current song.

column_break or colb
forces a column break. The next line of the song will appear in the next available
column, at the same height as the last "columns" statement if still on the same
page, or at the top of the page otherwise.

Use chordii online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    XyZerKunG ServerTool
    XyZerKunG ServerTool
    XyZerKunG ServerTool helps you to make
    your own Minecraft server and play with
    your friend for a few minutes.
    Features:Automatically create a
    Minecraft serverU...
    Download XyZerKunG ServerTool
  • 2
    Java source intended to serve as a
    nexus for teaching both mathematics and
    software solutions for computation on
    iterative equations. Public interfaces
    allow a...
    Download CalcTools
  • 3
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Download Rocket.Chat Desktop Client
  • 4
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 5
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 6
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • More »

Linux commands