12 #define undenormalise(samplev) if (((*(unsigned int*)&samplev)&0x7f800000) == 0) samplev = 0.0f
76 inline float process(
float inp);
101 inline float process(
float inp);
126 float output = -input + bufout;
void constructReverbGraph()
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
Effect – mix-in for classes that have unit generators as inputs (like filters).
void setWidth(float width)
Currently not used, as this reverb became mono in/out.
void setDampening(float damp)
Specified in percentage (from 0 to 100%).
void setDampening(float damp)
void setBuffer(float *buf, int size)
void setDryLevel(float level)
Amount of the original "dry" signal in the output.
void setRoomSize(float size)
Setting the room size makes longer tails. The value has a range from 0 to 1.
std::vector< FAllpass * > mAllpassFilters
void setBuffer(float *buf, int size)
SampleBufferVector mAllpassBuffers
void setDryLevel(float level)
void setWetLevel(float level)
Amount of wet (reverberation) in the mixed output.
#define undenormalise(samplev)
Scalable – mix-in class with scale and offset control inputs (may be constants or generators)...
void nextBuffer(Buffer &outputBuffer, unsigned outBufNum)
really compute the next buffer given an offset base channel; this is called by nextBuffer, possibly multiple times
void setFeedback(float val)
void setRoomSize(float size)
bool isActive()
am I active?
CSL port of the public domain Freeverb reverberator.
Stereoverb(UnitGenerator &input)
void setFeedback(float val)
Splitter class – a de-multiplexer for multi-channel signals.
void setWidth(float width)
void nextBuffer(Buffer &outputBuffer)
I'm stereo.
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
Joiner class – a multiplexer for multi-channel signals.
Freeverb(UnitGenerator &input)
SampleBuffer * SampleBufferVector
Multi-channel buffer data type, vector of (SampleBuffer)
std::vector< Comb * > mCombFilters
SampleBufferVector mCombBuffers
void setWetLevel(float level)
Base class of CSL exceptions (written upper-case). Has a string message.