MusicKit  0.0.0
Public Member Functions | Static Public Member Functions | Protected Attributes
SndAudioProcessorDelay Class Reference

A delay processor. More...

#import <SndAudioProcessorDelay.h>

Inheritance diagram for SndAudioProcessorDelay:
SndAudioProcessor SndAudioProcessor

List of all members.

Public Member Functions

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

Static Public Member Functions

(id) + delayWithLength:feedback:
 Factory method.
(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:
nSamsDelay length in sample frames.
fFBPercentage of feedback.
Returns:
A freshly initialized, autoreleased delay processor.
+ (id) delayWithLength: (const long)  nSams
feedback: (const float)  fFB 

Factory method.

Parameters:
nSamsDelay length in sample frames.
fFBPercentage of feedback.
Returns:
A freshly initialized, autoreleased delay processor.
- (id) freemem
Returns:
self
- (id) freemem
Returns:
self
- (id) setLength: (const long)  nSams
andFeedback: (const float)  fFB 
Parameters:
nSams
fFB
Returns:
- (id) setLength: (const long)  nSams
andFeedback: (const float)  fFB 
Parameters:
nSams
fFB
Returns:

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.

- (NSLock *) processingLock [protected]

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

- (long) readPos [protected]

readPos The delayed sample to next read from.

- (long) writePos [protected]

writePos The delay sample to save.


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