View unanswered posts | View active topics It is currently Wed Apr 16, 2014 12:12 am






Reply to topic  [ 2 posts ] 
Problems with PlaySoundFile 
Author Message
Rookie

Joined: Fri Dec 07, 2007 7:59 am
Posts: 1
Post Problems with PlaySoundFile
The NXT seems a bit fast on skipping these commands after a command or function.

Is there a specified time to wait before playing a soundfile?

It does work if I step trough the program not to fast.


Fri Dec 07, 2007 8:02 am
Profile
Creator
Creator

Joined: Fri Feb 09, 2007 9:21 am
Posts: 614
Post 
You can only queue up to 10 sound "actions". ROBOTC does not delay while the sound actually plays. So if you "issue" a lot of sound actions then you'll get some dropped if you exceed the queue size.

There are variables you can read to determine whether there is space in the queue and whether any sound is active.


Mon Dec 31, 2007 3:18 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 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.