source: orbit/iOS/Orbit/Orbit/SignalConverter.h @ 9015b1e

RawEEGServoTab_Interfacepyramid
Last change on this file since 9015b1e was 9015b1e, checked in by Jonathon Horsman <jonathon@…>, 7 years ago

UI working with headset correctly now.
Check Bluetooth enabled and volume at full

  • Property mode set to 100644
File size: 846 bytes
Line 
1//
2//  SignalConverter.h
3//  orbit
4//
5//  Created by Jonathon Horsman on 11/07/2013.
6//  Copyright (c) 2013 Puzzlebox Productions, LLC. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <AVFoundation/AVFoundation.h>
11#import "TGAccessoryManager.h"
12#import "TGAccessoryDelegate.h"
13#import "SignalConverterDelegate.h"
14
15@interface SignalConverter : NSObject <TGAccessoryDelegate> {
16    AVAudioPlayer *audioPlayer;
17}
18
19@property (weak) id <SignalConverterDelegate> delegate;
20@property (nonatomic) float attentionThreshold;
21@property (nonatomic) float meditationThreshold;
22@property (nonatomic) BOOL running;
23
24
25- (void) setValuesForAttention:(float) attention meditation:(float) meditation;
26- (void) prepare;
27- (BOOL) startProcessing;
28- (void) stopProcessing;
29- (void) appStopped;
30- (BOOL) isBluetoothReady;
31- (BOOL) isVolumeMax;
32
33@end
Note: See TracBrowser for help on using the repository browser.