pipes2ps typesets ABC music notation as PostScript or SVG sheet music, tuned for Great Highland Bagpipe and the traditional music played alongside it: Scottish, Irish and Manx tunes.
It is a maintained edition of Jean-François Moine's abcm2ps, with bagpipe rendering fixes, Piobaireachd Society-style markers, and planned support for basic chord notation for accompanying instruments. Full credit for the original program belongs to Moine; his work continues on his Fossil repository.
| Tool | Does |
|---|---|
| pipes2ps (this repo) | ABC → printable score (PostScript/SVG, then PDF) |
| bww-abc | Bagpipe Music Writer (.bww) ↔ ABC, both directions |
A guide to building whole tune books with LaTeX is planned as a third part.
./configure
make # builds ./pipes2ps
sudo make install # /usr/local/bin/pipes2ps, formats in /usr/local/share/pipes2pspipes2ps installs under its own name, so it can sit beside a distribution's
abcm2ps. Scripts that call abcm2ps can keep working with a link:
sudo make install-abcm2ps-link # /usr/local/bin/abcm2ps -> pipes2ps (replaces an existing one)make uninstall removes pipes2ps, and the link if it points to pipes2ps.
Install all required development libraries with a single command:
sudo apt install \
libpango1.0-dev \
libcairo2-dev \
libharfbuzz-dev \
libfreetype-dev \
libfontconfig1-devVersions confirmed working on Ubuntu 24.04.2 LTS:
| Package | Version |
|---|---|
libpango1.0-dev |
1.52.1 |
libcairo2-dev |
1.18.0 |
libharfbuzz-dev |
8.3.0 |
libfreetype-dev |
2.13.2 |
libfontconfig1-dev |
2.15.0 |
You also need a standard C build environment (gcc, make):
sudo apt install build-essentialThe package names are the same across Debian/Ubuntu releases. Pango 1.44 or later is required (this fork replaces the deprecated FreeType API used in the original upstream code).
The easiest path is Homebrew. If it isn't installed yet:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Then install the dependencies and build tools:
brew install gcc make pango cairo harfbuzz freetype fontconfig pkg-configBuild as normal:
./configure
makeApple Silicon note: Homebrew installs to /opt/homebrew on M-series Macs. The
configure script finds libraries via pkg-config, which Homebrew sets up automatically,
so no extra flags should be needed. If configure cannot find a library, ensure
/opt/homebrew/bin is on your PATH:
export PATH="/opt/homebrew/bin:$PATH"Add that line to your ~/.zshrc (zsh is the default shell on macOS) to make it permanent.
Intel Mac note: Homebrew installs to /usr/local, which is already on the default
PATH, so no extra steps are needed.
pipes2ps [options] file1 [file1_options] file2 [file2_options] ...
This writes a PostScript file (default name Out.ps); -E writes one EPS
file per tune, and -g writes SVG. Run pipes2ps -h for the options, or
man pipes2ps once installed.
pipes2ps reads the same ABC and format files as abcm2ps, including
%%abcm2ps pseudo-comments, and gives the same output. For ABC bagpipe
conventions (K:HP / K:Hp, gracenote syntax), see bww-abc's
ABC notation for bagpipes.
| Path | What |
|---|---|
piob/ |
Piobaireachd Society-style movement markers (piobaireachd.abh) and an example setting |
editors/ |
Sublime Text key bindings for typing bagpipe embellishments ({gef}e, {GdG}c …) |
CLAUDE.md |
Change log of this edition's fixes, with the reasoning behind each |
Bagpipe rendering fixes so far:
- Gracenote noteheads aligned with their stems, and drawn 20% smaller.
K:HP/K:Hpcombine withclef=none.- Upper mordent strokes widened so they survive EPS → PDF conversion.
- Pango text rendering moved to the HarfBuzz API (builds cleanly on current Ubuntu).
pipes2ps.rst: the manual page (all command-line options).- Format parameters and features: abcm2ps-doc. It describes abcm2ps, and everything there applies to pipes2ps.
This repository began as a fork of the archived GitHub mirror of abcm2ps and has since been established as an independent project. The full git history from the original repository is preserved, and upstream changes from Moine's Fossil repository through v8.14.18 (January 2026) have been merged.
The focus going forward is catching and correcting rendering issues specific to Great Highland Bagpipe scores — gracenotes, embellishments, and PostScript output details that are easy to miss if you are not actively producing pipe music. Changes of this kind are unlikely to find their way upstream, as Moine's active development has moved to abc2svg.
Some historical context: in the early 2000s, bagpipe-related PostScript suggestions were contributed to moinejf directly and incorporated into the original abcm2ps. This project continues that tradition of refining the program for pipe music, now as a standalone maintained edition.
The program was renamed from abcm2ps-ghb to pipes2ps in November 2026, to
reflect its wider traditional-music scope. The C source keeps its upstream file
names (abcm2ps.c and so on), so that Moine's changes can still be merged.
Author's page: http://moinejf.free.fr/
To know more about the ABC music notation, have a look at abcnotation.
Guido Gonzato maintains many abcm2ps binaries and more documentation at abcplus.
LGPL-3.0-or-later, as for abcm2ps (see the source file headers; COPYING holds the GPL text that the LGPL builds on).