home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Magic 1995 #1 / CDM_5.ISO / shell / graph / ansi / ansmusic.101 < prev    next >
Encoding:
Text File  |  1992-02-04  |  3.8 KB  |  91 lines

  1.         From: Bob Clarke      Subj: ANSI Music 101
  2.  
  3. My friends,
  4.  
  5.     Let me first start out this little dissertation with a disclaimer.
  6. That disclaimer being that this isn't the onliest  way  of doing this.
  7. It is only the ol' Kunnel's way which  may or may  not be  the fastest
  8. or simplest but does get the job  done  if  you  remember  some of the
  9. stuff I have offered in the past.  <grin>  Well, let's get  started...
  10.  
  11. Step 1.  First, I have an ANSI screen that inspires me  to  the  music
  12. that seems fitting for it.  That causes me to locate  the  sheet music
  13. and that moves us onto ...
  14.  
  15. Step 2.  I use the BASICA or GWBASIC translator to do a line or two of
  16. the music in the PLAY format.  For example:
  17.  
  18. 10  PLAY "T120O3A O4L2CL4D E.L8FL4E L2DL4O3B G.L8AL4B"
  19. 20  PLAY "O4L2CO3L4A A.L8G#L4A L2BL4G# O3L2EL4A"
  20. (the succeeding lines are done in the same format...)
  21.  
  22.     Now, you can (as I do ) use  any  text  editor to write the  music
  23. (rather  than  the  tedious  BASIC editor)  but the format as shown is
  24. important.  Also, you'll want to test your  creation  by playing it as
  25. you go.
  26.  
  27. Step 3.  After I have the music in BASIC format, I  use  an ASCII text
  28. editor (that allows me to insert Control Characters)  and  I  enter  a
  29. <Ctrl> + <Esc> and type 'MF' to replace the Line Number  and  'PLAY "'
  30. at the beginning of each  BASIC  programming  line.  Plus  I  enter  a
  31. <Ctrl> + N at the end of each line replacing the end '"' as above.
  32.  
  33.     Additionally, as I want the ANSI  screen _not_  to  move until the
  34. music is finished, I place  a  <Ctrl> + <Esc> and  type '23H'  at  the
  35. end of each line. For example, the above two lines will look like this
  36. prepared for ANSI:
  37.  
  38. ^[[MFT120O3A O4L2CL4D E.L8FL4E L2DL4O3B G.L8AL4B^N^[[23H
  39. ^[[MFO4L2CO3L4A A.L8G#L4A L2BL4G# O3L2EL4A^N^[[23H
  40.  
  41. Step 4.  Now, the rest of the thingy will be done in the DOS.  Here's
  42. what we have:
  43.  
  44.     a.  A small file call ANSIWARN.ANS that contains the following:
  45.  
  46.         Caution:  The following screen contains ANSI music codes.  If
  47. your system  does not  have  the  ANSI device loaded press 'N' at the
  48. _more?_ prompt!
  49.  
  50.     b.  Your ANSI screen to which you  wish  to  add your music.  For
  51. this class we'll call it ANSISCRN.ANS and the file  will be proceeded
  52. with a <Ctrl> + E and, also, followed with a <Ctrl> + E;  both are in
  53. Column 1 of the file.  Very important.
  54.  
  55.          Note:  _Always_ end your screen  with  <Ctrl> + <Esc> + '0m'.
  56.                E.g. ^[[0m
  57.  
  58.     c.  Finally, your masterpiece  music  file,  called GRNSLVES.ANS.
  59.  
  60. Step 5.  At the DOS prompt where the above files  are  located,  type
  61. the following to tie together your ANSI efforts...
  62.  
  63.     COPY ANSIWARN.ANS+ANSISCRN.ANS+GRNSLVES.ANS MUSICWRK.ANS
  64.  
  65.     MUSICWRK.ANS  may  then be uploaded to your friendly GT SysOp who
  66. will send it along to  this  greatest of all ANSI Art echoes.  <grin>
  67.  
  68.     Nothing to it when you know how, eh?  Good luck and the ol' Kunnel
  69. will be looking forward to some  fine  ANSI art with accompanying fine
  70. ANSI music.  <smile>
  71.  
  72.               <Bob...aka as the ol' Kunnel....
  73.  
  74.     CAUTION:  The following screen contains ANSI music codes.
  75.               If your system does not handle ANSI, enter N
  76.  
  77. MNO3A O4L2CL4D E.L8FL4E L2DL4O3B G.L8AL4B
  78. MNO4L2CO3L4A A.L8G#L4A L2BL4G# O3L2EL4A
  79. MNO4L2CL4D E.L8FL4E L2DL4O3B G.L8AL4B O4L4C.
  80. MNO3L8BL4A L4G#.L8F#L4G# L2A. L2A.
  81. MNO4L2G. L4G.L8F#L4E L2DO3L4B G.L8AL4B
  82. MNO4L2CO3L4A A.L8G#L4A L2BL4G# L2E.
  83. MNO4L2G. L4G.L8F#L4E L2DO3L4B G.L8AL4B
  84. MNO4L4C.O3L8BL4A G#.L8F#L4G# L2A. A.
  85.  
  86.         Sorry, you'll have to do the screen yourself.  <grin>
  87.  
  88.   Route: */* 33/1 33/0 1/70 1/30
  89. .ORIGIN: 033/100 - The Colonel's BBS * in Hanover, Pa, U.S.A. * (717) 632-4733 
  90.                     Let's keep'em flying in 1992!  Subscribe to E10/117 today!!
  91.