Class daisysp::Metro¶
#include <metro.h>
Public Functions¶
Type | Name |
---|---|
float | GetFreq () |
void | Init (float freq, float sample_rate) |
Metro () |
|
uint8_t | Process () |
void | Reset () |
void | SetFreq (float freq) |
~Metro () |
Detailed Description¶
Creates a clock signal at a specific frequency.
Public Functions Documentation¶
function GetFreq¶
Returns current value for frequency.
function Init¶
Initializes Metro module. Arguments: * freq: frequency at which new clock signals will be generated Input Range: * sample_rate: sample rate of audio engine Input range:
function Metro¶
function Process¶
checks current state of Metro object and updates state if necesary.
function Reset¶
resets phase to 0
function SetFreq¶
Sets frequency at which Metro module will run at.
function ~Metro¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Utility/metro.h