View unanswered posts | View active topics It is currently Tue Sep 23, 2014 6:46 am






Reply to topic  [ 3 posts ] 
Sound files won't play 
Author Message
Novice

Joined: Fri Jan 18, 2008 11:07 pm
Posts: 51
Location: Ohio
Post Sound files won't play
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
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 578
Post 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.

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Mon Dec 17, 2012 4:30 pm
Profile
Novice

Joined: Fri Jan 18, 2008 11:07 pm
Posts: 51
Location: Ohio
Post Re: Sound files won't play
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.

Thanks. :bigthumb:


Mon Dec 17, 2012 10:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.