SndAudioProcessorReverb Class Reference

A reverb processor. More...

#import <SndAudioProcessorReverb.h>

Inheritance diagram for SndAudioProcessorReverb:

SndAudioProcessor

List of all members.

Public Member Functions

(id) - init
 Initialization method.
(BOOL) - processReplacingInputBuffer:outputBuffer:
 Process the inputBuffer, and replace the results in the output buffer.
(float) - paramValue:
 Gets the value of the indexed parameter.
(NSString *) - paramName:
 Gets the name of indexed parameter.
(void) - setParam:toValue:
 Sets the indexed parameter to the value given.

Protected Attributes

SndReverbCombFilter * comb [NUMCHANNELS][NUMCOMBS]
SndReverbAllpassFilter * allpass [NUMCHANNELS][NUMALLPASSES]


Detailed Description

A reverb processor.

A reverb based on FreeVerb originally written by Jezar at Dreampoint, June 2000


Member Function Documentation

- (id) init  

Initialization method.

Returns:
Returns self.

Reimplemented from SndAudioProcessor.

- (BOOL) processReplacingInputBuffer: (SndAudioBuffer *)  inB
outputBuffer: (SndAudioBuffer *)  outB 

Process the inputBuffer, and replace the results in the output buffer.

Overide this method with your own FX processing routines. There is nothing to stop inB and outB referring to the same buffer - be warned that replacing the output values in outB may change inB in these cases.

Parameters:
inB The input buffer
outB The output buffer
Returns:
BOOL indicates whether the output is held in outB (YES), or inB (NO). Means that processors that decide not to touch their data at all don't need to spend time copying between buffers.

Reimplemented from SndAudioProcessor.

- (float) paramValue: (const int)  index  

Gets the value of the indexed parameter.

Following the VST convention, this should be in the range [0,1]. No enforcement at the present time.

Parameters:
index Index of the parameter
Returns:
parameter value

Reimplemented from SndAudioProcessor.

- (NSString *) paramName: (const int)  index  

Gets the name of indexed parameter.

Parameters:
index Parameter index
Returns:
NSString with parameter name

Reimplemented from SndAudioProcessor.

- (void) setParam: (const int)  index
toValue: (const float)  value 

Sets the indexed parameter to the value given.

By VST convention, the argument v should be in the range [0,1]. If the internal parameter has a different range, this should be mapped internally.

Parameters:
index Index of the parameter to be set.
value Floating point value in the range [0,1]

Reimplemented from SndAudioProcessor.


Member Data Documentation

- (SndReverbCombFilter* comb[NUMCHANNELS][NUMCOMBS]) [protected]

Comb filters

- (SndReverbAllpassFilter* allpass[NUMCHANNELS][NUMALLPASSES]) [protected]

Allpass filters


The documentation for this class was generated from the following file:

Generated on Sat Dec 5 17:01:16 2009 for MusicKit by  doxygen 1.5.6