DaisySP
|
#include <phasor.h>
Public Member Functions | |
void | Init (float sample_rate, float freq, float initial_phase) |
void | Init (float sample_rate, float freq) |
void | Init (float sample_rate) |
float | Process () |
void | SetFreq (float freq) |
float | GetFreq () |
Generates a normalized signal moving from 0-1 at the specified frequency.
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.
|
inline |
Returns current frequency value in Hz
|
inline |
Initialize phasor with samplerate
|
inline |
Initialize phasor with samplerate and freq
|
inline |
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:
float Phasor::Process | ( | ) |
processes Phasor and returns current value
void Phasor::SetFreq | ( | float | freq | ) |
Sets frequency of the Phasor in Hz