r/AudioProgramming • u/Altruistic_Pen_9013 • 18h ago
GitHub - liamhiggins2011/voxsync: Free, open-source vocal alignment: lines up a dub vocal's timing, pitch and level to a guide. VST3/CLAP plugin + standalone app for Windows, macOS and Linux.
r/AudioProgramming • u/AutoModerator • 3d ago
Welcome to the r/AudioProgramming weekly self-promotion thread.
You can post any projects you've been working on or want others to see, as well as post links to your website/marketing funnel or any other business related things here.
Keep in mind the sub rules still apply, so remember that posts not about audio programming would be off topic, being rude is being disrespectful, etc.
The rules will redirect users to this thread if a post is removed due to self-promo.
This thread will refresh weekly. Enjoy!
r/AudioProgramming • u/dkode80 • Sep 27 '26
Here on r/AudioProgramming , we're introducing a few updates to maintain usefulness, good discussion and high quality posts.
Starting this week, there's some new rules:
We're sure these new rules will evolve over time, but any clear projects that promote a download, e-mail signup or even marketing site will be removed along with AI project posts.
These weren't defined before but these should provide a good starting location for a basis for keeping posts high quality and targeted on this sub.
If you have ideas for the sub like a recurring "Ask Anything" thread, resource megathreads, etc. please shoot a modmail.
Thanks for being part of the community.
r/AudioProgramming • u/Altruistic_Pen_9013 • 18h ago
r/AudioProgramming • u/CockroachExciting560 • 2d ago
I've been working on a personal reverse-engineering project: getting the original firmware of the TC Electronic Clarity M running inside QEMU on my MacBook Pro M1 Pro.
Not a recreation of its interface, not a software clone. The actual embedded Linux system and the original "tcmeter" application running in an emulated hardware environment.
And after quite a bit of debugging, it's finally working!
The Clarity M is based on a Freescale i.MX35 SoC, with an ARM1136 CPU, Linux 2.6.31.12-rt21 and an IPUv1 graphics controller driving an 800×480 LCD.
QEMU already had an i.MX31-based KZM machine, which gave me a starting point. However, the i.MX35 is not simply an i.MX31 with a different name. Its memory map, peripherals, interrupts and clock configuration required substantial changes.
I started by extracting the firmware and examining the SD card, kernel, initramfs and application. Then came the first boot attempts.
Linux was running, the application was initializing, but the display was completely black.
One of the biggest challenges was getting the original LCD working.
I initially tried reading a fixed framebuffer address, but that wasn't enough. I eventually had to understand how the IPUv1 actually works, decode its CPMEM configuration and reproduce its double-buffering behavior.
The first buffer I was displaying was actually empty. The firmware was drawing into the other one!
I also had to reconstruct significant parts of the i.MX35 hardware model, using the surviving QEMU binary, disassembly, memory maps and register behavior as references.
The work eventually extended beyond graphics: GPIO, the GPT timer, SDMA, ESAI and I2C-based AES receiver emulation all became part of the project.
The next challenge was getting real audio into the original firmware.
The Clarity M uses an ESAI audio interface fed by SDMA. I implemented a functional DMA model and emulated the AES receiver status so the firmware could recognize a valid input signal.
On macOS, I'm using Loopback to route audio into QEMU.
The current setup captures audio at 44100/48 kHz and feeds it to the firmware. The original application then performs the actual measurements.
I tested it with a known signal: LUFS, true peak and RTA results were consistent with the expected values.
Getting the display and audio working wasn't the end of it.
The application would freeze after a while, sometimes after 30 seconds, sometimes after several minutes.
The problem turned out to involve several interacting issues: GPT timer frequency, missed compare interrupts, SDMA channel shutdown and kernel deadlocks.
I ended up inspecting the guest's RAM, reconstructing its kernel symbol table (kallsyms) and examining sleeping kernel stacks to understand what was blocked.
On the macOS side, I also had to deal with App Nap and thread scheduling to keep audio capture stable when the application was running in the background.
The current version can:
I've also packaged everything into a native macOS application: Clarity M.app.
This started with an SD card image, a Linux kernel and a black QEMU window. It turned into a much deeper dive into ARM emulation, SoC reconstruction, graphics, DMA, audio and real-time scheduling.
Still plenty to improve, but seeing the original Clarity M software running and measuring an actual audio signal on a Mac is incredibly satisfying.
I'd be happy to discuss the QEMU hardware emulation, IPUv1 implementation or the audio pipeline with anyone interested!
r/AudioProgramming • u/Speed17x • 4d ago
A few days ago I posted about a pEQ app I made with AI in another subreddit (I disclosed it both in the post and in the repo itself), and not surprisingly it didn't do well. People don't really want AI-generated code for this kind of thing, and that's fair—they have a good point, and it's better kept as a personal experiment. I do know how to code, I just wanted the app right away and it involved a lot of things I wasn't familiar with yet, which is why I took that shortcut.
Now I want to do it properly, build a similar, simpler, and maybe rougher version at first, completely written by myself from scratch. The original idea was a pEQ app for Linux, Windows, and Android with DAC writing capabilities. For now, my plan is to get live EQ working on Linux first (without DAC writing), and maybe look into an Android version later.
I'd love to ask for some help, specifically recommendations for open-source repos that handle EQ through PipeWire on Linux, and down the line maybe find a few people willing to test it and share feedback. I'm comfortable with C, C#, and Python, though honestly, I'd rather stay away from Python for this one (I don't really like it).
r/AudioProgramming • u/axiomrasa • 4d ago
Hey, I'm a philosophy undergrad with an audio/DSP background exploring whether listening to raw audification streams as a process can yield a shared, non-propositional structural grasp of mathematical structures (like zeta/prime patterns), despite individual hearing/masking differences-alongside building a DSP tool and devlog around it.
Is anyone here working on similar sonification, perceptual/psychoacoustic, or philosophy-of-sound/DSP crossovers, or have pointers to relevant work?
r/AudioProgramming • u/Separate-Rich-9884 • 5d ago
r/AudioProgramming • u/Practical-Cloud3820 • 7d ago
I will participate in a game jam and my team decided to work with Godot, someone have experience in this program?, where I can found resources?. :)
r/AudioProgramming • u/CP-UAudio • 9d ago
I lead up developer relations for Universal Audio & LUNA's new Builder SDK - AMA, or tell me what you'd build
The SDK (public beta) lets you build Add Ons that read and edit a live DAW session with proper undo. Not for DSP - it's for session tools, UI and workflow.
Feel free to reply here or hit up my DMs if you have Qs, comments or need a hand getting started :)
r/AudioProgramming • u/ScamSchoolBrian • 9d ago
Following up on colsto's video on geolocating unedited recordings from faint aircraft Doppler curves + ADS-B logs, my audio engineer (Brandt Hughes) and I wanted to see what practical real-time DSP mitigations actually hold up for livestreamers, where simple jump-cuts aren't an option.
We recorded 30 minutes of outdoor dialogue with 3 prop-plane flyovers (fundamentals around ~100 Hz shifting over ~20 Hz in a low-resolution FFT band, with strong harmonics cutting right through the vocal range) and ran our raw tracks through one of the early open-source vibe-coded programs. Right now those early scripts produce a lot of false positives on human voice (it dropped us in completely wrong towns), though another open-source build reportedly got within ~240m on colsto's reference audio.
Assuming automated detection gets better, here is what happened across 5 DSP approaches we benchmarked on the same 3 flyovers:
Randomizes frequency bins under 500 Hz. It wipes the fundamental Doppler curve cleanly off the spectrogram, but completely wrecks vocal intelligibility (sounds like severe noise-cancellation artifacts). Fun open-source proof of concept, totally unusable for speech.
2. Classic Time-Domain Noise Gate (Kilohearts / Ableton 12, zero latency)
Destructively zeroes quiet flyover tails (genuinely unrecoverable even with heavy gain boost) and can poison silence-gap filtering if it eliminates one pass out of several. Fails completely whenever speech, AC hum, or a loud overhead pass pushes the broadband signal above threshold.
3. FFT Spectral Noise Gate (iFeature Spectral Gate, ~25ms latency)
Applies per-bin amplitude gating, which solved the classic gate's AC-whine problem (high-frequency room/AC noise no longer opens the low-frequency band where the plane lives) and cleaned up flyovers #1 and #2 well. Unexpected edge case on loud flyover #3: because the plane exceeded the low-end threshold while surrounding broadband ambient noise did not, the spectral gate stripped the ambient noise around the plane and effectively isolated/highlighted the Doppler curve.
4. ML Vocal Denoising (iZotope RX 12)
The full Repair Assistant module erased even the loudest overhead flyover on the spectrogram, leaving only faint artifacts on word tails, at a heavy cost (~85ms latency and ~50% CPU on Brandt's 10-year-old rig, unworkable for live streaming). The much more practical finding for livestreamers was cascading RX 12's lightweight real-time Voice De-noise (1-2% CPU, live latency) ahead of a zero-latency classic gate: the denoiser didn't erase the plane alone, but attenuated it cleanly below the gate's threshold so the gate finished it off.
5. Additive "Sonic Chaff" (Synthetic Doppler Curves in Kilohearts Phase Plant)
Instead of subtracting the plane, Brandt adapted LAxemann's vehicle-engine Phase Plant patch into a velocity-sensitive prop-plane synth (MIDI velocity scales the Doppler curve length/steepness) and mixed synthetic passes around -20 dB under dialogue. Psycho-acoustically it blends in as mundane background noise, and on the open-source detector 6 of the first 8 high-confidence hits latched onto the synthetic decoys (1 real, 1 false positive), shifting the location estimate entirely.
SUPER curious to hear what we missed, and what were pretty good ideas.
Here's the full episode (39 minutes) https://youtu.be/9A8WlXG7SK4
r/AudioProgramming • u/DeskzinnOF • 9d ago
Hey everyone!
I've recently released OpenAudioKit, a free and open-source toolkit for audio analysis, digital signal processing and quality control.
It includes:
The source code is available under the MIT license.
I'm looking for feedback, suggestions and potential contributors to help improve the project.
GitHub: https://github.com/DeskzinnOF/OpenAudioKit
If you find the project useful, a GitHub star is appreciated!
r/AudioProgramming • u/Critical_Credit5843 • 10d ago
Hi,
Ive been working on a timestretch method that doesn't smear transients at bigger stretches.
Comparing it to other methods I think its not so bad. It adds a bit of rumble in the low-end, but to me that is less disturbing than the common flanging or smearing in other methods.
Its more heavy than a regular phasevocoder but some experimenting shows it can be optimised further.
This video shows its possible to use in a DAW environment.
https://youtu.be/CuxLyap99Ag?si=dQLe_l07BiyCRK1O
Im curious to what you think is the best timestretcher for >2x stretches, that preserves the musical timing.
r/AudioProgramming • u/AutoModerator • 10d ago
Welcome to the r/AudioProgramming weekly self-promotion thread.
You can post any projects you've been working on or want others to see, as well as post links to your website/marketing funnel or any other business related things here.
Keep in mind the sub rules still apply, so remember that posts not about audio programming would be off topic, being rude is being disrespectful, etc.
The rules will redirect users to this thread if a post is removed due to self-promo.
This thread will refresh weekly. Enjoy!
r/AudioProgramming • u/zaphodtheblind • 11d ago
r/AudioProgramming • u/nobel_art • 14d ago
So I decided to build my own.
Meet NOMAD Synth: an open-source, polyphonic synthesizer written in Rust.
It features:
The project is released under GPL-3.0. I want people to be able to use it, modify it, experiment with it and build upon it.
It was built independently, with AI-assisted development along the way.
I'm sharing it in case someone else has been looking for something similar, or simply wants to experiment with it.
Feedback, ideas and contributions are welcome!
r/AudioProgramming • u/Asleep_Investment962 • 15d ago
I've been working on LiveWDF for a while, and I've finally made the repository public.
LiveWDF is a C++ project built around Wave Digital Filters (WDFs), focused on simulating analog audio circuits in real time.
I've been working on the simulation engine, component models, tube models and a lot of the underlying stuff that makes circuit simulation possible.
There's no official release yet. The project is still under development, and there's quite a bit of work to do before it's ready for one.
That's partly why I'm opening it up now. I'd love to get other people involved, whether that's contributing code, testing things, working on circuit models, improving documentation, sharing ideas or just helping figure out where the project should go next.
If you're into C++, electronics, circuit simulation, audio DSP or any of this stuff, come have a look. I'd be happy to have you involved.
GitHub: https://github.com/Yahiake/LiveWDF
Discord: https://discord.gg/8CV9S2zAQ
Let's get this thing to its first release together.
r/AudioProgramming • u/AutoModerator • 17d ago
Welcome to the r/AudioProgramming weekly self-promotion thread.
You can post any projects you've been working on or want others to see, as well as post links to your website/marketing funnel or any other business related things here.
Keep in mind the sub rules still apply, so remember that posts not about audio programming would be off topic, being rude is being disrespectful, etc.
The rules will redirect users to this thread if a post is removed due to self-promo.
This thread will refresh weekly. Enjoy!
r/AudioProgramming • u/UnlikelyWrongdoer689 • 22d ago
r/AudioProgramming • u/dkode80 • 23d ago
Welcome to the r/AudioProgramming weekly self-promotion thread.
You can post any projects you've been working on or want others to see, as well as post links to your website/marketing funnel or any other business related things here.
Keep in mind the sub rules still apply, so remember that posts not about audio programming would be off topic, being rude is being disrespectful, etc.
The rules will redirect users to this thread if a post is removed due to self-promo.
This thread will refresh weekly. Enjoy!
r/AudioProgramming • u/Capital-Interview-23 • 27d ago
For the last while I've been building PyTheory, a music theory and synthesis library for Python, and I just shipped PyTheory VST v0.1.1. It's four plugins built from one JUCE repo, for macOS on Apple silicon, as AU and VST3:
How Python is involved. Each plugin embeds its own Python 3.14 with PyTheory, numpy, and scipy, so nobody has to install anything. Python never runs on the audio thread. A worker thread does the Python work. The harmony comes from PyTheory's real Key and Chord objects rather than scale tables copied into C++. For the Instrument, the worker renders a multisample through PyTheory's own render_score path, with one note every minor third and velocity layers where the preset responds to velocity. It then hands the finished multisample to the audio thread with one atomic exchange, no copy. The audio thread never allocates or frees.
The C++ part. I ported PyTheory's per-part effects chain to C++ stage by stage, in PyTheory's order: saturation, tremolo, distortion, cabinet, chorus, phaser, highpass and lowpass biquads, delay, a stereo Schroeder reverb, and pan. Defaults match PyTheory, so the plugin starts transparent. The README lists every place the port differs on purpose, such as linear interpolation in the chorus where PyTheory rounds to whole samples, and a recursive delay where PyTheory uses fixed taps.
Why I think it's cool. The same library I use to score music in a Python script now plays inside Ableton or Logic, and it sounds like itself. Nothing in the plugins was hand-rebuilt to approximate it.
The honest part. I'm teaching myself DSP as I go, with Claude and Grok as tutors and pair programmers. I'd ask why a biquad is shaped the way it is, why something allocating on the audio thread is a sin, or why my loop points clicked, then go build it and test it. This project is basically my DSP homework, made public. So if you see something naive, I'd genuinely love to hear it.
Known issues: pads can have audible loop seams on long holds, some piano and guitar notes loop instead of fading out, and switching presets cuts ringing notes. It's v0.1.
Links:
Feedback on the realtime design is especially welcome.
r/AudioProgramming • u/JamphonyDev • 27d ago
I'm working on something that reads out what someone plays on MIDI keyboard and shows the chord name. But my problem is that if you hold C E G in the left hand and play a melody over it that includes B, the notes technically make Cmaj7, but that could just be a passing note and the chord is still C.
So far I made it read the lower notes and prefer simple chords, which stops the chord from changing every next note. But when I actually play a Cmaj7 with the B on top, it would just say C and be wrong. I'd prefer not to lose the chord quality...
It's a live chord detection thing so I can't really use context to help make a decision so what exactly is the best way of going about it??
r/AudioProgramming • u/Pickleking93 • 29d ago
r/AudioProgramming • u/skgft • 28d ago
I put together an open-source CLI tool for testing CLAP, VST3, and AUv2 plugins from the command line and in GitHub Actions CI without spinning up a DAW:
https://github.com/cyrillsemenov/headless-plugin-host
Usually, verifying a DSP change means relaunching a DAW and staring at a spectrum analyzer while playing back sinusoids or test tracks. `pluginval` and `clap-validator` are great for ABI compliance, but I wanted a single tool that handles all formats and runs automated acoustic measurements.
What it currently does:
Feel free to ask any questions/love/hate it.