2 // iSCSynthController.h
5 // Created by Axel Balley on 21/10/08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
9 #import <UIKit/UIKit.h>
10 #import "FileBrowserViewController.h"
13 #include "SC_HiddenWorld.h"
14 #include "SC_CoreAudio.h"
15 #include "SC_WorldOptions.h"
17 @interface iSCSynthController
: NSObject
<UITabBarControllerDelegate
> {
24 IBOutlet UILabel
*avgCPULabel
;
25 IBOutlet UILabel
*peakCPULabel
;
26 IBOutlet UILabel
*synthsLabel
;
27 IBOutlet UILabel
*ugensLabel
;
28 IBOutlet UISwitch
*speakerSwitch
;
29 IBOutlet UIButton
*freeAllButton
;
31 IBOutlet UITextView
*logView
;
33 IBOutlet UIViewController
*logViewController
;
34 IBOutlet FileBrowserViewController
*synthdefsViewController
;
38 - (IBAction
) toggleState
:(id
)sender
;
39 - (IBAction
) toggleSpeaker
:(id
)sender
;
40 - (IBAction
) triggerFreeAll
:(id
)sender
;
43 - (void) freeAllNodes
;
44 - (void) update
:(NSTimer
*)timer
;
45 - (void) log
:(NSString
*)string
;
46 - (void) selectSynthdef
:(NSString
*)string
;