Forum Replies Created
-
AuthorPosts
-
February 5, 2015 at 5:32 pm in reply to: rapidEarsDidDetectLiveSpeechAsWordArray not being called #1024712foobar8675Participant
Whoops. Thank you for pointing that out.
February 5, 2015 at 5:12 pm in reply to: rapidEarsDidDetectLiveSpeechAsWordArray not being called #1024710foobar8675ParticipantThank you Halle.
I believe I have implemented as per the docs since the the first two delegate callbacks from my initial post are being called. The issue is the second two delegate callbacks are not being called.
Just to double check things, I went through the following steps :
– I added the import for #import <RapidEarsDemo/OEEventsObserver+RapidEars.h>
– made sure OEEventsObserver is a property
– I double checked that I am using startRealtimeListeningWithLanguageModelAtPath instead of startListeningWithLanguageModelAtPathfoobar8675ParticipantHalle,
One other note I failed to mention is I start to listen again in a didBecomeActive notification handler since my AVAudioSessionInterruptionNotification observer was not being called on interruption end as well. This is only when actually accepting the FaceTime call. When calling on FaceTime but not accepting, the interruption end is called as expected.
foobar8675ParticipantThanks for responding Halle. Do you think rulesorama might work? I was thinking, for example, if a user spelled the name for one of 3 users :
Tom
Ben
Mikethe grammer could look like
ThisWillBeSaidOnce : @[
@{ OneOfTheseWillBeSaidOnce : @[@”T”, @”B”, @”M”]},
@{ OneOfTheseCanBeSaidOnce : @[@”O”, @”E”, @”I”]},
@{ OneOfTheseCanBeSaidOnce : @[@”M”, @”N”, @”K”]},
@{ OneOfTheseCanBeSaidOnce : @[@”E”]},Or is it obvious to everyone but me that this would that fall apart with a larger number of names (say over 100)?
foobar8675ParticipantA thought is to sanity check the framework search paths to make sure they point to the right framework.
foobar8675Participantgot it working! thanks!
foobar8675Participanthmm, I just re-downloaded and still am getting a compile issue (below) . Not sure why since I see OpenEars is clearly in the Framework search paths. thoughts? out of curiosity, have you updated to xcode 6.1.1? maybe that is why it’s working for you and not me?
Ld /Users/matthewchung/Library/Developer/Xcode/DerivedData/OpenEarsSampleApp-ethuwcspbfgfdjbccnjuyixmmfpb/Build/Products/Debug-iphoneos/OpenEarsSampleApp.app/OpenEarsSampleApp normal armv7
cd /Users/matthewchung/Downloads/OpenEarsDistribution/OpenEarsSampleApp
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH=”/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -L/Users/matthewchung/Library/Developer/Xcode/DerivedData/OpenEarsSampleApp-ethuwcspbfgfdjbccnjuyixmmfpb/Build/Products/Debug-iphoneos -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/usr/lib/system -F/Users/matthewchung/Library/Developer/Xcode/DerivedData/OpenEarsSampleApp-ethuwcspbfgfdjbccnjuyixmmfpb/Build/Products/Debug-iphoneos -F../../OpenEarsDistribution/Framework -F../../OpenEarsDistribution/Framework/AcousticModelEnglish.bundle -F../../OpenEarsDistribution/Framework/AcousticModelSpanish.bundle -filelist /Users/matthewchung/Library/Developer/Xcode/DerivedData/OpenEarsSampleApp-ethuwcspbfgfdjbccnjuyixmmfpb/Build/Intermediates/OpenEarsSampleApp.build/Debug-iphoneos/OpenEarsSampleApp.build/Objects-normal/armv7/OpenEarsSampleApp.LinkFileList -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework AudioToolbox -framework Slt -framework AVFoundation -framework CoreGraphics -framework UIKit -framework Foundation -framework OpenEars -Xlinker -dependency_info -Xlinker /Users/matthewchung/Library/Developer/Xcode/DerivedData/OpenEarsSampleApp-ethuwcspbfgfdjbccnjuyixmmfpb/Build/Intermediates/OpenEarsSampleApp.build/Debug-iphoneos/OpenEarsSampleApp.build/Objects-normal/armv7/OpenEarsSampleApp_dependency_info.dat -o /Users/matthewchung/Library/Developer/Xcode/DerivedData/OpenEarsSampleApp-ethuwcspbfgfdjbccnjuyixmmfpb/Build/Products/Debug-iphoneos/OpenEarsSampleApp.app/OpenEarsSampleAppld: framework not found OpenEars
clang: error: linker command failed with exit code 1 (use -v to see invocation)foobar8675ParticipantThis is awesome news!
I downloaded openears from https://www.politepix.com/openears/ and tried running the OpenEarsSampleApp.
I ran into some compile errors, which I attempted to fix by changing the framework search paths (which references Users/me/…) to ../Framework but then got an error saying
ld: framework not found OpenEars
which I’m not sure how to fix.
foobar8675ParticipantHi Halle,
just checking in to see if you had any thoughts on my last post.
foobar8675ParticipantExcellent. Thank you.
foobar8675Participantfirst, thanks for responding Halle. i moved the related code (the wrapper at least) to the first root vc per your suggestion and noticed when i comment out the method on line 117 https://github.com/captainchung/openearstest/blob/master/EarsTest/SISpinxHelper.m
it seems to work ok. however, when it is not commented , i get the errors listed before and when the avaudioplayer resumes playback, it does so at a higher volume .
i think i’m fine with it the way it is – however i’m not sure why the audio resumes playback at a louder volume. this is more curiosity, but do you have any thoughts as to why that is?
-
AuthorPosts