For some reason, my sound files won't play PlaySoundFile("! StartUp.rso");
The sound file is resident on the NXT. Tones and PlaySound works fine, just the .rso files.
I'm stumped.
Sun Dec 16, 2012 8:59 pm
JohnWatson
Site Admin
Joined: Thu May 24, 2012 12:15 pm Posts: 722
Re: Sound files won't play
I was able to test this in ROBOTC 3.54 and it works fine; one thing to remember is to put a wait command (wait1MSec(1000), for example) after the PlaySoundFile command to ensure that the program has enough time to play the sound file properly. Also, make sure you have the most up-to-date version of ROBOTC installed (currently 3.54) to ensure that any past bugs are fixed.
It must have been a bug in 3.5x. I tried the code of four NXTs and none of them worked before upgrading. Then I upgraded to the current version and the same code worked on all four.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum