This is late, but here’s the work that I put in last week:
- Reimplemented the python workflow into MATLAB using the volume threshold loop
- Tweaked parameters for performance
- Investigated cost tradeoffs with sound() v. audioplayer() in MATLAB to meet latency bounds