DaisySP
|
#include <metro.h>
Public Member Functions | |
void | Init (float freq, float sample_rate) |
uint8_t | Process () |
void | Reset () |
void | SetFreq (float freq) |
float | GetFreq () |
Creates a clock signal at a specific frequency.
|
inline |
Returns current value for frequency.
void Metro::Init | ( | float | freq, |
float | sample_rate ) |
Initializes Metro module. Arguments:
uint8_t Metro::Process | ( | ) |
checks current state of Metro object and updates state if necesary.
|
inline |
resets phase to 0
void Metro::SetFreq | ( | float | freq | ) |
Sets frequency at which Metro module will run at.