Klang C++
Language Reference (draft)
|
A phase or wavetable increment. More...
#include <klang.h>
Public Member Functions | |
increment (float amount, const float size=2 *pi) | |
Create a phase increment (default to radians). | |
increment (float amount, int size) | |
Create a phase increment (wavetable size). | |
increment (float amount, double size) | |
Create a phase increment. | |
increment & | operator= (float in) |
Set current phase. | |
Public Attributes | |
float | amount |
The current phase. | |
const float | size |
The length of a a full cycle (e.g. 2 pi or wavetable size) | |
|
inline |
Definition at line 644 of file klang.h.
|
inline |
|
inline |
|
inline |
float klang::increment::amount |
Definition at line 640 of file klang.h.
Referenced by increment(), increment(), increment(), klang::Phase::operator+(), klang::param::operator+=(), klang::Phase::operator+=(), and operator=().
const float klang::increment::size |
Definition at line 641 of file klang.h.
Referenced by increment(), increment(), increment(), klang::Phase::operator+(), klang::param::operator+=(), and klang::Phase::operator+=().