Forum Replies Created
-
AuthorPosts
-
September 25, 2013 at 7:23 pm in reply to: Is there a way to trigger NeatSpeech to use the alternate pronunciation of words #1018427tbeagleyParticipant
Very helpful, thank you.
September 25, 2013 at 5:58 pm in reply to: Malloc_error when changing views in UINavigationController #1018421tbeagleyParticipantWorks like a charm, Halle.
Thanks for the amazing response!
I have another unrelated question, is it better to just start a new thread? (regarding word pronunciation and dictionaries)
September 25, 2013 at 5:31 pm in reply to: Malloc_error when changing views in UINavigationController #1018420tbeagleyParticipantI’ll let you know right away.
September 25, 2013 at 3:51 pm in reply to: Malloc_error when changing views in UINavigationController #1018418tbeagleyParticipantGreat to hear, thanks a ton.
September 25, 2013 at 3:42 pm in reply to: Malloc_error when changing views in UINavigationController #1018416tbeagleyParticipantJust checking in, any new info?
September 24, 2013 at 4:17 pm in reply to: Malloc_error when changing views in UINavigationController #1018405tbeagleyParticipantThanks for the quick replies, Halle. I appreciate the time you’ve given me.
I’ll attempt the workaround for now and I look forward to your updates.
September 24, 2013 at 4:05 pm in reply to: Malloc_error when changing views in UINavigationController #1018402tbeagleyParticipantNot sure if it helps, but here’s the code where the speech is triggered:
//labels from JSON data for visual and audio NSString *readLabels = [NSString stringWithFormat:@"%@%@%@",self.lblRead1.text,self.lblRead2.text,self.lblRead3.text]; //some lazy code based on the user's voice prefs (male or female) if ([voiceIsSet isEqualToString:voiceIsEmma]) { [self.fliteController sayWithNeatSpeech:readLabels withVoice:self.ealt]; } else { [self.fliteController sayWithNeatSpeech:readLabels withVoice:self.william]; }
September 24, 2013 at 4:02 pm in reply to: Malloc_error when changing views in UINavigationController #1018401tbeagleyParticipantDevice is an iPhone 4s and OS is 6.1.3 (most of the users in my company disregard os upgrades, so I’ll need to support 6.x for a while)
The issue also occurs on a 4s running iOS 7 and in the emulators running both versions.
September 24, 2013 at 3:55 pm in reply to: Malloc_error when changing views in UINavigationController #1018398tbeagleyParticipantI was really hoping to push this out today. I didn’t realize you were in Germany.
Here’s one of the buttons that would stop speech:
- (IBAction)btnBrowse:(id)sender { [self.fliteController stopSpeaking]; //go back to a url where we get some data from JSON NSString *website = [NSString stringWithFormat:@"...some URL"]; NSURL *url = [NSURL URLWithString:website]; NSURLRequest *requestURL = [NSURLRequest requestWithURL:url]; [webBoxPDF01 loadRequest:requestURL]; }
that stops the speech, but when I exit that view using the navigation controller’s back button it crashes.
And I’ve even taken to adding this to my .mm file for the view that uses fliteController:
- (void)dealloc { [self.fliteController stopSpeaking]; }
The voice stops speaking, but again, the app crashes.
September 24, 2013 at 3:36 pm in reply to: Malloc_error when changing views in UINavigationController #1018396tbeagleyParticipantYes, every button that takes the user away from the page of spoken contents sends that message, including when the view is changed.
I see that the command is obeyed (the speech stops) but as soon as the view controller unloads I get the error. Setting the break point in malloc_error_break doesn’t tell me much (I’m a bit new to Xcode and ObjC)
How do you typically handle having flite/openears in a navigation project with multiple views? Would you import everything into the AppDelegate files (or some other files) and reference from there? Or should it “just work” when resources are de or reallocated from one view to another view?
-
AuthorPosts