shorepine / amy

AMY - A high-performance fixed-point Music synthesizer librarY for microcontrollers
https://shorepine.github.io/amy/
MIT License
184 stars 11 forks source link

Update examples, arduino, Alles for new AMY #104

Closed bwhitman closed 6 months ago

bwhitman commented 7 months ago

We made some breaking changes to the AMY API to support voices and patches. I think things are mostly settled down for a while beyond some lower level kernel changes dan wants to make. So we should verify all the arduino wrappers, examples, etc to work with this new style.

bwhitman commented 6 months ago

I'm removing the multicore Arduino (not bare metal) examples as they seem really flaky under that environment. I think the Arduino cores boot up multicore tasks that are conflicting with AMY. If you want multicore AMY under Arduino, you can try to boot the renderers yourself or just use bare metal (pico-sdk or ESP-IDF.)

Multicore works fine on bare metal RP2040 and ESP32. The bare metal RP2040 example now works fine. Tulip uses multicore ESP32 and works fine.

The Arduino ESP32 and RP2040 simple examples also work fine. Teensy should "just work", but unfortunately I don't currently have a way to test it at the moment.

I need to do some work on Alles but i'll make that a separate Alles issue.