- java.lang.Object
-
- com.pdplusplus.PdMaster
-
- com.pdplusplus.Phasor
-
public class Phasor extends PdMaster
-
-
Field Summary
Fields Modifier and Type Field Description long
pointer
-
Constructor Summary
Constructors Constructor Description Phasor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Phasor
allocate()
static void
free(Phasor ph)
double
getFrequency()
double
getPhase()
double
perform(double f)
void
setFrequency(double freq)
void
setPhase(double phase)
-
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 Phasor allocate()
-
free
public static void free(Phasor ph)
-
perform
public double perform(double f)
-
setPhase
public void setPhase(double phase)
-
getPhase
public double getPhase()
-
setFrequency
public void setFrequency(double freq)
-
getFrequency
public double getFrequency()
-
-