Re: ina bind: MULTIPLE playSound(async) vs setVisible

new topic     » goto parent     » topic index » view thread      » older message » newer message

All,

I've thought up a possible work around to my problem of playing multiple
wave files interfering with the orderly setVisible of relevant controls,
but I don't know how to implement it.

Since the asynchronous playSound WILL play ONE wave AND allow previous
setVisible commands to occur properly first, what I thought to do is:

"on the fly" (as the program executes, not before hand), read the sound
data in each desired wave file in sequence, putting the data into ONE BIG
data structure which temporarily combines all the desired spoken words, &
then send that single data structure to playSound?  (I don't THINK that
would take too long to do for each flash card, but I'm not really sure.)

If that sounds reasonable, the problem becomes that I don't know how to do
it, in terms of the format of wave files, how to combine them into one
correct data structure, & whether & how to send that to playSound, since it
isn't a file.

Any thoughts/suggestions ??

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu