Python · runs in your browser

Music
Text.

Write a song as plain text — c d e g — and MTL renders it into stereo WAV audio with a full band. The real Python program runs right on this page: no install, no virtualenv, no server.

music-text — python 3.12 (WebAssembly)
# first_song.mtl
c d e g

$ mtl first_song.mtl --check
✓ tempo 120 BPM · 4/4 · 6 bars · 12.0 s
✓ parts: piano, drums (inferred)

$ mtl first_song.mtl first_song.wav
♪ rendered stereo WAV — press play

$ 

How it works

The real Python code from the repository, executed by a full Python interpreter compiled to WebAssembly.

01 — WRITE

Type a song

A few notes like c d e g, or a full arrangement with instruments, patterns, sections and effects.

02 — RENDER

Python in the browser

Pyodide boots CPython, NumPy and SciPy inside your tab and runs the MTL package straight from GitHub.

03 — LISTEN

Hear the WAV

Play the rendered stereo audio right away, or download the .wav for your music player or DAW.

Why run it here?

Share one link and anyone can try the project — on a laptop, a tablet or a phone.

⚡

Zero setup

No Python 3.11 install, no venv, no pip. Open the page and render.

🎹

128 instruments

Enter a few notes and let MTL build a band — or pick every instrument, pattern and effect yourself.

🔄

Always up to date

The runner loads the code from GitHub, so every push is live for the next visitor.

🔒

Private by design

Your songs never leave your device — audio is computed locally in your browser.

Ready to hear
what text sounds like?

Made with wish4