home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / portfoli / pbas41.lzh / music.txt < prev    next >
Text File  |  1990-11-25  |  2KB  |  53 lines

  1. These programs require PBASIC V# 2.1 or Greater
  2.  
  3. Syntax PBASIC MBACH1.BAS
  4.        PBASIC MBDAY.BAS
  5.        PBASIC MBETH2.BAS
  6.        PBASIC MBACH2.BAS    (Minuet:From Movie COMPUTER DREAMS)
  7.        PBASIC MPETER1.BAS   (Peter and the Wolf)
  8.        PBASIC MKRIEGER.BAS  (Johann Krieger) 
  9.  
  10.    Please note in BDAY.BAS you can change line 6 with the editor to
  11. read "Happy Birthday Fred !!" or any message you choose. Also you may
  12. adjust the tempo in line 17 in all the songs.(see REM statement)
  13.  
  14.    If you have a song you'd like to see, send me a note.(Please remember
  15. the number of notes * time to input it= my frustration level.)
  16.  
  17.    After the latest release of PBASIC by BJ Gleason, I noticed that
  18. it supported DATA statements and that led me right back to my old
  19. Commador 64 days and trying to write music on it using POKE statements.
  20.    Nowadays I have a full MIDI setup but can't take it with me,..until
  21. the Portfolio came out ! My basic is still very rusty (you'll notice
  22. that if you peek at the code) and I'd love some help in defining
  23. variables so my data statements looked like this:
  24.  
  25.   1000DATA C#6,Q,D5,F,E7,H (with Q=quarter note F=Full,H=Half,etc )
  26.  
  27.     Instead of:
  28.  
  29.   1000DATA 54,25,41,50,61,25,
  30.  
  31.    Is this Possible ? I'd also like to see someone re-write this
  32.    that is more knowledgable than I in basic, to clean up the code.
  33.  
  34.     I just taped a piece of paper with the port #'s on it above my
  35.  keyboard and guessed at the timing.  Enjoy and let me know about related
  36.  projects that involve Music / Graphics and the Port.
  37.  
  38.                                     John Fraser 76256,356
  39.  
  40.  
  41. *   This will be my second set of songs for the port. The third set
  42. * will probally be Beattles or something more modern.I'd also like to
  43. * set up a "Juke Box" with a menu and you can choose which song in the
  44. * future and enclude all of these.
  45. *   Please keep in mind that music on the port uses alot of battery
  46. * power to push that little speaker.Even so, I haven't noticed alot
  47. * of battery drain but,...
  48. *   I've changed the code so they songs run faster and less "computer
  49. * like".You can also add a more human feel to these by altering the
  50. * 25,50,75,100,150, numbers in the data statements.Also Note line 13,
  51. * as you can change the song tempo to your liking.
  52.  
  53. ə