-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHowdyTalkViewController.h
47 lines (24 loc) · 1.08 KB
/
HowdyTalkViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// HowdyTalkViewController.h
// Howdy
//
// Created by Edan Lichtenstein on 3/3/14.
// Copyright (c) 2014 Edan Lichtenstein. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
#import <OpenEars/PocketsphinxController.h>
#import <OpenEars/AcousticModel.h>
#import <OpenEars/OpenEarsEventsObserver.h>
@class HowdyTalkViewController;
typedef void (^AudioNoteRecorderFinishBlock) (BOOL wasRecordingTaken, NSURL *recordingURL) ;
@interface HowdyTalkViewController : UIViewController <AVAudioRecorderDelegate, AVAudioPlayerDelegate, OpenEarsEventsObserverDelegate>
- (IBAction)howdyButtonPressed:(UIButton *)sender;
//@property (weak, nonatomic) IBOutlet UILabel *heardWordList;
@property (weak, nonatomic) IBOutlet UILabel *recordingLengthLabel;
@property (weak, nonatomic) IBOutlet UILabel *statusLabel;
@property (strong, nonatomic) PocketsphinxController *pocketsphinxController;
@property (strong, nonatomic) OpenEarsEventsObserver *openEarsEventsObserver;
@end