Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this library? #1

Open
gedikmurat opened this issue Aug 19, 2012 · 5 comments
Open

How to use this library? #1

gedikmurat opened this issue Aug 19, 2012 · 5 comments

Comments

@gedikmurat
Copy link

please give me an example...

@xelplogoog
Copy link

so

Clone the project

what does it mean?
go to the organizer in the XCode (right top corner) or chose "Connect to a repository" when XCode starts
there type https://github.com/todoroo/iPhone-Speech-To-Text into Location textedit
yellow mark "auth required" will appear underneath
click next
type a name "SpeexToText" by example, choose Git in Type combobox
press clone
don't open now

Add the SpeechToText Xcode project to your project

create new own project
go to File -> add files to "myproject"
select SpeexToText.xcodeproj
project will add to your

In your project's settings, update the target's build phases by adding SpeechToText to the "Target Dependencies" section and libSpeechToText.a under the "Link Binary with Libraries" section.

select your project to the left, then "Build Phases" in the center
press Target Dependencies and + (plus)
select SpeexToText there and press Add button
press Link Binary with Libraries and +
select "libSpeexToText.a" there and Add

Under the target's Build Settings tab, add the iPhone-Speech-to-Text directory (i.e. the path on your hard drive to wherever it exists) to the "Header Search Paths" field, and click the box marked "Recursive"

now go to the Build Settings tab and type "header" into search textedit
find "Header Search Path" and type full path to the cloned SpeexToText project, "/Users/user/Desktop/SpeechToText" for me, I saved it to the my desktop earlier

Import "SpeechToTextModule.h" wherever you want to use it!

go to ViewController.h and add
#import "SpeechToTextModule.h"

@interface ViewController : UIViewController {
SpeechToTextModule *stt;
}
in ViewController.m file add this line to viewDidLoad
stt = [[SpeechToTextModule alloc] initWithCustomDisplay:NULL];

add button and
[stt beginRecording];

DONE, ENJOY

very very big respect & thx to author for that!
sorry for my english

@gedikmurat
Copy link
Author

Thanks for your answer. I have already successfully used the library but I don't to use showSineWaveView method. Now I have look at your library codes and I understand. I thought that this method show another rolling sine wave view :) Sorry, my English not well so I was misunderstanding your description when I read it first time.

Thanks for your simple and beautiful library.

@sahu74
Copy link

sahu74 commented Oct 11, 2012

Should i use the libspeech.a directly or i should i build it and add/clone it

@sahu74
Copy link

sahu74 commented Oct 11, 2012

It did not work for me . Please help me

@Vishal-Singh-Panwar
Copy link

In the second step, I dont see "SpeexToText" when I click add button, I only see "SpeexToText" if I add the complete folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants