Page 1 of 1 1
Topic Options
#125942 - 2004-08-31 12:09 PM happy bday tone
adio Offline
Fresh Scripter
*

Registered: 2004-08-25
Posts: 28
hi, anyone please help me build a script that plays a happy birthday tone to the computer's speaker.. please post for reply and thanks in advance....
Top
#125943 - 2004-08-31 12:13 PM Re: happy bday tone
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Wasnt this already replied to in this link

code for playing wav file continuously while not keyboard hit
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#125944 - 2004-08-31 02:36 PM Re: happy bday tone
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Yeah,

but I suspect the computers have either no soundcard, or no drivers installed

I'd try to google for spk files *hint,hint
_________________________



Top
#125945 - 2004-08-31 02:51 PM Re: happy bday tone
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Oh got stick of wrong end !?

Try

Code:



Play "0g256t
0g4d1047f f 1g8d1175f 1047f 1397f 2g16d1319f 0g4d1047f f 1g8d1175f 1047f
1568f 2g16d1397f 0g4d1047f f 1g8d2093f 1760f 1397f 1319f 2g16d1175f
0g6d1865f f 1g11d1760f 1397f 1568f 3g21d1397f
256t 0g 18d 0ffff 2d"




And heres star wars

Code:
 
play "0g256t
1g13d523f 784f 0g1d0f 698f 659f 587f 1g13d1047f 784f 0g1d0f 698f 659f 587f
1g13d1047f 784f 0g1d0f 698f 659f 698f 1g13d587f 0g1d0f 392f f f 1g13d523f
784f 0g1d0f 698f 659f 587f 1g13d1047f 784f 0g1d0f 698f 659f 587f
1g13d1047f 784f 0g1d0f 932f 880f 932f 3g26d784f 2g19df 0g4d392f 1df
1g9d440f 0g3df 698f 659f 587f 523f 1df 587f 659f 587f 0f 3d440f 7d494f
4d392f 1df 1g9d440f 0g3df 698f 659f 587f 523f 784f 0f 1g9d587f 0g3d0f
4d392f 1df 1g9d440f 0g3df 698f 659f 587f 523f 1df 587f 659f 587f 0f 3d440f
7d494f 1d0f 4d784f 1df 4d1047f 1d932f 4d831f 1d784f 4d698f 1d622f 4d587f
1d523f 3g26d784f 2g19df 0g1d0f 784f f f 3d1047f 0f 1d523f f f 2g19df
3g26d0f
256t 0g 18d 0ffff 2d"



_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.058 seconds in which 0.029 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org