source: orbit/iOS/Orbit/Orbit/SignalConverter.h @ ad40faa

ServoTab_Interfacepyramid
Last change on this file since ad40faa was ad40faa, checked in by Steve Castellotti <sc@…>, 7 years ago

Orbit:

  • reverted to WAV output
  • Property mode set to 100644
File size: 1.1 KB
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 <MediaPlayer/MediaPlayer.h>
11#import <AVFoundation/AVFoundation.h>
12#import "TGAccessoryManager.h"
13#import "TGAccessoryDelegate.h"
14#import "SignalConverterDelegate.h"
15#import "AudioGenerator.h"
16
17@interface SignalConverter : NSObject <TGAccessoryDelegate> {
18   // Generate Signal
19//   AudioGenerator *audioPlayer;
20   // Play WAV
21   AVAudioPlayer *audioPlayer;
22}
23
24@property (weak) id <SignalConverterDelegate> delegate;
25@property (nonatomic) float attentionThreshold;
26@property (nonatomic) float meditationThreshold;
27@property (nonatomic) BOOL running;
28@property (nonatomic) BOOL testing;
29
30
31- (void) setValuesForAttention:(float) attention meditation:(float) meditation;
32- (BOOL) startProcessing;
33- (void) stopProcessing;
34- (void) appStopped;
35- (BOOL) isBluetoothReady;
36- (BOOL) isVolumeMax;
37- (BOOL) isAudioJackPlugged;
38- (void) setYaw:(int)y throttle:(int)t pitch:(int)p;
39- (void) playTestSound;
40- (void) stopTestSound;
41- (void) prepareAudio;
42
43@end
Note: See TracBrowser for help on using the repository browser.