In my turntable project I was using PlaySound and passing a variable for the current track. This works fine offline, but doesn't work in the Java player - the whole thing just hangs. Instead I had to use a nested if/then/else to play the correct track. Tedious, but the bigger problem was having to debug things.
Offline
Some stuff just doesn't work online. If it doesn't work then tell people to dl it to make it work.
Offline
erbie wrote:
In my turntable project I was using PlaySound and passing a variable for the current track. This works fine offline, but doesn't work in the Java player - the whole thing just hangs. Instead I had to use a nested if/then/else to play the correct track. Tedious, but the bigger problem was having to debug things.
Thanks erbie. I've previously noticed that a Random block in the Play Sound block will cause a hang in the Java player. It's already on the bug list. Are you saying that you found that just having a variable in the Play Sound block caused it to hang too?
Offline
Paddle2See wrote:
Are you saying that you found that just having a variable in the Play Sound block caused it to hang too?
Yes. I tried a simple test where I had 3 sounds with a variable "sound number" = 1 and Play Sound "sound number" would hang.
Offline
erbie wrote:
Paddle2See wrote:
Are you saying that you found that just having a variable in the Play Sound block caused it to hang too?
Yes. I tried a simple test where I had 3 sounds with a variable "sound number" = 1 and Play Sound "sound number" would hang.
Thanks, I'll update my bug report.
Offline