marytts.tests.junit4
Class FFTTest
java.lang.Object
marytts.tests.junit4.FFTTest
public class FFTTest
- extends java.lang.Object
- Author:
- Marc Schröder
|
Field Summary |
protected int |
LEN
|
protected int |
ONE
|
protected double[] |
x1
|
protected double[] |
x2
|
protected double[] |
y
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEN
protected int LEN
ONE
protected int ONE
x1
protected double[] x1
x2
protected double[] x2
y
protected double[] y
FFTTest
public FFTTest()
showGraph
protected FunctionGraph showGraph(double[] array,
java.lang.String title)
setUp
public void setUp()
testTransform
public void testTransform()
testConvolution
public void testConvolution()
testFIRConvolution
public void testFIRConvolution()
getSampleSignal
public static double[] getSampleSignal(int length)
getSampleSignal
public static double[] getSampleSignal(int lengthInSamples,
int samplingFrequency,
int signalFrequency)