Page 1 of 1

play audioclip

Posted: Tue Apr 02, 2013 10:03 am
by mickmac
Hi there, having failed miserably to find out how to use text to speech on android I tried the play audioclip command. Alas no joy ... does this command work on android? According to the dictionary it does but I can't get it to go!

Re: play audioclip

Posted: Tue Apr 02, 2013 10:18 am
by mickmac
mickmac wrote:Hi there, having failed miserably to find out how to use text to speech on android I tried the play audioclip command. Alas no joy ... does this command work on android? According to the dictionary it does but I can't get it to go!
Suppose I should add a little detail here .... I imported an audio file in .wav format, renamed it to hello and then
on mouseUp
play audioclip "hello"
end mouseUp
Worked on the pc but did not do anything on android emulator or actual android device, although other stuff worked fine.

Re: play audioclip

Posted: Tue Apr 02, 2013 4:55 pm
by jacque
Embedded audioclips are not supported in Android, you need to provide a file in the Copy Files pane of the standalone settings.

Re: play audioclip

Posted: Tue Apr 02, 2013 10:01 pm
by sincipient820

Code: Select all

put specialfolderpath("engine") & "/hello.wav" into tSound
play tSound
and make sure to put the hello.wav file into copy files of standalone settings...

Re: play audioclip

Posted: Thu Apr 04, 2013 7:58 am
by mickmac
Thanks heaps to those who helped ... working fine now. Hopefully the new livecode will support text to speech on android!