MusicKit  0.0.0
SndAudioProcessorDistortion.h
00001 
00002 //
00003 //  SndAudioProcessorDistortion.h
00004 //  SndKit
00005 //
00006 //  Waveshaping Distortion / Limiter
00007 //
00008 //  Created by SKoT McDonald on Tue Dec 18 2001.
00009 //
00010 //  Based on the 1999 C++ Vellocet VFracDistort Cubase VST plugin by
00011 //  Vellocet / SKoT McDonald <skot@vellocet.com>
00012 //  http://www.vellocet.com
00013 //  (c) All rights reserved.
00014 //
00016 
00017 #ifndef __SNDKIT_SNDAUDIOPROCESSORDISTORTION_H__
00018 #define __SNDKIT_SNDAUDIOPROCESSORDISTORTION_H__
00019 
00020 #import <Foundation/Foundation.h>
00021 #import "SndAudioProcessor.h"
00022 
00031 enum {
00032   distort_kBoostAmount = 0,
00033   distort_kKnee        = 1,
00034   distort_kHardness    = 2,
00035   distort_kBoostRange  = 3,
00036   distort_kNumParams   = 4
00037 };
00038 
00040 
00047 @interface SndAudioProcessorDistortion : SndAudioProcessor {
00049   float   m_fBoostRange;  // in range [1..?]
00051   float   m_fBoostAmount;
00053   float   m_fBoost;
00055   float   m_fKnee;
00057   float   m_fHardness;
00058 }
00065 - (void)  setToDefault;
00072 - (void)  setBoostRange: (const float) fBoostRange;
00079 - (void)  setBoostAmount: (const float) fBoostAmount;
00086 - (void)  setKnee: (const float) fKnee;
00093 - (void)  setHardness: (const float) fHard;
00100 - (float) boostAmount;
00107 - (float) boostRange;
00114 - (float) knee;
00121 - (float) hardness;
00122 
00123 @end
00124 
00126 
00127 #endif