com.softsynth.jmsl.util
Class HarmonicPolynomial
java.lang.Object
com.softsynth.jmsl.util.HarmonicPolynomial
public class HarmonicPolynomial
- extends java.lang.Object
HarmonicPolynomial
This is just like ChebyshevPolynomial, except T0 is defined to be 0 instead of 1. This eliminates DC.
If you want to load a JSyn table with this, use PolynomialTableData, *not* ChebyshevTableData.
PolynomialTableData does scaling and renormalizing, also provides peak amp data for complitude scaling.
- Author:
- Nick Didkovsky
Method Summary |
static void |
main(java.lang.String[] args)
|
static Polynomial |
T(int order)
Calculates non-DC Chebyshev polynomial of specified integer order. |
static Polynomial |
TRecurse(int order)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HarmonicPolynomial
public HarmonicPolynomial()
T
public static Polynomial T(int order)
- Calculates non-DC Chebyshev polynomial of specified integer order. Recursively generated using relation Tk+1(x) = 2xTk(x) - Tk-1(x)
- Returns:
- Chebyshev polynomial of specified order
TRecurse
public static Polynomial TRecurse(int order)
main
public static void main(java.lang.String[] args)