apfelaudio / eurorack-pmod

A eurorack-friendly audio frontend compatible with many FPGA boards, based on the AK4619VN audio CODEC.
https://apfelaudio.com/modules/available/pmod/
Other
167 stars 8 forks source link

ak4619/cal: test sample widths other than W=16 #39

Open schnommus opened 9 months ago

schnommus commented 9 months ago

Initially raised in https://github.com/apfelaudio/eurorack-pmod/discussions/37

There's nothing limiting us to W=16-bit samples (maximum from AK4619 is 32 bits per sample).

We should try some different sample widths and make sure the rest of the modules (calibrator, demos) all still work.

The calibrator module cal.sv would need to be modified to be parameterized across different fixed-point representations.

schnommus commented 8 months ago

This is tested now at W=8 and W=32 with some caveats listed here: https://github.com/apfelaudio/eurorack-pmod/pull/48

Still need to fix up the cal script <-> cal.sv interaction for the DC zeroing process. But at least it is possible to build the mirror core and have different sample widths pass through the chain correctly.