Skip to content

Lima-Lima/ly2abc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LilyPond to ABC converter using python-ly

Usage:

  • pipenv install
  • pipenv run python ly2abc.py myfile.ly

This is heavily a work in progress. It does not yet handle conversion from LilyPond for the following features of the ABC specification:

  • Tuplets
  • Annotations other than markup above the node
  • Modes besides major, minor, dorian, mixolydian
  • Double accidentals
  • Decorations
  • Grace notes
  • Clefs other than treble clef
  • Multi-measure rests
  • Modified or explicit key signatures
  • Suggested drone (from ppile markup) --> include via %%text in the same place as midi directives?

No support is planned for:

  • Lyrics
  • Multiple voices

On the LilyPond side, it does not support:

  • Explicit beaming
  • Explicit line breaks
  • Any feature of LilyPond that isn't supported by ABC
  • Unfolded repeats inside \chordmode (volta repeats should be OK so long as they match what's in the primary melody line)
  • Transposed \chordmode

To make overrideable:

  • Unit length
  • Beaming strategy

TODO

%%ambitus

BUGS

internal \partial not handled well (Won't fix) G_8 clefs for melody not handled handling utf-8 in titles

About

LilyPond to ABC converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%