Package 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[]
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
Constructors Constructor Description 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
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ChebyshevTableData
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 Details
-
getData
public short[] getData() -
main
public static void main(java.lang.String[] args)
-