arduino-audio-tools
|
Tools for calculating timer values. More...
#include <AudioTypes.h>
Static Public Member Functions | |
static uint32_t | toBytes (uint32_t millis, AudioInfo info) |
converts milliseconds to bytes | |
static float | toRateMs (uint32_t time_ms) |
static float | toRateUs (uint32_t time_us) |
static uint32_t | toTimeMs (uint32_t samplingRate, uint8_t limit=1) |
static uint32_t | toTimeUs (uint32_t samplingRate, uint8_t limit=10) |
converts sampling rate to delay in microseconds (μs) | |
Tools for calculating timer values.