electro-smith / DaisyExamples

Examples for the Daisy Platform
https://github.com/electro-smith/DaisyWiki/wiki
MIT License
372 stars 193 forks source link

Added typical audio setting functions to default generated project #249

Closed stephenhensley closed 2 years ago

stephenhensley commented 2 years ago

as the PR states this adds typical audio settings to the default generated project making it easier/clearer for people to update if they want.

At some point I think I'll change the samplerate setting to use float (especially once we can fine tune to ~any target samplerate), but not every board supports the numeric-argument version of the function. So for now it uses the SaiHandle::Config::SampleRate enum class version for all boards.