@fabiohl2
Fábio LimaDeveloper▲5
Senior IT Analyst, Banco do Brasil S.A.
21m ago · Testing and Evals, Introductions · Brasília

Porting a neural audio engine to Rust with AI orchestration — what comes next?

Hi everyone — finally jumping in after lurking for a bit!
I started this project for a pretty simple reason: I wanted to shake off the rust on my coding skills, get better at working with AI, and give something genuinely useful back to the Rust and Neural Amp Modeler (NAM) communities.

It ended up going way further than I expected. I built a three-part ecosystem in Rust around NAM: a core real-time DSP engine (NeuralAmpModeler-rs), a CLAP audio plugin (NAM-Plug), and a standalone Linux PipeWire host (NAM-Audio-Pipe). Everything runs with zero heap allocations on the audio thread, SIMD vectorization across x86_64 and aarch64, and near bit-exact numerical parity against the original C++ reference engine.

For me, the biggest surprise wasn't just the audio code — it was how much I learned about orchestrating AI models. To keep engineering rigor high, I built a workspace setup with specialized agent roles, strict coding and quality rules, semantic code search, and automated parity checks against C++ oracles. Without that structure, getting to this level on my own would have been out of reach.

Recently, the project caught the attention of Steven Atkinson (sdatkinson, the creator of NAM), and we had a great call trading ideas. One thing he suggested really stuck with me: this AI-assisted engineering workflow might be just as useful for other scientific and academic open-source projects dealing with heavy math, performance, or cross-language ports.

The one thing I'm trying to figure out right now: going deeper into NAM's technology got me thinking there are a lot more possibilities here — like other unusual kinds of audio simulation, not just amplifiers. I'm definitely going to take a closer look at that soon, and I'd love to hear if anyone has ideas or thoughts on where else this could go.

Also, if you're working on anything in audio, Rust, or scientific computing, feel free to take a look at github.com/fabiohl/NeuralAmpModeler-rs (the READMEs have all the technical details) and let me know if the project, the workflow, or an extra pair of hands could be useful for what you're building. Happy to compare notes!

Hot ReposMember Repos

Comments

No comments yet
Start the conversation.
Log in to join the thread.