Package com.pdplusplus
Class Envelope
- java.lang.Object
-
- com.pdplusplus.PdMaster
-
- com.pdplusplus.Envelope
-
public class Envelope extends PdMaster
-
-
Field Summary
Fields Modifier and Type Field Description long
pointer
-
Constructor Summary
Constructors Constructor Description Envelope()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Envelope
allocate()
static void
free(Envelope env)
int
getPeriod()
int
getWindowSize()
double
perform(double input)
void
setPeriod(int p)
void
setWindowSize(int ws)
-
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 Envelope allocate()
-
free
public static void free(Envelope env)
-
perform
public double perform(double input)
-
setWindowSize
public void setWindowSize(int ws)
-
setPeriod
public void setPeriod(int p)
-
getWindowSize
public int getWindowSize()
-
getPeriod
public int getPeriod()
-
-