ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
309 stars 21 forks source link

Add instrumentation tooling #533

Open ohmtech-rdi opened 1 year ago

ohmtech-rdi commented 1 year ago

When an audio drop happens on the target platform, it is for now hard to understand the cause of that glitch.

It seems that there is no instrumentation tooling available to diagnose those kind of problems.

Implement an intrusive sampling method using a ring buffer on the stack, a way to detect an event (here an audio drop), and dump the data from the ring buffer using semihosting.