PyABC2

Python library for working with melodies in ABC notation.

Polar tune plot for "For the Love of Music" by Liz Carroll

This polar axis plot combines melody trajectory and note histogram. Each ring represents an octave (outer = higher). The trajectory changes color with progression through the tune (dark blue/purple to light yellow). Polar shows how the plot is generated, with the tune itself shown at the top.

Getting started

Install from PyPI:

pip install pyabc2

Then look at the example notebooks.

If you have a feature request or find a bug, feel free to open an issue on GitHub. To contribute code to this project, see the instructions for developers.

Credits

Inspired in part by and some portions based on PyABC (pyabc; MIT License), hence “PyABC2” and the package name pyabc2. No relation to this pyabc that is on PyPI.


Document

Modified

Method

Run Time (s)

Status

examples/modes

2026-04-18 02:39

auto

1.2

examples/plots

2026-04-18 02:40

auto

25.71

examples/sources

2026-04-18 02:41

auto

44.33

examples/types

2026-04-18 02:41

auto

1.28

examples/widget

2026-04-18 02:41

auto

7.36