Package com.pdplusplus
Class Oscillator
- java.lang.Object
-
- com.pdplusplus.PdMaster
-
- com.pdplusplus.Oscillator
-
public class Oscillator extends PdMaster
-
-
Field Summary
Fields Modifier and Type Field Description long
pointer
-
Constructor Summary
Constructors Constructor Description Oscillator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Oscillator
allocate()
static void
free(Oscillator osc)
double
perform(double frequency)
void
setPhase(double phase)
void
test()
-
Methods inherited from class com.pdplusplus.PdMaster
dbtopow, dbtorms, DEBUG, free, ftom, getBlockSize, getFFTWindow, getSampleRate, getTimeInMilliSeconds, getTimeInSampleTicks, mtof, powtodb, rmstodb, SET_DEBUG, setBlockSize, setFFTWindow, setSampleRate
-
-
-
-
Method Detail
-
allocate
public static Oscillator allocate()
-
free
public static void free(Oscillator osc)
-
perform
public double perform(double frequency)
-
setPhase
public void setPhase(double phase)
-
test
public void test()
-
-