r/musicprogramming • • 5h ago

I wanted to play some songs but couldn't figure out the notes, so I built a local AI transcriber

Thumbnail reddit.com
0 Upvotes

r/musicprogramming • • 17h ago

A new JSON-based format for musical scores

Thumbnail github.com
4 Upvotes

Hello everyone!
I’ve spent some time working on NTX 4 — a plain-text, JSON-based score format designed to be easily read by humans and, more importantly, generated by Large Language Models.

The Problem:
MusicXML is too verbose and consumes too many tokens. ABC notation is great for single melodies, but LLMs often get confused and break when handling complex multi-track polyphony.

The Solution:
NTX 4 wraps the track structure in strict JSON (perfect for structured outputs/JSON mode) while keeping the notes inside compact strings (e.g., [E2,B2,E3]:q for chords).

  • Pure Python: The reference compiler uses only the standard library (Python 3.9+, no pip required).
  • Production Ready: Converts directly to Standard MIDI and MusicXML 4.0, so you can drop it into any DAW or notation editor.
  • LLM Prompt Included: Features a step-by-step assembly workflow for LLM composers.

Open-source (MIT/CC0).


r/musicprogramming • • 12h ago

I built a free virtual session drummer plug-in that works in any DAW (VST3/CLAP, Mac/Win/Linux) with Claude Code

Thumbnail reddit.com
0 Upvotes

r/musicprogramming • • 1d ago

Paper piano

20 Upvotes

Paper Piano:

I printed a piano on a sheet of paper and played it. 🎹

No sensors, no wires. Just two ordinary cameras and hand tracking.

The hard part is not finding the finger. It's knowing whether it is touching the paper or hovering just above it. One camera can't tell, so I used two and gave each a single job:

📷 A webcam looking down answers "which key?"

📱 A phone at table level answers "pressed or not?"


r/musicprogramming • • 19h ago

Machine learning mayhem

0 Upvotes

I've been playing with generative systems quite a lot recently, two things in particular, both rendered as VST plugins, may be of interest here.

TL;DR : a short video - https://youtu.be/gq9NECUERKw

The Stochastic Parrot for MIDI is a tiny GPT trained on an open dataset of midi files. It behaves just like chat AI but instead of text it does midi.

https://github.com/danja/sp-midi

It kind of works. Hardware issues have meant I've not yet trained it on the full dataset, and the VST interface is primeval. But it was totally doable, based on femtoGPT, a Rust port of Karpathy's nanoGPT.

Training is only in the order of hours on a CPU, generation is clunky, I've not got the DAW transport bbt properly in place yet.

The other thing, Genie, is based on Differentiable DSP. Stick the SP algorithms in a neural net, why not.

My extension is to use a genetic algorithm to provide alternate nets (synths or effects) the user can choose between, and breed.

https://danja.github.io/downspout/plugins/genie/

Both are in early stages of development, but IMHO ripe for having fun.


r/musicprogramming • • 1d ago

Do You Want to Help my Sonification Research?

Thumbnail forms.gle
1 Upvotes

I am writing my bachelor's in sound design about translating data into sound in an intuitive way.

I would greatly appreciate if you took a few minutes to answer my survey🙌

Thanks in advance!


r/musicprogramming • • 2d ago

Phrasing App

Thumbnail reddit.com
0 Upvotes

r/musicprogramming • • 2d ago

We all use convenience layers anyway—so where do you actually draw the line on "real" IT?

0 Upvotes

I feel like some people just want to dictate what "proper" IT usage looks like, and that's where the whole "vibe coding slop" label comes from. To me, it's plain envy and teasing from folks who spent years learning a higher-level programming language—not even assembly—to pose as deep developers while they don't actually understand machine code either. They're using a convenience layer too. That's why programming should have been made more like painting, where you put colors, shapes, and sounds together with a few logical connections instead of dry math that only certain people can master.

Even visual and node-based tools already exist in audio and beyond, yet people still argue over what counts as "real" coding. At the end of the day, higher-level languages were already an abstraction for convenience. Some people care deeply about low-level control and maintenance, while others care about ideas, flow, and actually making music. Where do you draw the line between a tool simply working for what you need and needing to know every layer underneath?


r/musicprogramming • • 3d ago

Music Harmonizer: Open-source Python app for scale harmonization and multitrack MIDI export

3 Upvotes

Hi everyone!

I've been working on **Music Harmonizer**, an open-source desktop application built with Python and Tkinter designed to help musicians and developers analyze scales, build chord progressions, and experiment with algorithmic compositions.

### Key Features:

- **Scale Analysis & Chord Harmonization:** Automatically harmonize musical scales and map chord structures.

- **Interactive Piano-Roll Sequencer:** Edit chord timelines via mouse (move and trim on a 16th-note grid) with synchronized timing controls.

- **Multitrack MIDI Export:** Export your progressions directly to MIDI for use in any DAW.

**GitHub Repo:** https://github.com

**Screenshots:**

- [Sequencer & Chord Progression](https://github.com/raw/main/assets/images/Armonixer.jpeg)

- [Scale Analysis](https://github.com/raw/main/assets/images/Armonixer1.jpeg)

I'd love to get feedback from both Python devs and music producers! If you're looking to contribute to an open-source music-tech project, I just opened a few **`good first issue`** tickets (adding multi-language support EN/IT/DE, exotic scales, keyboard shortcuts, and unit tests).

Feel free to test it out, open an issue, or submit a PR!


r/musicprogramming • • 3d ago

Does such a software exist?

1 Upvotes

I am looking for a music library/playback software that allows me to tag tracks with different “moods” or similar, and would then allow me to dynamically filter them on the fly to create a playlist that includes or excludes certain tags. This is all for my DnD/Pathfinder games.

From what I have found, Musicbee gets me the closest with it’s smart playlists, but the fact that I would have to pre-create each individual possible combination of tags as their own smart playlist seems like a bit of a pain. Can anyone think of something that would allow me to do this?


r/musicprogramming • • 4d ago

A choir you conduct with your webcam: hand tracking in the browser drives a live choir engine

1 Upvotes

I've been building a virtual choir instrument, and this is a free experiment from it: you conduct the choir with your hands.

Try it: https://vesper.im-a-bird.com/conduct/ (works best on a computer in Chrome or Edge; there's a mouse mode if you don't want to use the camera)

How it works

  • Hands → gestures. MediaPipe's hand landmarker runs in a Web Worker, on your own device. From the right hand's path I pick out the gestures conductors actually use: the preparation (the lift before an entrance), the ictus (the bottom of each beat), holds, and the cutoff (closing the hand).
  • Gestures → timing. A small "follower" turns those beats into tempo. It doesn't snap to each beat; it leans toward your tempo the way a real choir does, between half and double the written speed, so you can stretch a phrase or push it forward.
  • The left hand is loudness. Only its height counts, never its shape. My own left hand doesn't open fully, so I made sure curled, open and closed hands all work the same.
  • The choir. The singing is synthesized live in the browser (Rust compiled to WebAssembly, running in an AudioWorklet), following the score note by note but taking its timing and dynamics from you. Each performance comes out a little different.
  • The stage. The singers, the lanterns and the conductor you see from behind all react to what you do.

The camera only ever follows your hands: nothing about the picture leaves your computer.

It's a beta. I'd love to hear where the gesture reading feels off, especially from anyone who's conducted or worked with motion input.


r/musicprogramming • • 5d ago

I built an open-source Android Wi-Fi Mixer, Clip Launcher & MIDI controller for Bitwig Studio (plus a dedicated E-Ink build!)

Thumbnail gallery
1 Upvotes

r/musicprogramming • • 5d ago

GitHub - triadwoozie/douri: A pure-Rust digital audio workstation with a lock-free audio engine, Piano Roll, Mixer, and built-in DSP effects.

Thumbnail github.com
7 Upvotes

r/musicprogramming • • 5d ago

Fractal Fugue No. 02 — Can we hear geometry?

2 Upvotes

r/musicprogramming • • 6d ago

air harp

3 Upvotes

r/musicprogramming • • 8d ago

JavaScript library for interactive music notation basic editing?

1 Upvotes

I’m working on a React music practice app and need a library that handles interactive notation editing: dragging/dropping notes, changing pitches and durations, time signatures, measures, etc. Just the very basics, nothing complicated.

VexFlow and OSMD seem focused on rendering rather than editing. I’d rather not build all these interactions from scratch.

Open-source or paid solutions are both ok.

Anyone using something that works well?


r/musicprogramming • • 9d ago

Current studio midi map

Thumbnail gallery
3 Upvotes

r/musicprogramming • • 9d ago

built an advanced polyrhythmic metronome

5 Upvotes

Oddmeter — Practice Metronome

i play progmetal and this helps me make complex music and lock in on time.
its free and opensource


r/musicprogramming • • 10d ago

I built a small subtractive synth to learn the basics, with a Scope and a Spectrum after every stage (native Web Audio nodes, no audio libraries)

Thumbnail reddit.com
2 Upvotes

r/musicprogramming • • 12d ago

Building an open-source DAW with an FL Studio workflow (Rust + Tauri)

39 Upvotes

Here’s a quick beat I made using only the built-in plugins and stock sounds.

I started this as a side project because I love FL Studio’s pattern-based workflow, but wanted something lightweight and open-source. The audio engine is written in Rust (lock-free), with a Tauri + SolidJS/Canvas frontend.

Full transparency: I used AI tools to speed up parts of the boilerplate and UI, so the repo isn't 100% hand-crafted artisan code -I'm actively refactoring things as it grows. But you can see in commits - that every icon and button is there because i wanted it there.

People actually started showing interest, so I'm looking for feedback, bug reports, or anyone who’d like to contribute (especially on the DSP/audio side).

Website:https://miskibin.github.io/synkopa/ Code:https://github.com/miskibin/synkopa


r/musicprogramming • • 12d ago

Looking for a tool that sings MY melody + lyrics and builds a backing track from MY chords (for a singing-practice app)

1 Upvotes

I'm building a singing-practice app for beginners (think call-and-response exercises with a pitch lane). For every lesson I need a short song produced from my own material:

- a sung guide vocal that follows my MIDI melody and my lyrics exactly (short 3-syllable phrases with a bar of rest after each)

- a backing track that follows my chord chart bar by bar

- vocal and instruments as separate stems

- the same song renderable in several keys (transposed, not re-composed)

I'd love one tool or one scriptable pipeline for both parts, because I need to make many of these.

What I've tried so far:

- Suno (text + lyrics): sounds great, but it re-composes the melody and rearranges my lyrics. A different key means a different song.

- Suno Studio 2.0: haven't subscribed yet. Does a generated vocal actually follow an imported MIDI melody with your own lyrics? I couldn't find anyone showing this.

- Synthesizer V / ACE Studio: exact vocals, but no backing track, and too expensive for me right now.

- Moises Studio: generates band parts around existing audio, but no sung vocals from notes.

- YuE2 (local, score-first model): the closest so far. It kept my phrases, rests and pitches.

Questions:

  1. Is there anything that does "MIDI melody + lyrics + chords in, vocal + band stems out" reliably?
  2. If you use two tools, what's your vocal + arrangement combo, and can it be automated (CLI / API / scripting)?

r/musicprogramming • • 12d ago

I wanted to make beats to study to, so I built a free modular synth in my browser

0 Upvotes

r/musicprogramming • • 19d ago

A rhythmic glitch made from binary code

Thumbnail youtube.com
4 Upvotes

r/musicprogramming • • 18d ago

Orbital Decay - My Sanctuary (2026) [Linux CLI MIDI Synthesis + Procedural Blender Wireframe]

Thumbnail youtube.com
1 Upvotes

Sharing a recent audio-visual piece inspired by classic vector arcade and 90s demoscene aesthetics.

Production & Technical Pipeline:

* Audio: Built on Linux without DAW or UI. Sequencing, synthesis, sampling and final audio rendering are driven through custom command-line utilities written in C.

* Visuals: Custom pipeline parses raw MIDI and audio telemetry data to drive 3D wireframe geometry, HUD overlays, piano-roll visualizers, and camera dynamics rendered in Blender.

* No AI used for audio or video.

Would love feedback from the community on the pacing, HUD telemetry layout, or mix translation.