cores icon indicating copy to clipboard operation
cores copied to clipboard

Use standard (~44kHz) sample rate for Teensy LC too

Open bkurtz opened this issue 4 years ago • 0 comments

The original code here (from 345b03b31f54e21d848e65a84c86e32cd0aaa630) was introduced in 2015 with the aspirational comment that Teensy-LC will eventually have Audio support but at 22 kHz instead of 44 kHz. Now, 5 years later, there's evidence of a lot of progress in that direction, but much of the functionality still isn't supported.

I'd like to make the case that, rather than try to support the full Audio library at reduced sample rate on the old hardware, it would be better to support a minimally useful subset (e.g. audio from flash memory to analog or I2S output (e.g. for use with the prop shield or audio shield) at full sample rate. I recently submitted a small PR to the Audio library that supports DAC output for Teensy-LC, and can verify that pushing audio data from the flash memory on the prop shield to the analog output works just fine on Teensy-LC.

Please also see PaulStoffregen/Audio#322, which makes a related change in the Audio library.

bkurtz avatar Mar 16 '20 18:03 bkurtz