[comp.sys.ibm.pc.programmer] Ansi Music, help please

MHS108@psuvm.psu.edu (Mark Solsman) (03/07/90)

Doen anyone know the codes and formats on how to play Ansi music?

any help would be appreciated!


Mark Solsman                                             MHS108 @ PSUVM.BITNET
                                                         MHS108 @ PSUVM.PSU.EDU

ear@wpi.wpi.edu (Eric A Rasmussen) (03/09/90)

In article <90065.154040MHS108@psuvm.psu.edu> MHS108@psuvm.psu.edu (Mark Solsman) writes:
>Doen anyone know the codes and formats on how to play Ansi music?

It's simple.  The syntax for the music data is as follows:

<ESC> [ M ...<music data>... ^N

Where the music data is the same format as the PLAY statement in BASIC.

The only restriction I know of is that the whole line should be 255 characters
or less.
 _                _                                         +-=-=-=-=-=-=-=-=-+
|_  ,_  .   _    |_}   _    _  ,_ _         _   _   _   ,_  | ear@wpi.wpi.edu |
|_  |   |  |_    | \  |_\  _>  | | |  |_|  _>  _>  |_'  | | | ear%wpi@wpi.edu |
--< A real engineer never reads the instructions first! >-- +-=-=-=-=-=-=-=-=-+