r/AudioProgramming • • May 26 '26

Anti-piracy & Copy-protection options

4 Upvotes

What options do you know for anti-piracy / copy-protection / licencing audio plugins, and what are your experiences with them?

So far I had the pleasure to work with PACE / Eden, but it just seems like a pita for both the developer and the consumer. I tried to find alternatives, but these companies (understandably) don't really want you to know too much about their services unless you pay for them...

So what alternatives are there that allow for the time-sensitivity of an audio plugin, and preferably don't require a phisical key? Are any audio companies developing their own system?


r/AudioProgramming • • May 17 '26

what is your favorite downsampling filter?

4 Upvotes

what is your favorite downsampling filter? for the more extreme applications such as FM or frequency shifting?

i rarely follow the pure doctrine and my link to the industry is even smaller than my link to the academic circles. and i basically only have biquad kernels at my hand.

since many years i am using 2 chebychev II at 20 khz and 4 butterworths at nyquist in order to deal with the ripples.


r/AudioProgramming • • Mar 17 '26

My max externals work on Mac M-series now -> mrkv, drunkad, drunkt and gauss

4 Upvotes

r/AudioProgramming • • Dec 18 '25

Help with boundary detection for instrumental interludes in South Indian music

4 Upvotes

I’m working on a program for music boundary detection in South Indian music and would appreciate guidance from people with DSP or audio-programming experience.

Here’s a representative example of a typical song structure from YouTube: Pavala Malligai - Manthira Punnagai (1986)

Timestamps

  • Prelude (instrumental): 0:00 – 0:33

  • Vocals: 0:33 – 1:05

  • Interlude 1 (instrumental): 1:05 - 1:41

  • Vocals: 1:41 – 2:47

  • Interlude 2 (instrumental): 2:47 - 3:22

I am trying to automatically detect the start and end boundaries of these instrumental sections.

I have created a Ground truth file with about 250 curated boundaries across a selected group of songs by manually listening to the songs or reviewing the waveform on Audacity and determining the timestamps. There might be a **~50–100 ms** from the true transition point. This is an input for the program to measure variance and tweak detection parameters.

Current approach (high level)

  1. Stem separation - Demucs is used to split the original audio file into vocal and instrumental stems. This works reasonably well but there might be some minor vocal/instrumental bleed between the stems.

  2. Coarse detection - RMS / energy envelope on the vocal stem is used to determine coarse boundaries

  3. Boundary refinement - Features such as RMS envelope crossings, energy gradients, rapid drop / rise detection, Local minima / maxima are used to refine the boundary timestamp further

  4. Candidate consensus - Confidence-weighted averaging of different boundary candidates along with sanity checks (typical region of interlude and typical durations)

Current results

Here is my best implementation so far:

  • ~82–84% of GT boundaries are detected within a variance of ≤5s

  • ~38–40% of boundaries are detected within ±200 ms

  • ~45–50% of boundaries are detected within ±500 ms

Most errors fall in the 500–2000 ms range.

The errors mostly happen when:

* Vocals fade gradually instead of stopping abruptly

* Backing vocals / hum in the interludes are present in the vocal stem

* Instruments sustain smoothly across the vocal drop

* There’s no sharp transient or silence at the transition

The RMS envelope usually identifies the region correctly, but the exact transition point is ambiguous.

What I’m looking for advice on

From a DSP / audio-programming perspective:

  1. Are there alternative approaches better suited for this type of boundary detection problem?

  2. If the current approach is fundamentally reasonable, are there additional features or representations (beyond energy/envelope-based ones) that would typically be used to improve accuracy in such cases?

  3. In your experience, is it realistic to expect substantially higher precision (e.g., >70% within ±500 ms) for this kind of musical structure without a large supervised model?

I’d really appreciate insight from anyone who’s tackled similar segmentation or boundary-localization problems. Happy to share plots or short clips if useful.


r/AudioProgramming • • Nov 13 '25

first audio app project, no skills, lots of ambition, where do I learn ?

4 Upvotes

Hey guys,

I've had this synth app idea for quite a long time now, and I really want to create it. The thing is I have zero knowledge in programming. I found out you can create a synth pretty easily with faust, so that's what I did, and I compiled it into an apk file to test it directly on my phone, and also as a cpp file to push further the developpment. The app on my phone that I created felt amazing, I was so proud. But now I feel I can't go further.

I've got the basic architecture idea from the wolfsound youtube channel, ( and chat gpt too) :

My sound processor will be in C++ (created from faust so I don't have to deal with it, seems undoable for a beginner like me) then I'd use oboe, and my interface would be in kotlin.

Midi is a big part of my app, as I want everything to be mapable.

I feel like I don't know where i'm going, I don't understand what I should do to keep going.

So please guys, could you just tell me what I need to learn to do this kind of stuff ? I'm fine with learning an easy programmation langage like kotlin, or how to use android studio, but I think C++ will make me abandon this project. Where do I go, what is the most effective path ?


r/AudioProgramming • • Oct 27 '25

Music Information Retrieval(MIR)

4 Upvotes

Hi, new here. My bachelors thesis was about algorithms used in music recommendation systems and I got really curious about music information retrieval(MIR). While I came across multiple concepts, it would be nice if someone could point out some sort of roadmap to learn more.


r/AudioProgramming • • Sep 28 '25

I released a second version of my FOSS arpeggiator VST3

Post image
4 Upvotes

As part of my continued learning journey I designed and implemented a simple arpeggiator midi effect. This is my second post here regarding this and after getting some suggestions in the previous one, I present to you hARPy v0.0.2. It adds more order options, repeats slider as well as delta and offsets sliders to really dile in the desired sound. I also updated some of the defaults (default of 1/1 rate was just bad).


r/AudioProgramming • • Aug 07 '25

ProcMon + Python, Pandas for vst file location logging

4 Upvotes

Doing this as a little Data cleansing project before classes start in a couple weeks.

I dislike not knowing where all of my vst data is stored across my computer. I'm well aware that attempting centralization with root folders is also a pandoras box (ex: vst3's strict file placement, zero consistency across plugins for strict license key, config file, and registry locations).

Goal is to have a complete idea of every folder a plugin is utilizing on my computer during use, such that I can create a csv to quickly reference for backups or DAW file pathing errors.

Still in the planning phase. I asked Copilot and it recommended I use Process Monitor to record file activity when using a vst through FL Studio, then convert to a csv to clean up the data in Python.

I've never used ProcMon and I'm hoping to use this as a learning opportunity for the "pandas" pkg, since I need to learn it for school/vocation. Anyone more experienced with these tools or this overall process have any tips? Not tied to the idea of using ProcMon if there is a better way to do it.


r/AudioProgramming • • Mar 28 '25

Want to build something great?

4 Upvotes

Looking for someone that wants to build something great. A DAW for the next innovators of music. I've been doing it myself and think it would 10x more fun with the right partner. If you're in position that you can lock in for a couple of months to get it off the ground, hmu. Not looking for a freelancer.

I got branding and design down. I also have an MVP that's about 75% of the way there, but I may start fresh with new tools because it's getting unmaintainable.

BG: I'm a philosopher/musician at heart. I've been trying to build stuff for the past couple years from a record label to a beach chair rental company. I'm want money, but just want to work on ideas full time. I had been working on these things without the tech side, and decided to teach myself by trying to build a DAW. I've been working on the DAW for the last 4 months. It's what I spend all my time doing. I've accumulated some tech debt and think I'm going to start fresh. I learned a lot in the process and think this time around I will be moving a lot faster.

Looking for someone with similar music taste because I think it's core to the ethos of the product we'd be building:

https://youtu.be/DgGuTicdtyg

https://youtu.be/JxtbDZj17rE

I love everything from The Velvet Underground to MF Doom, I really appreciate the underground DIY nature of these types of musicians.

It would be cool to have another Indie musician on board. Though neither of those things are required, I just want someone with good vibes that would be fun to work with.

I'm determined to do this, I don't care if it takes 3 years to build something myself. The way I look at it is that it can't fail, there's no downside. The worst case scenario is we have a DAW that we give away for free to the music community, that we enjoy using, and we learn a lot and have fun building in the process.

If you think we would be a good fit, hit me up.


r/AudioProgramming • • Mar 23 '25

How does music stem separation actually work?

4 Upvotes

Musician here (not a software / DSP guy!). There’s a lot of discussion about stem separation out there (tutorials, comparisons etc.) but I can’t find any technical discussion explaining what’s actually going on “under the hood” with this ever-improving audio tech.

Can anyone offer any insight into how it works?


r/AudioProgramming • • Feb 05 '25

Looking for a developer

4 Upvotes

Hey there! I am an audio engineer and graphic designer from Bulgaria. Looking for a developer to start a VST plugin brand with. 2D and 3D designing is a big hobby of mine and i hope to find someone like me, but a coding nerd. Note that i am willing to work a lot on whatever i am doing, but i am not really ready to financially support it (that ofc doesn't mean i am searching for someone to pay, just someone to work with me). I can handle the design, sample things in my studio, test, etc.


r/AudioProgramming • • Dec 18 '24

How to share data between real-time playback loop thread and UI thread without slowing down real-time processing too much.

4 Upvotes

I am relatively new to audio programming, and I have an example program that plays a WAV file on Linux using the low-level ALSA interface. Now I'm going to add some real-time processing on the audio samples before sending them to the sound card, and I would like to allow user input on the processing parameters. I would also like to gather some statistics as the sound is playing -- maybe to make a frequency visualizer or something like that, say.

Since console and video i/o are much slower than writing to the sound card, I will put visual output and user input on a separate thread. So I'm thinking about how to share data between the real-time thread sending bytes to the soundcard and the user I/O thread. I guess a basic question is whether to use message passing or shared state. Message passing seems immediately better: If the threads communicate via a message queue, then the queue can have "infinite" (aka very large) buffer size, so the real-time thread never blocks on sending, and the real-time thread can also check for messages with a 0 timeout and just move on if no message, so their's no blocking on receive.

But I'm sure there are things I'm missing or details that become more visible once you get deep into it. My question is, does anyone have any advice to help me get started in the right direction, or can anyone point me towards some good resources?

Of course one thing I can do is look at how this is done in open-source code, and I will plan to do that. If anyone has any good codebases they'd recommend looking at, I'd appreciate that too.


r/AudioProgramming • • Sep 18 '23

Where to start

4 Upvotes

I studied music production (BA) and currently work as an audio engineer for a small media company. I want to transition into Audio Programming (mainly in gaming) but don’t know where to start. I don’t have any coding experience but have come across Gorilla, JUCE etc in my research. A lot of companies require you to have skills in C+++.

What’s the best way to go about transitioning to an Audio Programming role?


r/AudioProgramming • • Sep 10 '23

ADCx India is here!

4 Upvotes

Hi everyone, I'm excited to inform you that the Audio Developer Conference (ADC) is coming to India as ADCx India which is a three day meet-up for audio developers combining Music Hack Day India and a one-day Audio Developer Conference pop-up.

Music Hack Day India is an in-person event taking place on January 5th & 6th, 2024 at Bangalore International Centre in Bengaluru, followed by ADCx India main event which is a hybrid in-person and online event which will take place on January 7th 2024 at the same venue.

The Talk Submission Form for ADCx India is available here and will be open till 17th September 2023. If you have an interesting work or idea that you'd like to present, make use of this opportunity. For more information, please check audio.dev


r/AudioProgramming • • Aug 21 '23

Stupid questions about digital synthesis

4 Upvotes

Hi all.

I would like to experiment with digital synthesis in Linux using C or C++. I have found the PulseAudio libraries which looks to be a convenient way of outputting your sound. You basically feed it a wavetable and it produces the sound. Now, I would like to look at different oscialltors and adding different filters or effects. Maybe later I will try to create a step sequenced. This is all educational and I just want to understand better how audio works.

So to my question. How excatly would you go about adding filters and effects. Would you create different functions which takes a wavetable as an input and produces a new wavetable? Would you transform the wavetable into the frequency domain using an FFT, or would you work in the ordinary time domain?

Thanks for any input!!


r/AudioProgramming • • Jun 09 '23

Create VSTs with FAUST: live workshop Saturday 10th June

4 Upvotes

Hey there,

Patrik Lechner is giving a workshop tomorrow with Music Hackspace: Creating VST plugins with FAUST.

FAUST is a versatile functioning language that is used to create VSTs or embedded application. The Zen Flute, which won 1st prize at the Guthman competition used FAUST to embed a physical model of a flute into a Teensy processor.

This live workshop is recorded, and made available a few days later to be watched on-demand (with subtitles in 10 languages).

Patrik is the author of Multimedia Programming with MaxMSP and TouchDesigner and teaches creative computing in Vienna.


r/AudioProgramming • • Nov 13 '22

Story: Game rot... One day I have 60fps, then another day it is 5fps without any changes on my end what-so-ever.

Thumbnail self.gameenginedevs
4 Upvotes

r/AudioProgramming • • 10d ago

Weekly Self-Promo Thread

3 Upvotes

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 • • 17d ago

Weekly Self-Promo Thread

3 Upvotes

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 • • Sep 28 '26

Knobs, sliders or..?

3 Upvotes

I've been making VST plugins and find myself rather ambivalent over the UI component to use for analog controls. The skeuomorphic rotary knobs look good, but seem a bit unnatural in use. With sliders it's easier to see their current position, but mine at least all tend to look naff.

What are opinions here? Any tips on design?

What alternatives are there?


r/AudioProgramming • • Sep 27 '26

Best DSP approach for real-time drums practice-pad hit recognition

Thumbnail reddit.com
3 Upvotes

r/AudioProgramming • • Sep 18 '26

Has anyone tried turning Pyroomacoustics into a VST?

3 Upvotes

Anyone heard of this? It’s a room simulator that generates individual stereo impulse files for each sound source placed in the virtual space. I’d love a vst that has a kind of parent child setup where the parent sets the parameters and the child receives the impulse response.

https://github.com/LCAV/pyroomacoustics

Quite a good video on it from astro bear.

https://youtu.be/iNjvayIuJBM


r/AudioProgramming • • Sep 08 '26

I built a real-time ferrofluid audio visualizer for Mac, PC, and Mobile (Zero latency via Mic/HDMI)

3 Upvotes

r/AudioProgramming • • Sep 01 '26

a small tool to make a song from your phone's microphone

3 Upvotes

Hello everyone, I'm no pro musician and no pro coder, but I made and attempt of creating a web app that records your microfone, and creates a song from it.

Just record some 30, 40 seconds or more of your voice, and some random sounds, the algorith will cut the sounds and place them into rythm. pick a genre and generate.
The dream is to create a free app that does it well. once it's done I'll make a plugin for FL studio.

Here is the web app, ready to use
https://marcellomassardo-collab.github.io/mc-parrot/

Here is the git, with the apk available to download and all documentation
https://github.com/marcellomassardo-collab/mc-parrot

comments are very welcome!
it's free but development is a bitch, consider donating if you like the project.

(this is not AI!
the app does not collect any of your data)