home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 7.6 Preprocessed Music
- Author: Greg Lief
- Excerpted from "Clipper 5: A Developer's Guide"
- Copyright (c) 1991 M&T Books
- 501 Galveston Drive
- Redwood City, CA 94063-4728
- (415) 366-3600
- */
-
- //───── NOTE: must compile with the /N option!
-
- #command Charge => tunes({ {523,2}, {698,2}, {880,2}, {1046,4}, ;
- {880,2}, {1046,8} } )
- #command NannyBoo => tunes( { {196,4}, {196,4}, {164,4}, {220,4}, ;
- {196,8}, {164,8} } )
- #command TheFifth => tunes( { {392,2}, {392,2}, {392,2}, {311,10}, ;
- {15,12}, {349,2}, {349,2}, {349,2}, {293,10} } )
- #translate tunes(<a>) => aeval(<a>, { | a | tone(a\[1], a\[2]) } )
-
- function music
- charge
- inkey(0)
- nannyboo
- inkey(0)
- thefifth
- inkey(0)
- return nil
-
- // end of file CHP0706.PRG
-