saving text to speech "speechSpeakUtterance" to file or Var

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trevix
Posts: 1105
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

saving text to speech "speechSpeakUtterance" to file or Var

Post by trevix »

Is it possible, on Android and iOS, to save the sound file of a speechSpeakUtterance to a variable or a file? (not that I know from the dictionary)
I am referring to the new Speech Library.

Any info on this would be helpful.
Thanks
Trevix
OSX 15.7 xCode 26.01 LC 10.0.3 RC1 iOS 15> Android 7>
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10421
Joined: Fri Feb 19, 2010 10:17 am

Re: saving text to speech "speechSpeakUtterance" to file or Var

Post by richmond62 »

As far as I am aware LIveCode is (and has always been) unable to export sound files.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: saving text to speech "speechSpeakUtterance" to file or Var

Post by Klaus »

LC does not create a sound file, but the given text is being spoken in real-time!

The API does not show any way to do this, so you will need to ask Jean-Marc or better the two french guys,
who created the widget: viewtopic.php?f=4&t=33895
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: saving text to speech "speechSpeakUtterance" to file or Var

Post by jmburnod »

Hi Both,
LC unable to export sound files
No, Bernd made it :D
Here is a Bernd's stack use Applescript to export sound file from textospeech. Unfortunatly it is only for Mac.
http://forums.livecode.com/viewtopic.ph ... rnd#p42120
Jean-Marc
https://alternatic.ch
Post Reply