Using FliteController to create an audio file but avoid playing it

Home Forums OpenEars Using FliteController to create an audio file but avoid playing it

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

  • Author
    Posts
  • #1022158
    jnanin
    Participant

    Hi,

    I am trying to create an audio file from a speech utterance with FliteController, and it works as expected:

    [self.fliteController say:message withVoice:self.slt];
    NSData *voiceData = self.fliteController.speechData;

    I can save that NSData to a file and plays perfectly.

    However, I’d like to avoid playing the message, but I don’t see how can I “load” the NSString message without playing it.

    I’ve tried with the following properties:

    [self.fliteController setQuietFlite:YES];
    [self.fliteController setNoAudioSessionOverrides:YES];

    But the audio file is played anyway.

    Any ideas?

    Thank you very much in advance.

    #1022159
    Halle Winkler
    Politepix

    Welcome,

    Sorry, this isn’t supported in the API.

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