Class daisysp::Phasor¶
#include <phasor.h>
Public Functions¶
Type | Name |
---|---|
float | GetFreq () |
void | Init (float sample_rate, float freq, float initial_phase) |
void | Init (float sample_rate, float freq) |
void | Init (float sample_rate) |
Phasor () |
|
float | Process () |
void | SetFreq (float freq) |
~Phasor () |
Detailed Description¶
Generates a normalized signal moving from 0-1 at the specified frequency.
Todo
Selecting which channels should be initialized/included in the sequence conversion.
Setup a similar start function for an external mux, but that seems outside the scope of this file.
Public Functions Documentation¶
function GetFreq¶
Returns current frequency value in Hz
function Init [⅓]¶
Initializes the Phasor module sample rate, and freq are in Hz initial phase is in radians Additional Init functions have defaults when arg is not specified: * phs = 0.0f * freq = 1.0f
function Init [⅔]¶
Initialize phasor with samplerate and freq
function Init [3/3]¶
Initialize phasor with samplerate
function Phasor¶
function Process¶
processes Phasor and returns current value
function SetFreq¶
Sets frequency of the Phasor in Hz
function ~Phasor¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Control/phasor.h