SndAudioProcessorDelay Class Reference

A delay processor. More...

#import <SndAudioProcessorDelay.h>

Inheritance diagram for SndAudioProcessorDelay:

SndAudioProcessor

List of all members.

Public Member Functions

(id) - setLength:andFeedback:
(id) - freemem

Static Public Member Functions

(id) + delayWithLength:feedback:
 Factory method.

Protected Attributes

float * chanL
float * chanR
float feedback
long length
long readPos
long writePos
NSLock * processingLock


Detailed Description

A delay processor.

To come - see base class.


Member Function Documentation

+ (id) delayWithLength: (const long)  nSams
feedback: (const float)  fFB 

Factory method.

Parameters:
nSams Delay length in sample frames.
fFB Percentage of feedback.
Returns:
A freshly initialized, autoreleased delay processor.

- (id) setLength: (const long)  nSams
andFeedback: (const float)  fFB 

Parameters:
nSams 
fFB 
Returns:

- (id) freemem  

Returns:
self


Member Data Documentation

- (float*) chanL [protected]

chanL temporary delay buffer (left channel)

- (float*) chanR [protected]

chanR temporary delay buffer (right channel)

- (float) feedback [protected]

feedback The normalised amount of signal summed from earlier time.

- (long) length [protected]

length Delay length in samples.

- (long) readPos [protected]

readPos The delayed sample to next read from.

- (long) writePos [protected]

writePos The delay sample to save.

- (NSLock*) processingLock [protected]

processingLock So we can't resize the delay lines whilst using them!


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