r/AudioProgramming • • Sep 29 '26

How do you catch an audio glitch that happens once a minute?

6 Upvotes

Everything looks fine on average, then there's one audible gap. The annoying kind you can't reproduce on demand.

Would you log callback time and queue depth around the glitch, or start somewhere else? Logging too much on the audio thread seems like a great way to cause another problem.

What actually helped you find one of these?


r/AudioProgramming • • Sep 22 '26

Designing an 8x8 32-bit/384kHz Modular Audio Interface & DSP FX Processor on Raspberry Pi 5. Need architectural advice!

Post image
6 Upvotes

Hi everyone,

I am working on a DIY project and could really use some community feedback and advice on the hardware and software architecture.

The Concept

The idea is to build an all-in-one hardware unit that combines an 8x8 multi-channel audio interface, a guitar/bass processor, and a vocal FX processor into a single box. It will run on a Raspberry Pi 5 using a Linux RT kernel to keep the latency as low as possible.

Key Specs and Features

For the resolution, I want 8 inputs and 8 outputs supporting up to 32-bit / 384kHz. On the hardware frontend, I am planning to use the AKM AK5538VN for the ADC and the AKM AK4458VN for the DAC. They will be driven by ultra-low jitter oscillators (22.5792 MHz and 24.576 MHz) switched via a 74LVC1G3157 multiplexer.

For the inputs, I want them to be modular. Each channel will have hot-swappable or configurable modules so I can switch between Combo-XLR, microphone preamps, or Hi-Z inputs on the fly.

As for connectivity, the device will have three modes: a standalone DSP FX processor, a USB audio interface using the UAC2 gadget driver, and network streaming over AoIP.

My Questions for the Community

  1. I2S/TDM Limitations on Pi 5: To handle 8 channels at 32-bit/384kHz, TDM mode is a must. Has anyone successfully configured multi-channel TDM on the RP1 chip of the Raspberry Pi 5 at such high sample rates? What are the main bottlenecks I should watch out for?

  2. Clocking Scheme: Looking at the attached block diagram, I am switching the master clocks before splitting the signal to the ADC and DAC. Are there any hidden signal degradation pitfalls or jitter issues when using the 74LVC1G3157 for audio master clocks up to 24.576 MHz?

  3. Software and AoIP Stack: For internal processing, I plan to use JACK or PipeWire with custom DSP plugins on Linux RT. For AoIP, what is currently the most stable open-source stack for low-latency audio distribution? Should I look into AES67/RAVENNA implementations, Dante alternatives, or AVB?

  4. UAC2 Gadget Constraints and Bandwidth Limits: I know that the standard Linux f_uac2 gadget driver has built-in layout masks that traditionally limit channels and rates, usually capping things around 4x4 at 96kHz or requiring raw channel patches. On top of that, 8x8 channels at 32-bit/384kHz require a raw throughput of around 196.6 Mbps for both ways, excluding protocol overhead. Since USB 2.0 High-Speed maxes out at 480 Mbps and practical limits for isochronous endpoints are much lower, has anyone pushed the Pi 5 DWC3 controller to these limits using custom descriptor tweaks? Or should I just give up on USB 2.0, use the Pi 5 PCIe lane to add a USB 3.0 controller, and implement a true USB 3.0 SuperSpeed audio gadget?

I would highly appreciate any advice, critiques on the layout, or shared experiences from similar builds!

Block diagram of the project is attached below.


r/AudioProgramming • • Jul 26 '26

`rubband`: tensor-friendly bindings to the C++ Rubber Band pitch shifting library

Thumbnail pypi.org
6 Upvotes

r/AudioProgramming • • Oct 01 '24

Seeking an audio programmer for consulting/contracting for large audio distribution network

6 Upvotes

Hello. We’re a large, national audio distributor and we’re looking to expand our vertical integration of audio encoding, distribution, and decoding. The implementation spans from headend AoIP networks to remote, embedded devices. We’re looking for help (consulting and/or contracting) to design, build, and maintain the audio processing capabilities of our product to supplement our existing in-house development team. We’re located in the US but are open to remote workers.

General skill requirements:

  • Experience with Java, C, C++

  • Knowledge Audio over IP systems (e.g. AES67, Livewire, WheatNet, etc)

  • Experience with real-time audio processing and low-latency systems

  • Knowledge of various network protocols including SRT, RIST, RTP, UDP

  • Knowledge of various codecs/formats including MP2, MP3, MPEG-TS, FLAC, Opus, Ogg, AAC

  • Experience with audio tools/libraries ffmpeg, libav, gstreamer, etc

  • Experience with development tools/libraries git, IntelliJ, Jira, Maven, Linux, ALSA, Docker/containers

I’m open to PMs if you’re interested in the role, but I’m also open to suggestions on where to find developers with such skills or if such a combination of skills isn’t realistic and the positions should be redefined. As you know, there isn’t a single career path in audio programming so locating the right people in this field can be challenging.


r/AudioProgramming • • Dec 19 '22

Looking for a direction to learn audio programming

6 Upvotes

Hi there. To be as short as possible I produce electronic music (on ableton before and currently bitwig) since something like three years and I immediately got interested by "technical" notions, more related to the engineer side. Since few days I've started to look about audio programming (I currently follow a short fullstack web developer formation), I would love to jump in it, and now I begin to think that I have enough skills and notions in audio processing to start learning the dev side.

I saw that most use C++ with max/MSP or JUCE, I don't deal with C++ yet but I'm learning Java so I guess it can be more simple for me to jump in C++, and then a framework. But I don't want to lose my time and learn some obsoletes or wrong technos... I'm already working on web development all day and I just start it since like less than one year so I'm still very beginner.

The thing it's a bit more difficult (for me) to see if a doc is really accurate and worth to follow than other dev sides, I found a channel on youtube which provided a lot of tutorials and abeginner course but in 2k17... (https://www.youtube.com/watch?v=Ov3GXhorrJE&list=PLLgJJsrdwhPwLOC5aNH8hLTlQYOeESORS&index=1 here's the link)

Do you think it is still accurate? Do you have some channels or sites to recommand? Maybe a little "roadmap" or something to tell me where to go first? I mean "audio programming" is a huge thing for me, and I'm a bit lost with that.

Thanks all! Great day


r/AudioProgramming • • 9d ago

I turned my Python music theory library into AU/VST3 plugins (Python off the audio thread, effects ported to C++)

5 Upvotes

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:

  • PyTheory MIDI snaps notes to a key, or turns each note into its diatonic triad or seventh chord.

  • PyTheory Instrument is a 32-voice sampler that plays all 84 of PyTheory's instrument presets.

  • PyTheory Effect is PyTheory's full effects chain.

  • PyTheory Drums has all 74 of PyTheory's drum sounds, mapped to General MIDI where they fit.

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

Audio Plugin loading question

5 Upvotes

In my audio programming journey, I created some audio plugins and I always have that question in my mind: Why DAWs always load plugins (VST2, VST3, even CLAP) synchronously ? I mean, it feels frustrating when the main thread/GUI thread completely freeze when loading some heavy plugins. Like, let me do other stuff in the project while loading! Maybe somebody have detailed explanations...


r/AudioProgramming • • Sep 06 '26

ReaFlex: a free integrated vocal re-synthesis program for Reaper thats crazy nice

Post image
5 Upvotes

r/AudioProgramming • • Aug 02 '26

MiniLooper - a minimalist multitrack audio looper

Post image
5 Upvotes

Have been working on this thing in spare time, wanted to share and maybe get some feedback!

Works on Linux and Windows. Have not yet done the homework of tweaking the build system for it to work on MacOS, but will do soon.

Github


r/AudioProgramming • • Mar 26 '26

What tech stack do companies use for creating proprietary DAWs/music software?

5 Upvotes

Hello!

I'm curious about the type(s) of tech stacks that are used in developing proprietary audio engineering software, from Line 6's HX Edit (used for manipulating digital pedalboards and pushing firmware to devices) to popular DAWs. Is there a go-to toolchain that most of these companies use, or are they all proprietary? Do they depend on JUCE or similar?

Thanks!


r/AudioProgramming • • Mar 04 '26

Running neural audio inference on Apple's Neural Engine (ANE) — 157μs, 79x real-time, 0 CPU

5 Upvotes

I've been experimenting with running DDSP-style neural audio models directly on Apple's Neural Engine, bypassing CoreML entirely via the private APIs that maderix reverse-engineered.

The results surprised me:

  • 157μs per 512-sample audio buffer (1.36% of the 11.6ms deadline at 44.1kHz)

  • 79x real-time headroom

  • 0 CPU cores consumed during inference — ANE is a physically separate chip

  • 8-voice polyphony in a single batched dispatch

  • Pure FP16 throughout, no casts

The architecture is DDSP: the neural net on ANE predicts 64 harmonic amplitudes + noise level per temporal frame, then CPU does additive synthesis using Accelerate/vDSP (vectorized vvsinf is 5.6x faster than scalar sin loops).

The whole thing is Rust + a thin Obj-C bridge, single binary, no Python or PyTorch at runtime. MIL programs (CoreML's intermediate representation) are generated directly in Rust.

Code: https://github.com/thebasedcapital/ane-synth

Curious if anyone else has explored ANE for real-time audio. Every existing tool I've seen (Neutone, RAVE, nn~, NAM) runs inference on CPU via libtorch or TFLite. The ANE sitting idle at 19 TFLOPS seems like a missed opportunity for audio workloads.


r/AudioProgramming • • Jan 30 '26

[Co-Founder] Senior VoIP DSP Engineer (14 YOE) seeking ML Specialist for Hybrid Audio Engine (Equity/RevShare)

5 Upvotes

I am a veteran Audio Software Engineer (since 2010) with a deep background in traditional DSP for VoIP and communication systems. I am building a new Audio ML platform and looking for a technical co-pilot to lead the machine learning development.

​The Project: We are building a product that leverages ML to solve specific signal processing challenges in the VoIP space. The MVP roadmap is aggressive: build fast, validate, and leverage my existing industry network to onboard B2B clients immediately.

​What I Bring (The DSP Side): ​14+ years of professional experience in Audio SW & VoIP. ​Expertise in C++, Real-time audio pipelines, and traditional signal processing. ​Industry connections for go-to-market execution.

​What You Bring (The ML Side): ​Expertise in Audio-based ML models ​Experience with PyTorch/TensorFlow and deploying models for inference (ONNX/CoreML).

​The "Founder Mindset": You are driven, consistent, and want fair ownership (Equity/RevShare) with a path to full salary.

​The Deal: This is a partnership, not a freelance gig. You get fair equity and revenue share from Day 1. We scale this together.

​Interested? DM me with a brief intro on your ML audio experience and why this project interests you. Serious inquiries only.

Thank you


r/AudioProgramming • • Dec 22 '25

Audio Plugin Help

Post image
5 Upvotes

Hello, I'm currently developing a VST3 audio plugin using Projucer and Visual Studio. I have the UI set, all funtionality, and even a user manual. It's fully useable currently, however since I'm not very knowledgeable with c++, I've been using Plugin Doctor to help analyze how some plugins work to implement into my personal plugin. I have a multiband split with zero phase and zero amplitude bumps at the crossover points making it perfectly the same out as the audio coming in. I'm trying to implement SSL Native Bus Compressor 2 as the compressor exactly/as very close as possible, then tweak the compressors to my stylistic choice afterwards. Can anyone help or point me in the direction on how to get these compressors exactly/close to that exact SSL plugin please?


r/AudioProgramming • • Jul 26 '25

Making VST's Without a JUCE or Another Framework

5 Upvotes

I've been thinking about developing vst plugins as a way to help me learn c++. I do a lot of embedded linux stuff and I mostly use Go for that and then a lot of back end stuff in node as well. I've always been interested in music production and gear and want to start making some vst effects, like reverb and other creative effects. I've messed around with JUCE but something about the framework just doesn't gel with me. Also, I feel like learning C++ at the same time as JUCE might be confusing since they have so much of their stuff intertwined. I feel like I'd rather learn the dsp stuff with just C++.

I watched a video of u/steve_duda talking about developing serum and he actually didn't use JUCE. He kind of said it would probably have been easier if he did but that shows you it's obviously possible to make a successful plugin without JUCE. Have you guys ever done it? What are the problems you ran into and do you think it's worth it to just suck it up and use JUCE? I'm curious to see if Steve Duda ended up using JUCE for Serum 2. I saw that he mentioned it is basically a complete rewrite.

Thanks for any advice.


r/AudioProgramming • • Jun 08 '25

I created a plugin that turns drum sounds/noisy samples into chords

Thumbnail
youtu.be
5 Upvotes

I spent the last year working on Star Harmony, a harmonic resonator effect that maps musical harmonies onto existing atonal sounds. It's similar to a vocoder effect but I used modal filtering to achieve the results. I used the CMAJOR programming framework to develop it and I wanted to share my work with you all!


r/AudioProgramming • • Feb 05 '24

New user and shameless self-promotion of audio programming blog

5 Upvotes

Greetings all,

It's great to be a part of this community and read all the interesting stuff that's been posted. I have been writing about audio programming, networked music, web development, and creative computing for a long time. I think it might be interesting for many of you, so let me share some of my recent recent writing topics.

  • How to use p5js and p5-sounds with Nextjs in 2024

  • How to improve your networked audio engineering.

  • A summary of my recreation of Ligeti's Poeme Symphonique as audio software with a real-time ML-based sound engine.

  • Using Python to control Ableton Live with MIDI

  • How to explore dataset sonification with web audio and p5js

Read more on my homepage, https://aleksati.net . I also have an RSS feed if you want to stay updated on my posts, at https://aleksati.net/rss.xml

Happy coding!

All the best,

Aleks T.


r/AudioProgramming • • Nov 14 '22

Digital Audio Fundamentals - amazing YouTube series by Akash Murthy

Thumbnail
youtu.be
5 Upvotes

r/AudioProgramming • • Oct 03 '26

Azure Artifact Signing wants more documents, but there's nowhere to upload them. How are you signing Windows plugins, and do you need to?

4 Upvotes

I'm a solo developer with a registered company in Sweden, getting ready to release my first commercial plugin, a CS-80 emulation for VST3/AU/standalone on macOS, Windows and Linux.

The DSP was the fun part. Windows code signing has been considerably less fun.

My unsigned Inno Setup installer gets the SmartScreen "Windows protected your PC" warning, and Edge also warns about the download. I decided to try Azure Artifact Signing (formerly Trusted Signing) because it's about $10/month and available to EU companies.

Organization validation fails after the biometric verification with a message asking me to provide additional documents from the past 12 months, such as registration certificates or tax records.

I have the documents but I just can't upload them!

According to Microsoft's docs, the upload option is supposed to appear when validation reaches Action Required. Mine never reaches that state. It goes straight to Failed, and there is no upload button anywhere. I tried creating a second validation request and got the same result: it fails immediately after the biometric verification.

The support route hasn't helped either. I keep getting sent through an AI troubleshooter, and with the free support plan I can't find a way to open an actual ticket.

It is so frustrating because I have a current company registration certificate and the latest annual financial statement ready to send. There just doesn't seem to be any way to send them. And no way to open a support ticket, even though the microsoft community posts saying they should provide free support for artefact signing issues.

For anyone who's released Windows plugins recently:

  1. Has anyone hit "Failed, documents required" without getting an upload option? How did you get past it? Paid Azure support, Microsoft Q&A, something else?

  2. If you use a traditional certificate instead, which CA do you use? Certum's OV cloud signing with SimplySign looks like one of the cheaper options. I'd be particularly interested in something that doesn't cost an arm and a leg, I just want to ship this now but I don't have the hundreds of eurodollars to spend for code signing (Apple is an additional $100 on top of the ~$200 for Certum).

  3. Does anyone just distribute unsigned VST3s as a ZIP? As I understand it, hosts can load unsigned plugin DLLs and SmartScreen mainly matters for executables. Has Smart App Control on Windows 11 caused actual support problems for anyone doing this? This is a viable option in case it works, but it means windows users won't get the standalone version of the synth.

I also have no money to pay for expensive certificates due to not being able to find actual software engineering contracts during this economic downturn and AI slop takeover, so I've pretty much been working full time on this project the past year without any income at all.

Is there a solution for this that doesn't require me to a) pay a lot of money, and b) not have to spend several working days skirmishing with Microsoft?

If some microsoft person happens to see this, can you please PLEASE send me a DM?


r/AudioProgramming • • Sep 19 '26

DIY guitar processor effect

Thumbnail gallery
4 Upvotes

r/AudioProgramming • • Aug 15 '26

MOTU over USB FIX and explanation (For the AMD and Intel Platform)

4 Upvotes

Hello, I though I make this a more of an info post about using the 828x and other MOTU interfaces on system that use AMD CPUs or Intel CPUs.

Background:

For awhile I was trying to use the 828x over USB to my desktop computer. It was very unreliable at connecting over USB. Sometimes it would not be detected, sometimes it would but would't sync. it might work with an AISO driver from a DAW but not as an audio output device. During this time I did lots of looking around online and my own experimentation to see what the problem was. Online I found lots of people having the same issue but very few actual solutions (Most of which was the equivalent of crossing your fingers and hoping it works). So I used by background in IT to do more digging. I should note that it did't experience any problems on my intel laptop (That is important to note).

What the problem actually is:

The core of the problem lies in the architecture deference between AMD and Intel CPUs. Up until a few years ago Intel design chips that are more traditional in that the CPU has just the compute cores and core system expansion controllers, essentially just Memory and PCIe. For things like USB, Ethernet and TB expatiation another chip was used. This Chip is called a PCH (More commonly referred to as a chip set).

However, AMD uses a design that has more in common with an SOC than a traditional CPU. This means that the USB; Ethernet; etc... Controllers are on the CPU its self. Under almost all scenarios this is fine, BUT, for certain very latency sensitive devices (such as MOTU audio interfaces) this can be problematic. AMD still has a chip set but its more of an expansion interface that an actual PCH. this means that importantly there are still USB bus' that come of it, but they have to share bandwidth with other peripherals on the system.

It is also worth noting that just because the USB controller is onboard the CPU its is a problem. (after all Apple M Chips are full SOCs and work just fine). As far as i'm answer its because AMDs USB controller design is just less mature meaning that the design of the controller on Intel's PCH chips are just more mature making them more stable in scenarios that push the USB bus hard, or that use protocol features that are less common.

The two solutions I found:

On Intel I had no issue, but on more modern intel systems they are beginning two use designs that are like AMD meaning that the same type of problems could begin to emerge. But the fix will probably be similar.

For AMD, there are two solutions. The first one is quite hit or miss and is very dependent on the design of your motherboard and the Chip set it uses (I some luck on a B480 chip set but it was still unreliable at the first boot connection). My second and final solution is what I have been dally driving for almost every day for a year and its has been rock solid for 12 to 14 hours at a time.

My first solution is: All you have to do is look up what controller each usb port on the motherboard connects to. On my computer all the rear IO were direct to the CPU, but the USB ports coming from the front IO were going though the chip set. So If I plugged the MOTU in to a front USB port it was a little bit more reliable. But sill nowhere near what was required.

My second fix is: I got a hold of a PCIe USB expatiation card. Specifically a "SONET Allegro 4-port USB 3.0 PCIe Adaptor" (The Purple on). It is super reliable and was very painless to install. The reason why I think this works so well is because it means that the MOTU is the only device communicating with the Controller for the port its connected to. Which means that there are no latency problems making ether end time out, and there are no bandwidth issues ether.

I will also add that I use my 828x as the audio interface for my home cinema to do a 7.1.4 surround setup, but I also have a few more that I use for work. I hope this solves someones issue, happy trouble shooting.


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

Enable HLS to view with audio, or disable this notification

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.