ploopyco / headphones

A set of 3D-printed headphones, alongside a DAC/amp/EQ board powered by a Raspberry Pico.
833 stars 43 forks source link

Enable oratory's 15 band EQ #23

Closed george-norton closed 10 months ago

george-norton commented 10 months ago

Here are my changes that enable us to run the 15 band EQ. I have managed to run 18 bands before I started hearing issues.

The big change is the faster multiply, but inlining stuff also buys quite a lot. I also swapped out some doubles for floats.

I decided to change the configuration structure to use floats rather than doubles as it was getting too big (I already increased the buffer size from 256 bytes to 512 bytes and even that would be filled by 17 filters using doubles). This change is a compatibility break so it needs a new build of the toolbox from here:

There is a firmware build here:

I had intended for the toolbox to detect when the firmware needed updating, and for it to popup a warning - but that doesn't work - the old firmware will however reject messages from an incompatible client.

nyabinary commented 10 months ago

Nice!