JythonMusic supports music transcription and playback, audio looping, computer-aided music composition, development of computer-based musical instruments (including hybrid instruments), and live performance.

Here is a “Hello World!” program to get you started.  It plays a single note.

# playNote.py
# Demonstrates how to play a single note.

from music import *   # import music library

note = Note(C4, HN)   # create a middle C half note
Play.midi(note)       # and play it!

To run it, download the JEM editor.

More examples

Additional code examples are organized by chapter: