Py2MusicXML is now lejaren

Convert Python to Notation via MusicXML.


Py2MusicXML is now lejaren

Go here: lejaren GitHub Repository

Py2MusicXML (DEPRECATED)

Convert Python Algorithms to Notation via MusicXML.

Py2MusicXML GitHub Repository

Py2MusicXML is designed for prototyping musical ideas in Python. You prototype ideas using the builtin objects that represent elements of musical notation. Then, you can export the representation in Python to MusicXML, and open the .musicxml file in commercial notation software to explore your ideas further.

It’s fun - try it!

Basic Functionality

There are several builtin objects used to represent notation in Python.

These are:

  • Note
  • Rest
  • Measure
  • Part
  • Score

You can then convert these objects into a .musicxml file to be opened in engraving software.

The wiki is available here.

A ‘Hello, World’ tutorial is also available.