home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Graphics / graphics-16000.iso / msdos / animutil / fastgfx / fg110c / 13-06.c < prev    next >
Text File  |  1992-01-30  |  541b  |  22 lines

  1. #include <fastgraf.h>
  2. #include <stdio.h>
  3.  
  4. void main(void);
  5.  
  6. void main()
  7. {
  8.    fg_musicb("T150 L8 EDCDEEE P DDD P EGG P EDCDEEE L16 P L8 EDDEDC$",1);
  9.    while (fg_playing())
  10.       printf("Mary Had a Little Lamb...\n");
  11.    fg_waitfor(18);
  12.  
  13.    fg_musicb("L16 CC#DD#EFF#GG#AA#B O+$",2);
  14.    while (fg_playing())
  15.       printf("up the scale in two octaves...\n");
  16.    fg_waitfor(18);
  17.  
  18.    fg_musicb("T180 O2 L2 P L8 P GGG L2 D# L24 P L8 P FFF L2 D$",1);
  19.    while (fg_playing())
  20.       printf("Beethoven's Fifth Symphony...\n");
  21. }
  22.