Reply To: Troubleshooting

PennController for IBEX Forums Troubleshooting Reply To: Troubleshooting

#7500
Jeremy
Keymaster

Hi,

There is no “twice” option for the Audio element’s play command. The “once” option is only there to prevent a second play from looping after it’s been called with “loop” a first time

Even if passing “twice” made the element play twice, the program would have no way of guessing that you want a 3000ms pause between the two playbacks

Why don’t you just do

newAudio("Audio", row.Audio).play().wait()
,
newTimer(3000).start().wait()
,
getAudio("Audio").play().wait()

?

Jeremy