home *** CD-ROM | disk | FTP | other *** search
- From: Bob Clarke Subj: ANSI Music 101
-
- My friends,
-
- Let me first start out this little dissertation with a disclaimer.
- That disclaimer being that this isn't the onliest way of doing this.
- It is only the ol' Kunnel's way which may or may not be the fastest
- or simplest but does get the job done if you remember some of the
- stuff I have offered in the past. <grin> Well, let's get started...
-
- Step 1. First, I have an ANSI screen that inspires me to the music
- that seems fitting for it. That causes me to locate the sheet music
- and that moves us onto ...
-
- Step 2. I use the BASICA or GWBASIC translator to do a line or two of
- the music in the PLAY format. For example:
-
- 10 PLAY "T120O3A O4L2CL4D E.L8FL4E L2DL4O3B G.L8AL4B"
- 20 PLAY "O4L2CO3L4A A.L8G#L4A L2BL4G# O3L2EL4A"
- (the succeeding lines are done in the same format...)
-
- Now, you can (as I do ) use any text editor to write the music
- (rather than the tedious BASIC editor) but the format as shown is
- important. Also, you'll want to test your creation by playing it as
- you go.
-
- Step 3. After I have the music in BASIC format, I use an ASCII text
- editor (that allows me to insert Control Characters) and I enter a
- <Ctrl> + <Esc> and type 'MF' to replace the Line Number and 'PLAY "'
- at the beginning of each BASIC programming line. Plus I enter a
- <Ctrl> + N at the end of each line replacing the end '"' as above.
-
- Additionally, as I want the ANSI screen _not_ to move until the
- music is finished, I place a <Ctrl> + <Esc> and type '23H' at the
- end of each line. For example, the above two lines will look like this
- prepared for ANSI:
-
- ^[[MFT120O3A O4L2CL4D E.L8FL4E L2DL4O3B G.L8AL4B^N^[[23H
- ^[[MFO4L2CO3L4A A.L8G#L4A L2BL4G# O3L2EL4A^N^[[23H
-
- Step 4. Now, the rest of the thingy will be done in the DOS. Here's
- what we have:
-
- a. A small file call ANSIWARN.ANS that contains the following:
-
- Caution: The following screen contains ANSI music codes. If
- your system does not have the ANSI device loaded press 'N' at the
- _more?_ prompt!
-
- b. Your ANSI screen to which you wish to add your music. For
- this class we'll call it ANSISCRN.ANS and the file will be proceeded
- with a <Ctrl> + E and, also, followed with a <Ctrl> + E; both are in
- Column 1 of the file. Very important.
-
- Note: _Always_ end your screen with <Ctrl> + <Esc> + '0m'.
- E.g. ^[[0m
-
- c. Finally, your masterpiece music file, called GRNSLVES.ANS.
-
- Step 5. At the DOS prompt where the above files are located, type
- the following to tie together your ANSI efforts...
-
- COPY ANSIWARN.ANS+ANSISCRN.ANS+GRNSLVES.ANS MUSICWRK.ANS
-
- MUSICWRK.ANS may then be uploaded to your friendly GT SysOp who
- will send it along to this greatest of all ANSI Art echoes. <grin>
-
- Nothing to it when you know how, eh? Good luck and the ol' Kunnel
- will be looking forward to some fine ANSI art with accompanying fine
- ANSI music. <smile>
-
- <Bob...aka as the ol' Kunnel....
-
- CAUTION: The following screen contains ANSI music codes.
- If your system does not handle ANSI, enter N
-
- MNO3A O4L2CL4D E.L8FL4E L2DL4O3B G.L8AL4B
- MNO4L2CO3L4A A.L8G#L4A L2BL4G# O3L2EL4A
- MNO4L2CL4D E.L8FL4E L2DL4O3B G.L8AL4B O4L4C.
- MNO3L8BL4A L4G#.L8F#L4G# L2A. L2A.
- MNO4L2G. L4G.L8F#L4E L2DO3L4B G.L8AL4B
- MNO4L2CO3L4A A.L8G#L4A L2BL4G# L2E.
- MNO4L2G. L4G.L8F#L4E L2DO3L4B G.L8AL4B
- MNO4L4C.O3L8BL4A G#.L8F#L4G# L2A. A.
-
- Sorry, you'll have to do the screen yourself. <grin>
-
- Route: */* 33/1 33/0 1/70 1/30
- .ORIGIN: 033/100 - The Colonel's BBS * in Hanover, Pa, U.S.A. * (717) 632-4733
- Let's keep'em flying in 1992! Subscribe to E10/117 today!!
-