MusicKit  0.0.0
Public Member Functions | Protected Attributes
SndAudioProcessorReverb Class Reference

A reverb processor. More...

#import <SndAudioProcessorReverb.h>

Inheritance diagram for SndAudioProcessorReverb:
SndAudioProcessor 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.
(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.

- (id) init

Initialization method.

Returns:
Returns self.

Reimplemented from SndAudioProcessor.

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

Gets the name of indexed parameter.

Parameters:
indexParameter index
Returns:
NSString with parameter name

Reimplemented from SndAudioProcessor.

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

Gets the name of indexed parameter.

Parameters:
indexParameter index
Returns:
NSString with parameter name

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:
indexIndex of the parameter
Returns:
parameter value

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:
indexIndex of the parameter
Returns:
parameter value

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:
inBThe input buffer
outBThe 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.

- (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:
inBThe input buffer
outBThe 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.

- (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:
indexIndex of the parameter to be set.
valueFloating point value in the range [0,1]

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:
indexIndex of the parameter to be set.
valueFloating point value in the range [0,1]

Reimplemented from SndAudioProcessor.


Member Data Documentation

- (SndReverbAllpassFilter *) allpass [protected]

Allpass filters

- (SndReverbCombFilter *) comb [protected]

Comb filters


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