00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00016
00017 #ifndef __SNDKIT_SNDAUDIOPROCESSORDELAY_H__
00018 #define __SNDKIT_SNDAUDIOPROCESSORDELAY_H__
00019
00020 #import <Foundation/Foundation.h>
00021 #import "SndAudioProcessor.h"
00022
00030 enum SndDelayParam {
00031 dlyLength = 0,
00032 dlyFeedback = 1,
00033 dlyNumParams = 2
00034 };
00035
00037
00044 @interface SndAudioProcessorDelay : SndAudioProcessor
00045 {
00047 float *chanL;
00049 float *chanR;
00051 float feedback;
00053 long length;
00055 long readPos;
00057 long writePos;
00059 NSLock *processingLock;
00060 }
00061
00068 + delayWithLength: (const long) nSams feedback: (const float) fFB;
00069
00076 - setLength: (const long) nSams andFeedback: (const float) fFB;
00077
00082 - freemem;
00083
00084 @end
00085
00087
00088 #endif