1 // 2 // PRCDFTLowPass.h 3 // PRICE 4 // DFT based LowPass filter controller 5 // 6 // Created by Riccardo Mottola on Sat Sep 13 2003. 7 // Copyright (c) 2003-2010 Carduus. All rights reserved. 8 // 9 // This application is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 10 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 11 12 #import <AppKit/AppKit.h> 13 14 15 #import "PRFilterController.h" 16 17 18 @interface PRCDFTLowPass : PRFilterController 19 { 20 IBOutlet NSWindow *filterWindow; 21 IBOutlet NSButton *autoRangeCheck; 22 IBOutlet NSSlider *passBandSlider; 23 IBOutlet NSSlider *stopBandSlider; 24 IBOutlet NSTextField *passBandVal; 25 IBOutlet NSTextField *passBandValPi; 26 IBOutlet NSTextField *stopBandVal; 27 IBOutlet NSTextField *stopBandValPi; 28 float passBandFreq; 29 float stopBandFreq; 30 BOOL autoRange; 31 } 32 33 - (IBAction)dftLPAutoRange:(id)sender; 34 - (IBAction)changeStopBand:(id)sender; 35 - (IBAction)changePassBand:(id)sender; 36 37 @end 38