
-----------------------------------
cutiegirl_14_16
Mon Apr 21, 2003 8:34 pm

frequencies (sound command) I'm LOST!
-----------------------------------
how do u use the sound command?
I put sound (261.63,4) to play C for 4 seconds because I thought that you put sound (frequency,duration:int)

can somebody tell me what I'm doing wrong plz!
thanx!

-----------------------------------
Tony
Mon Apr 21, 2003 8:52 pm


-----------------------------------
not quite. First both parameters are integers, so its 261, not 261.63.

second of all, the duration is in milliseconds (same as delay) so 4 seconds would be 4000, not 4.


sound(261,4000)


-----------------------------------
Prince
Mon Apr 21, 2003 9:34 pm


-----------------------------------
is there a max frequency that u could get out of this? it seems pretty cool (hey i learned sumthin new today :D)

-----------------------------------
Prince
Mon Apr 21, 2003 9:37 pm


-----------------------------------
nvm, i think i found the answer (i think its 20000)

-----------------------------------
Tony
Mon Apr 21, 2003 10:29 pm


-----------------------------------
i think its bad for your ears if you listen to it. You should stick to 1-1000 range, not higher. But up to you really.
