arduino-audio-tools
Static Public Member Functions | List of all members
AudioTime Class Reference

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)
 

Detailed Description

Tools for calculating timer values.


The documentation for this class was generated from the following file: