daisysp::Metro¶
#include <metro.h>
Public Functions¶
Name | |
---|---|
Metro() | |
~Metro() | |
void | Init(float freq, float sample_rate) |
uint8_t | Process() |
void | Reset() |
void | SetFreq(float freq) |
float | GetFreq() |
Detailed Description¶
Creates a clock signal at a specific frequency.
Public Functions Documentation¶
function Metro¶
function ~Metro¶
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 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 GetFreq¶
Returns current value for frequency.
---¶
Updated on 2024-01-03 at 19:38:46 +0000