User Tag List

Results 1 to 6 of 6

Thread: iOS TTS extension?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,112
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    iOS TTS extension?

    Is anyone out there working on a TTS (text to speech) extension for iOS? I know there are various tools to be used, and possibly ported to the MMF infrastructure, but as of now it seems there are no options for us. Perhaps there's some sort of HTML 5 version that can work across platforms? I really don't know a ton about this but make good functionality such an extension.

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,112
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    iOS TTS extension?

    If anyone is interested, let me know

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,112
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    iOS TTS extension?

    I'd happily pay for such an extension, either relying on the built in TTS updates since iOS8 or third party SDKs. I could make such good use of such an extension!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Aug 2011
    Location
    Beverly Hills, CA USA
    Posts
    506
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ratty I could put this together for you formally in about 3 hours but it's easier to get people to produce these things if you let them know exactly the amount you'd pay them.

    You can also do this with a work-around by basically using an existing extension that you're not using. For example the Get Object which is used to get data via HTTP: since it allows you to set a string property so you override what Xcode normally does to do TTS. The steps are simple:

    1. Add the Get Object to your frame where you want to play audio
    2. Any time you want to do TTS call the GET URL method on the object with the string
    3. Generate a Full iOS Application
    4. Go to Classes->Extensions->CRunGet.h and add the following import #import <AVFoundation/AVFoundation.h>
    5. Go to Classes->Extensions->CRunGet.m and change the code for -(void)getURLNSString*)url to this:

    -(void)getURLNSString*)url
    {
    AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc]init];
    AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc]initWithString:url];
    AVSpeechSynthesisVoice *voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-GB"];

    // all these values are optional
    utterance.rate = 0.2f;
    utterance.pitchMultiplier = 0.8f;
    utterance.voice = voice;

    [synthesizer speakUtterance:utterance];
    }

    You can mess around with the rate, pitch and voice language. But in short ... this works. Make sure you target 7.1 and higher for your project.

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,112
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    iOS TTS extension?

    I'll certainly take a look at this but it may be beyond my capabilities. Thanks so much for posting. I appreciate it.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-on
    iamjot's Avatar
    Join Date
    Nov 2008
    Location
    Austria
    Posts
    712
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would be very cool. Same here: would be a fix-buy if i see it in the click store!

Similar Threads

  1. Extension manager not show any extension
    By pradeep in forum Fusion 2.5
    Replies: 7
    Last Post: 2nd April 2017, 11:44 PM
  2. [PAID] Extension developer wanted - data / array extension
    By SirEatAlot in forum Paid Design & Development Requests
    Replies: 2
    Last Post: 3rd June 2015, 05:29 PM
  3. MMF2 Extension Request : OE-Cake Fluid extension
    By pyromane in forum Extension Development
    Replies: 5
    Last Post: 1st July 2013, 03:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •