diff options
author | Phil Burk <[email protected]> | 2015-11-03 07:50:16 -0800 |
---|---|---|
committer | Phil Burk <[email protected]> | 2015-11-03 07:50:16 -0800 |
commit | dc2096655c55064b1880121b13e8f3d6f9bf4f30 (patch) | |
tree | 4d1660a7fb7c61013c851197a6768736acc60835 | |
parent | ce45e397cd3e3871aa197f0b3af424d9c3dd5403 (diff) | |
parent | 09f2f172e87fdb29453a34cac49c27f7cc215455 (diff) |
Merge pull request #11 from philburk/bumpdate
Bump build date, add FFT test
-rw-r--r-- | src/com/jsyn/JSyn.java | 14 | ||||
-rw-r--r-- | tests/com/jsyn/SynthTestSuite.java | 8 |
2 files changed, 12 insertions, 10 deletions
diff --git a/src/com/jsyn/JSyn.java b/src/com/jsyn/JSyn.java index bc6f813..6185bb0 100644 --- a/src/com/jsyn/JSyn.java +++ b/src/com/jsyn/JSyn.java @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -27,7 +27,7 @@ import com.jsyn.engine.SynthesisEngine; * how to start playing a sine wave: <code><pre> // Create a context for the synthesizer. synth = JSyn.createSynthesizer(); - + // Start synthesizer using default stereo output at 44100 Hz. synth.start(); @@ -47,7 +47,7 @@ import com.jsyn.engine.SynthesisEngine; // We only need to start the LineOut. It will pull data from the oscillator. lineOut.start(); </pre></code> - * + * * @author Phil Burk (C) 2010 Mobileer Inc */ public class JSyn { @@ -55,9 +55,9 @@ public class JSyn { private final static int VERSION_MAJOR = 16; private final static int VERSION_MINOR = 7; private final static int VERSION_REVISION = 5; - public final static int BUILD_NUMBER = 458; - private final static long BUILD_TIME = new GregorianCalendar(2014, GregorianCalendar.DECEMBER, - 25).getTime().getTime(); + public final static int BUILD_NUMBER = 459; + private final static long BUILD_TIME = new GregorianCalendar(2015, GregorianCalendar.NOVEMBER, + 2).getTime().getTime(); public final static String VERSION = VERSION_MAJOR + "." + VERSION_MINOR + "." + VERSION_REVISION; diff --git a/tests/com/jsyn/SynthTestSuite.java b/tests/com/jsyn/SynthTestSuite.java index 25a89c8..958bd4f 100644 --- a/tests/com/jsyn/SynthTestSuite.java +++ b/tests/com/jsyn/SynthTestSuite.java @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -31,11 +31,12 @@ import com.jsyn.unitgen.TestEnvelopeAttackDecay; import com.jsyn.unitgen.TestEnvelopeDAHDSR; import com.jsyn.unitgen.TestFunction; import com.jsyn.unitgen.TestRamps; +import com.jsyn.util.TestFFT; import com.jsyn.util.TestVoiceAllocator; /** * Test new pure Java JSyn API. - * + * * @author Phil Burk (C) 2010 Mobileer Inc */ public class SynthTestSuite { @@ -56,6 +57,7 @@ public class SynthTestSuite { suite.addTestSuite(TestFifo.class); suite.addTestSuite(TestEnable.class); suite.addTestSuite(TestFunction.class); + suite.addTestSuite(TestFFT.class); // suite.addTestSuite( TestSampleLoader.class ); suite.addTestSuite(TestWaveFileReadWrite.class); suite.addTestSuite(TestVoiceAllocator.class); |