Sofian Audry
Sofian Audry
This should be done, especially for waves.
I attempted to create some functions for converting uint32_t to/from float in [0, 1] using bitwise operations. ```c++ #if defined(__STDC_IEC_559__) || defined(__IEEE754__) || defined(ESP_PLATFORM) || defined(TEENSYDUINO) || defined(__AVR__) || defined(__ARM_FP)...
This has now been done done for waves. Could be done for other units as well but not sure how important the gain would be.
Another option is: Option 4: (variation on option 3) get rid of Timer (see #98) - Alarm "bool" / get() operator will by default be the equivalent of BANG or...
Suggestion for "modes" for alarm: BANG vs BUZZ (default)
The thing I dislike about it is that it confuses two types of objects into one. And it is not *that* useful cause someone could do it themselves. Let's see...
Closing it for now.
Question is: what word to use? * reset() - would work but is currently used for resetting accumulators (eg. moving average, min max, etc.) * start() - would make sense...
Also: there would be an easy way to avoid using an extra boolean in the Metro and Osc classes by using the sign of one of the floats.
I think we should follow a common API similar to Chrono. See #92