PaulStoffregen / Audio

Teensy Audio Library
http://www.pjrc.com/teensy/td_libs_Audio.html
1.07k stars 398 forks source link

Improved AudioEffectDelayExternal #433

Open h4yn0nnym0u5e opened 2 years ago

h4yn0nnym0u5e commented 2 years ago

Subsequent improvements

PaulStoffregen commented 1 year ago

oh no, looks like a conflict with another recent commit

h4yn0nnym0u5e commented 1 year ago

Think I fixed it - there was a previous PR which corrected a copy-pasta error to do with freeing up delay memory, which hadn't propagated into this one. Or something...

h4yn0nnym0u5e commented 1 year ago

Note that https://github.com/PaulStoffregen/Audio/pull/433/commits/054405371eb9f3dc46a5d3302a893ba3d2d7e738 fixes a pretty serious bug that rendered this object almost completely unusable, at least on my Windows 10 / Arduino 1.8.19 system.

h4yn0nnym0u5e commented 1 year ago

8ed2b49 reverts by default to the "old scheme" of initialising SPI memory at object construction time, since a fix has been done to the SPI library. Deferred initialisation is still available by setting a third constructor parameter to false (if not supplied it defaults to true): this may be of use to users who have only partially updated their libraries.

See https://forum.pjrc.com/threads/73154-Teensy-4-1-does-not-boot-when-invoking-SPI-from-external-class and https://github.com/PaulStoffregen/SPI/commit/1904fb5b5449fef66490eba628f6a91dcc80e9da