Saving TTS to a file

Home Forums OpenEars Saving TTS to a file

Viewing 3 posts - 1 through 3 (of 3 total)

  • Author
  • #1019688

    I am very interested in saving a TTS phrase to a file. I understand that the speechData is basically a .wav file, but I’m a bit confused as to how I would go about setting that data.

    In a viewcontroller

    [self.fliteController say:@"This is what I want to say" withVoice:self.slt];
    NSData *myData;
    myData = [self.fliteController speechData];

    Any leads would be GREATLY appreciated.


    And a related followup question.

    Can the same be done with NeatSpeech (saving to a wav file instead of actually speaking at the time of creation).

    Halle Winkler


    Sorry, definitely can’t be done with NeatSpeech. Have you tried writing out speechData with:

    - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)useAuxiliaryFile;


Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.