com.softsynth.jmsl.util
Class ChebyshevTableData
java.lang.Object
com.softsynth.jmsl.util.ChebyshevTableData
public class ChebyshevTableData
- extends java.lang.Object
ChebyshevTableData
Provides an array of short[] containing data generated by Chebyshev polynomial.
Input to Chebyshev is -1..1, output is -1..1, scaled to -32768..32767 and stored in short[]
- Author:
- Nick Didkovsky
Constructor Summary |
ChebyshevTableData(Polynomial cheb,
int numFrames)
Constructor which fills short[numFrames] with Chebyshev data -1..1 scaled to short
Note that any Polynomial can plug in here, just make sure output is -1..1 when input ranges from -1..1 |
Method Summary |
short[] |
getData()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChebyshevTableData
public ChebyshevTableData(Polynomial cheb,
int numFrames)
- Constructor which fills short[numFrames] with Chebyshev data -1..1 scaled to short
Note that any Polynomial can plug in here, just make sure output is -1..1 when input ranges from -1..1
getData
public short[] getData()
main
public static void main(java.lang.String[] args)