iOS/Csound iOS Obj-C Examples/Csound iOS Examples/ViewControllers/MidiTest/MidiTestViewController.h
raw symbols SCIP| 1 | /* |
| 2 | |
| 3 | MidiTestViewController.h: |
| 4 | |
| 5 | Copyright (C) 2014 Steven Yi, Aurelius Prochazka |
| 6 | Updated in 2017 by Dr. Richard Boulanger, Nikhil Singh |
| 7 | |
| 8 | This file is part of Csound iOS Examples. |
| 9 | |
| 10 | The Csound for iOS Library is free software; you can redistribute it |
| 11 | and/or modify it under the terms of the GNU Lesser General Public |
| 12 | License as published by the Free Software Foundation; either |
| 13 | version 2.1 of the License, or (at your option) any later version. |
| 14 | |
| 15 | Csound is distributed in the hope that it will be useful, |
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | GNU Lesser General Public License for more details. |
| 19 | |
| 20 | You should have received a copy of the GNU Lesser General Public |
| 21 | License along with Csound; if not, write to the Free Software |
| 22 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
| 23 | 02111-1307 USA |
| 24 | |
| 25 | */ |
| 26 | |
| 27 | #import <UIKit/UIKit.h> |
| 28 | #import "BaseCsoundViewController.h" |
| 29 | #import "MIDIWidgetsManager.h" |
| 30 | #import "CsoundVirtualKeyboard.h" |
| 31 | |
| 32 | @interface MidiTestViewController : BaseCsoundViewController <CsoundObjListener, |
| 33 | CsoundVirtualKeyboardDelegate> { |
| 34 | |
| 35 | IBOutlet UISlider *mAttackSlider; |
| 36 | IBOutlet UISlider *mDecaySlider; |
| 37 | IBOutlet UISlider *mSustainSlider; |
| 38 | IBOutlet UISlider *mReleaseSlider; |
| 39 | |
| 40 | IBOutlet UISlider *mCutoffSlider; |
| 41 | IBOutlet UISlider *mResonanceSlider; |
| 42 | |
| 43 | IBOutlet UISwitch *mSwitch; |
| 44 | MidiWidgetsManager* widgetsManager; |
| 45 | |
| 46 | } |
| 47 | |
| 48 | -(IBAction) toggleOnOff:(id)component; |
| 49 | -(IBAction) midiPanic:(id)component; |
| 50 | |
| 51 | @end |