View unanswered posts | View active topics It is currently Fri Aug 01, 2014 7:59 pm






Reply to topic  [ 7 posts ] 
Documentation about PlaySound missing! 
Author Message
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post Documentation about PlaySound missing!
There are no documentation and no examples about how to use PlaySound.
If I write
Code:
PlaySound(buzz);

as written iny our so-called "help" I get an error!
Code:
**Error**:Undefined variable 'buzz'. 'short' assumed.
**Error**:Procedure call Parameters don't match declaration for 'PlaySound(compileConst TSounds sound)'


@admins + @developers:
I beg you: Give us better HELP, please!

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Sun Mar 23, 2008 5:30 am
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
(reminder!)

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Thu Mar 27, 2008 6:36 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 601
Post 
I've posted this multiple times but... Yes, we know about the documentation and are working on it. You can see examples of this work with the IFI build: http://robotc.net/ifi_webhelp/

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Fri Mar 28, 2008 11:51 am
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
yes, thx, I know you are working on the ducumentation.

But can you please tell me NOW how to use
PlaySound(variable)
(that means, please give me all the names of all variables that I may use and what they do)?

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri Mar 28, 2008 11:56 am
Profile
Rookie

Joined: Tue Feb 26, 2008 4:41 pm
Posts: 27
Post 
I agree, a preview list of the available sounds would be very useful, please!

Ta


Fri Mar 28, 2008 2:59 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 601
Post 
Ford Prefect wrote:
But can you please tell me NOW how to use
PlaySound(variable)


Just as a note, being rude or demanding will get you no assistance in the future on any topics.

Code:
PlaySound(soundBeepBeep);

PlaySound(soundBlip);

PlaySound(soundDownwardTones);

PlaySound(soundException);

PlaySound(soundFastUpwardTones);

PlaySound(soundLast);

PlaySound(soundLowBuzz);

PlaySound(soundLowBuzzShort);

PlaySound(soundShortBlip);

PlaySound(soundUpwardTones);

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Fri Mar 28, 2008 3:44 pm
Profile
Guru
User avatar

Joined: Sat Mar 01, 2008 12:52 pm
Posts: 1030
Post 
what's rude or demanding, if I write
Quote:
But can you please tell me NOW how to use
PlaySound(variable)

?
In german, it's VERY polite! :?

PS: if you want the polite original, I can ask in german, in future :lol:

PPS maybe, babelfish swallows the politeness? :roll:
(will have to ask Zaphod)

_________________
regards,
HaWe aka Ford
#define S sqrt(t+2*i*i)<2
#define F(a,b) for(a=0;a<b;++a)
float x,y,r,i,s,j,t,n;task main(){F(y,64){F(x,99){r=i=t=0;s=x/33-2;j=y/32-1;F(n,50&S){t=r*r-i*i;i=2*r*i+j;r=t+s;}if(S){PutPixel(x,y);}}}while(1)}


Fri Mar 28, 2008 3:46 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: daniel.tarres 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.