chipaudette/OpenAudio_ArduinoLibrary

Teensy 4.0 compatibility

Closed this issue · 4 comments

Not an issue as such - just wanted to say thank you for this library, I had a great time experimenting with it on the Teensy 3.6. Just wondering if the library will be updated for Teensy 4.0 compatibility?

I was working on an effects processor on the 3.6 but in my code I get some errors that i'd love to help with if it's in my capabilities but not sure where to start and not sure of how big a change in core architecture the 4.0 has introduced.

If I could help in any specific way just let me know and thanks again for the excellent library!

Hi Chip,

I spent a little time this morning trying to port the compressor to the audio library with the float conversions handled in the compressor object. The code now compiles fine but is not passing audio. If you had a spare moment to review that would be great.

Any help would be appreciated!
AudioEffectCompressor.h.zip

Thanks for your interest! Note that most of my Teensy floating-point audio development moved over to Tympan, which a device that is a Teensy 3.6 at heart with an attached audio codec. The Tympan library (here) is my OpenAudio library that's been leveled-up with a couple of years' worth of added development. You might choose to give it a try!

With regard to your question here in my OpenAudio version of my library, I'll try to take a look tonight when I get home.

Chip

Hi Chip,

I made another attempt to port the compressor to the standard audio library this time by bringing the audio_block_f32_t class into the compressor header file to minimise the amount of code that needed to be changed. I converted the incoming audio blocks to audio_block_f32_t in the header file but unfortunately this attempt has not been successful either (see attached).

Sorry for bothering you with this! I checked out the Tympan library and I am excited to see that you are testing a port to teensy 4!

I am a big fan of this compressor and used it a lot in my 3.6 projects so I will keep trying until I have it avaiable for the t4!

If you could point me in the right direction to porting the compressor that would be super helpful.

Thanks for any help!
AudioEffectCompressor.h.zip