iOS TextToSpeech extension for free
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
iOS TextToSpeech extension for free
Hi All,
I use this extension for four months with successs (LC 9.5.0, iOS 13.1.2)
I'm happy to announce you may get it fro free.
Two "computer science" students from the Federal Polytechnic School of Lausanne "have agreed to put their skills to the service of EcrireEnPictos with this extension © 2020 -
LiveCode-Extension-iOS-SpeechSynthetizer.
Simon Wicky & Samuel Chassot, from Bulle en Gruyère (Friborg - Switzerland), wanted to offer this extension under the MIT License.
Alternatic.ch and Erucipe would like to thank the fine Simon & Sam team (SwissEduHack) for their very professional work which has given complete satisfaction.
This extension is free, you may get it here.
https://github.com/SwissEduHack/LiveCod ... ynthetizer
Copyright (c) 2020 Simon Wicky & Samuel Chassot
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
According to fr.wikepdia.org, the license gives anyone receiving the software (and its files) the unlimited right to use it, copy it, modify it, merge it, publish it, distribute it, sell it and "under - license holder "(incorporate it into another license). The only obligation is to incorporate the license and copyright notice in all copies.
Alternatic.ch and Erucipe would like to thank the fine Simon & Sam team (SwissEduHack) for their very professional work which has given complete satisfaction.
We wish them a great student and professional journey to come!
For Alternatic: Elvio FISLER, president
For Erucipe: Jean-Marc BURNOD, software designer with LiveCode
Best regards
Jean-Marc
I use this extension for four months with successs (LC 9.5.0, iOS 13.1.2)
I'm happy to announce you may get it fro free.
Two "computer science" students from the Federal Polytechnic School of Lausanne "have agreed to put their skills to the service of EcrireEnPictos with this extension © 2020 -
LiveCode-Extension-iOS-SpeechSynthetizer.
Simon Wicky & Samuel Chassot, from Bulle en Gruyère (Friborg - Switzerland), wanted to offer this extension under the MIT License.
Alternatic.ch and Erucipe would like to thank the fine Simon & Sam team (SwissEduHack) for their very professional work which has given complete satisfaction.
This extension is free, you may get it here.
https://github.com/SwissEduHack/LiveCod ... ynthetizer
Copyright (c) 2020 Simon Wicky & Samuel Chassot
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
According to fr.wikepdia.org, the license gives anyone receiving the software (and its files) the unlimited right to use it, copy it, modify it, merge it, publish it, distribute it, sell it and "under - license holder "(incorporate it into another license). The only obligation is to incorporate the license and copyright notice in all copies.
Alternatic.ch and Erucipe would like to thank the fine Simon & Sam team (SwissEduHack) for their very professional work which has given complete satisfaction.
We wish them a great student and professional journey to come!
For Alternatic: Elvio FISLER, president
For Erucipe: Jean-Marc BURNOD, software designer with LiveCode
Best regards
Jean-Marc
https://alternatic.ch
Re: iOS TextToSpeech extension for free
Now that is WAY cool JM!
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: iOS TextToSpeech extension for free
Hi Bogs,
Thanks for your message.
We have some discuss about licence.
Finaly we decided it would be whole free, for commercial products too.
Make knowledge more accessible is the first goal of alternatic.ch and this extension is one contribution.
Thanks for your message.
We have some discuss about licence.
Finaly we decided it would be whole free, for commercial products too.
Make knowledge more accessible is the first goal of alternatic.ch and this extension is one contribution.
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: iOS TextToSpeech extension for free
Hi All,
Is there anyone who may test iOS-SpeechSynthetizer extension with LC 9.06 ?
Thanks in advance
Best regards
Jean-Marc
Is there anyone who may test iOS-SpeechSynthetizer extension with LC 9.06 ?
Thanks in advance
Best regards
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: iOS TextToSpeech extension for free
Hi All,
iOS-SpeechSynthetizer extension works fine with LC 9.06
Best regards
Jean-Marc
iOS-SpeechSynthetizer extension works fine with LC 9.06
Best regards
Jean-Marc
https://alternatic.ch
Re: iOS TextToSpeech extension for free
Wonderful!
Thank You to all those who created this!
Thank You to all those who created this!
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: iOS TextToSpeech extension for free
Hi All,
I notice that some controls of my app doesn't work if i didn't call before SpeechSynthetizer extension which is loaded at startup.
One call to this extension at preopenstack seems the trick.
Best regards
Jean-Marc
I notice that some controls of my app doesn't work if i didn't call before SpeechSynthetizer extension which is loaded at startup.
One call to this extension at preopenstack seems the trick.
Best regards
Jean-Marc
https://alternatic.ch
Re: iOS TextToSpeech extension for free
Hi and thanks again for what you did!!
Is there any chance that the TTS could be saved as audio to a variable (best) or to a file?
TTS is so good on iOS and Android, that the extension should be able (like in my wishes) to transmit it to a different device (whose TTS could not be that good).
Thanks
Trevix
Is there any chance that the TTS could be saved as audio to a variable (best) or to a file?
TTS is so good on iOS and Android, that the extension should be able (like in my wishes) to transmit it to a different device (whose TTS could not be that good).
Thanks
Trevix
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: iOS TextToSpeech extension for free
Hi Trevix,
Did you ask this on github ?
https://github.com/SwissEduHack/LiveCod ... ynthetizer
Samuel (one of authors) use it to follow feed-backs.
Kind regards
Jean-Marc
Unfortunatly, i did nothing. Just convainc some students to do it.thanks again for what you did!!
Did you ask this on github ?
https://github.com/SwissEduHack/LiveCod ... ynthetizer
Samuel (one of authors) use it to follow feed-backs.
Kind regards
Jean-Marc
https://alternatic.ch
-
- Posts: 634
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: iOS TextToSpeech extension for free
I'm not sure about Android, but I know that the newer AV Speech API available on newer macOS versions (10.14+) and on iOS does not have any readily available calls for rendering speech to a file (it can still be done but it's a bit more complicated), however the older NSSpeech API on macOS does have a call for saving speech to an audio file. I did include this in my LCB lib that wrap NSSpeech, here: https://github.com/PaulMcClernan/LCB_NSSpeechLib, specifically the function I called "NSspeechSpeechStringToFile".trevix wrote: ↑Wed Feb 03, 2021 1:47 pmHi and thanks again for what you did!!
Is there any chance that the TTS could be saved as audio to a variable (best) or to a file?
TTS is so good on iOS and Android, that the extension should be able (like in my wishes) to transmit it to a different device (whose TTS could not be that good).
Thanks
Trevix
Re: iOS TextToSpeech extension for free
Time went by and I still need to save TTS to var or file.rendering speech to a file (it can still be done but it's a bit more complicated),
My App "Segnapunto" send data to a Raspberry that has an awful TTS (compared to iOS or Android phone).
May be because of the scarse processor or else. For me, the best solution would be to use the processing power of the phone to elaborate the TTS and then send the sound file only.
You mentioned that it can be done: big job? small job? payed job?
What do you think? Any suggestions?
I wrote on github to the two "computer science" students, but I didn't get an answer (I am not very familiar with GitHub so may be I didn't really get the message trough.
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: iOS TextToSpeech extension for free
Hi,
I read that you want export files to use on Raspberry.
If you have a Mac, You may do it with a applescript.
I' can send your mesage to authors of SpeechSynthetizer
I hope they can take some time (i believe they have exam session now).
Best regards
Jean-Marc
I read that you want export files to use on Raspberry.
If you have a Mac, You may do it with a applescript.
I' can send your mesage to authors of SpeechSynthetizer
I hope they can take some time (i believe they have exam session now).
Best regards
Jean-Marc
https://alternatic.ch
Re: iOS TextToSpeech extension for free
Thanks for answering.
But I need to do it from iOS and Android.
Let's see if they answer.
Regards
Trevix
But I need to do it from iOS and Android.
Let's see if they answer.
Regards
Trevix
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
-
- Posts: 634
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: iOS TextToSpeech extension for free
Like I said on macOS my Livecode Builder NSSpeech lib can already render speech to a sound file, on iOS it would have to be done with apple's AVSpeech API (which Comp.Sci student's LCB lib tapped into). I believe to render to a sound file with AVSpeech you have to create an audioGraph type setup capturing sound sample output as blocks you then pass to utility functions that write the blocks file in a format specified by parameters you pass. I have played around a bit with audioGraphs with LiveCode Builder but I've found it difficult and crash-prone (but that could just be me).trevix wrote: ↑Wed Mar 17, 2021 5:40 pmTime went by and I still need to save TTS to var or file.rendering speech to a file (it can still be done but it's a bit more complicated),
My App "Segnapunto" send data to a Raspberry that has an awful TTS (compared to iOS or Android phone).
May be because of the scarse processor or else. For me, the best solution would be to use the processing power of the phone to elaborate the TTS and then send the sound file only.
You mentioned that it can be done: big job? small job? payed job?
What do you think? Any suggestions?
I wrote on github to the two "computer science" students, but I didn't get an answer (I am not very familiar with GitHub so may be I didn't really get the message trough.
I'm a hobbyist, and not looking for freelance / commission work, sorry.
If I were you I'd probably look for some FOSS cross-platform library or web REST based API that fits your needs, web based would work well for the RPi
https://rapidapi.com/collection/best-te ... peech-apis
Re: iOS TextToSpeech extension for free
Thanks for the help but I need it to be offline, since not every Tennis court is going to have a internet wifi (my app Segnapunto is a sport App).
Simon wrote me:
Simon wrote me:
So I guees i better give up.Hi Trevix
Thanks for the interest and the suggestion. Unfortunately, we do not plan to add features to this extension, but you're welcome to code those features and propose a pull request, and we'll look into it.
After a quick glance at Apple's API, saving the speech as an audio file does not seem to be feasible though.
Thank you for your understanding and thank you again for your interest,
Best,
Simon
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>