#include "Test_Support.cpp"
#include "SoundFileL.h"
#include "SimpleSines.h"
#include <SHARC.h>
Defines | |
| #define | USE_TEST_MAIN |
| #define | TABLE_SIZE 128 |
Functions | |
| void | testSweep () |
| Apply a glissando and swell to a sine oscillator with LineSegments. | |
| void | testSimpleSines () |
| Simplest sine wave tests using the tutorial example classes. | |
| void | testBasicWaves () |
| Test/demonstrate the basic waveform oscillators. | |
| void | testScaledSin () |
| Scaled sine wave -- 3 methods: with a MulOp and using the Sine's scale input. | |
| void | testWavetableInterpolation () |
| void | testAMFMSin () |
| AM and FM using the dynamic scale and frequency inputs. | |
| void | dumpAMFMSin () |
| use the dumpTest call to dump the whole graph | |
| void | testSumOfSinesCached () |
| Play a sum of sines waveform -- cached harmonic overtone series. | |
| void | testSumOfSines1F () |
| Play a sum of sines waveform -- 1/f + noise. | |
| void | testSumOfSinesSteps () |
| void | testSumOfSinesNonCached () |
| void | testWaveTableFromFile () |
| Load an oscillator's wave table from a file -- a single cycle of the vowel "oo" from the word "moon". | |
| void | test_SHARC () |
| Test loading the SHARC samples. | |
| void | test_SHARC2 () |
| test vector SHARC - load 3 spectra into SOS oscillators and cross-fade | |
| void | runTests () |
|
|
|
|
|
Test truncating and interpolating wavetable osc with a small wavetable (these should sound different because of the truncation error in the first tone) |
|
|
Apply a glissando and swell to a sine oscillator with LineSegments.
|
|
|
Simplest sine wave tests using the tutorial example classes.
|
|
|
Test/demonstrate the basic waveform oscillators.
|
|
|
Scaled sine wave -- 3 methods: with a MulOp and using the Sine's scale input.
|
|
|
|
|
|
AM and FM using the dynamic scale and frequency inputs.
|
|
|
use the dumpTest call to dump the whole graph
|
|
|
Play a sum of sines waveform -- cached harmonic overtone series.
|
|
|
Play a sum of sines waveform -- 1/f + noise.
|
|
|
|
|
|
Now test an uncached inharmonic series constructor format 3 = list of (freq/amp/phase) for (not-necessarily-harmonic) overtones Since it's a non-harmonic overtone series in this example, we can't cache a wavetable |
|
|
Load an oscillator's wave table from a file -- a single cycle of the vowel "oo" from the word "moon".
|
|
|
Test loading the SHARC samples.
|
|
|
test vector SHARC - load 3 spectra into SOS oscillators and cross-fade
|
|
|
|
1.4.5-20051010