Test_Envelopes.cpp File Reference

#include "Test_Support.cpp"

Defines

#define USE_TEST_MAIN
#define BASE_FREQ   110.0
 FM using 2 oscs and 2 ADSRs.

Functions

void testGliss ()
 Apply a glissando to a sine with a LineSegment.
void testSwell ()
 test an amplitude swell
void testARSin ()
 AM and FM using the dynamic scale and frequency inputs.
void testARSin2 ()
 Do the same using the Envelope as an effect.
void testFrequencyEnv ()
 Test an envelope applied to frequency.
void testAMFMEnvs ()
 Test an envelope applied to frequency & scale.
void testADSR2 ()
 Demonstrate an ADSR.
void testADSR_FM ()
void testRandFreqEnv ()
 test the rand env
UnitGeneratorcreateRandFreqEnvPatch (float dur)
 Function to create and answer a RandFreqEnv UGen patch.
void test50RandFreqEnv ()
 set up 50 RandFreqEnv patches
void testEnvScale ()
 test the use of scaling
void testFancy_FM ()
 FM with vibrato (with AR-envelope), attack chiff (filtered noise with AR-envelope), and random freq. drift and ampl. swell envelopes.
void testComplexEnvelope ()
 Make an envelope from scratch by adding breakpoints.
UnitGeneratorsosNote (float dur, float frq, float amp)
void testManyRandSOS ()
void runTests ()


Define Documentation

#define USE_TEST_MAIN
 

#define BASE_FREQ   110.0
 

FM using 2 oscs and 2 ADSRs.


Function Documentation

void testGliss  ) 
 

Apply a glissando to a sine with a LineSegment.

void testSwell  ) 
 

test an amplitude swell

void testARSin  ) 
 

AM and FM using the dynamic scale and frequency inputs.

void testARSin2  ) 
 

Do the same using the Envelope as an effect.

void testFrequencyEnv  ) 
 

Test an envelope applied to frequency.

void testAMFMEnvs  ) 
 

Test an envelope applied to frequency & scale.

void testADSR2  ) 
 

Demonstrate an ADSR.

void testADSR_FM  ) 
 

void testRandFreqEnv  ) 
 

test the rand env

UnitGenerator* createRandFreqEnvPatch float  dur  ) 
 

Function to create and answer a RandFreqEnv UGen patch.

void test50RandFreqEnv  ) 
 

set up 50 RandFreqEnv patches

void testEnvScale  ) 
 

test the use of scaling

void testFancy_FM  ) 
 

FM with vibrato (with AR-envelope), attack chiff (filtered noise with AR-envelope), and random freq. drift and ampl. swell envelopes.

void testComplexEnvelope  ) 
 

Make an envelope from scratch by adding breakpoints.

UnitGenerator* sosNote float  dur,
float  frq,
float  amp
 

void testManyRandSOS  ) 
 

void runTests  ) 
 


Generated on Sat Oct 17 14:12:34 2009 for CSL by  doxygen 1.4.5-20051010