SPKitSchroederReverb
User's Guide
SPKitSchroederReverb is a reverberator class.
The internal configuration of a reverberator is illustrated below.
The organization of parallel combination of comb filters
and series combination of allpass filters were suggested by M.R. Schroeder
- hence the name SPKitSchroederReverb
(Dodge & Jerse 1985:233).
This is a 'monophonic' reverberator
i.e. it accepts a multichannel input signal but treats the channels separately.
The choice of loop times and reverberation times
for the interconnected unit reverberators (comb, allpass)
determines the character of the overall unit.
The parameters currently used in the reverberator
were selected to simulate the characteristics of a 'medium-sized concert hall'
(Dodge & Jerse 1985:235).
The parts of a Schroeder reverberator represent instances of the following classes:
Here's a simple example
of a program using the SPKitSchroederReverb class.
Programmer's Reference
Defined in <spkit/schroede.h>
Inherits from SPKitProcessor
SPKitSchroederReverb
defines a setInput() function
to set up the Schroeder reverberator object
and a setReverbTime() function
to set the reverbTime.
Public Members
- SPKitSchroederReverb()
- Initialize reverbTime to 1.0 seconds.
- SPKitError setInput(SPKitProcessor* newInput)
- Connect an object to its input and set up the Schroeder reverberator unit.
Calls
SPKitProcessor::setInput().
- void setReverbTime(SPKitFloat rt)
- Set reverberation time (in seconds).
- int getReverbTime (SPKitFloat value)
- Returns reverbTime.
Protected Members
- reverbTime
- reverberation time
- mux
- a multiplexer object
- comb1, comb2, comb3, comb4
- comb filter objects
- sum
- a sum object
- allpass1, allpass2
- allpass filter objects