Vibe coding Daisy Seed

I got most of it working, there's just too little CPU left after NAM, so doing IRs and a doing a screen is a little bit hard to do, thinking about doing a separate ESP32 module to handle inputs and leave the daisy handling the audio
For the IR, I got it to be VERY lightweight, and you can even reduce the number of taps if you wanted to.

Here is just my IR changeset https://github.com/bkshepherd/DaisySeedProjects/pull/96

I add 1ms of latency by buffering the samples (48 samples at 48khz is 1ms), but this lets me use CMSIS efficiently and loop unrolling (ARM_MATH_LOOPUNROLL) to have full length IRs with very little processing power.

If you lower the IR length to 512 (opposed to the 1024 I am using as "full length"), you will have something VERY lightweight that sounds very good still.

That same buffering of 48 samples also allows you to do some similar optimizations with the NAM processing. Furthermore, you could probably get away with adding another 1ms of latency or so to further reduce the processing and still be pretty hard to detect a change.
 
For the IR, I got it to be VERY lightweight, and you can even reduce the number of taps if you wanted to.

Here is just my IR changeset https://github.com/bkshepherd/DaisySeedProjects/pull/96

I add 1ms of latency by buffering the samples (48 samples at 48khz is 1ms), but this lets me use CMSIS efficiently and loop unrolling (ARM_MATH_LOOPUNROLL) to have full length IRs with very little processing power.

If you lower the IR length to 512 (opposed to the 1024 I am using as "full length"), you will have something VERY lightweight that sounds very good still.

That same buffering of 48 samples also allows you to do some similar optimizations with the NAM processing. Furthermore, you could probably get away with adding another 1ms of latency or so to further reduce the processing and still be pretty hard to detect a change.
I agree, I did the same exact thing! I'm progressing well.. Just so little time to do any of this with a 9 month old who does not sleep without body contact :D
 
Back
Top