home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / music / msplacc / msplacc.prt < prev    next >
Encoding:
Text File  |  1989-04-16  |  9.0 KB  |  265 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                         Music Studio Background Player
  7.                                by James Patchell
  8.  
  9.              I.   Introduction
  10.  
  11.              This  is  probably  one  of the more interesting programs
  12.          that  I  have  created.   It  allows you to play music studio
  13.          songs   in  the  background  while  executing  other  program
  14.          simutaneously.   As  far as I know, this is the first program
  15.          that  allows  you  to do this, but who knows.  The program is
  16.          relatively bug free, although once in a while it does glitch,
  17.          I  have  run  it for 24 hours straight without any problems.
  18.          Generally,  you will only have problems when run with certain
  19.          programs.   I  so  far  have  found  only one that caused any
  20.          unexpected  problems, but I have successfully and without any
  21.          problems  had  music  playing  in  the background while using
  22.          TIMEWORKS desk top publisher, LASER C 2.0, MWC 3.0, STWRITER,
  23.          etc.  You should have absolutely little to zero problems with
  24.          most well behaved applictions programs.
  25.  
  26.              However,  it  is  not  at all recomended that you use any
  27.          other  MIDI  software  while using the background player (see
  28.          below).   Also,  if you are using MULTIDESK or a program like
  29.          it,  do  not use the CLEAR MEMORY option while the background
  30.          player is playing as this will make it bomb big time.  And if
  31.          you  are  going  to  de-install  the  Music Studio background
  32.          player  accessory  with multidesk, besure that do a CLEAR and
  33.          DE-INSTALL with the player first (see below).
  34.  
  35.              II. Using the MUSIC STUDIO BACKGROUND PLAYER ACCESSORY
  36.  
  37.              Copy  msplacc.acc  to the root directory of your (a) boot
  38.          disk.   It  is  probably  also  a good idea to put some Music
  39.          Studio  songs  in the root directory as well, but this is not
  40.          nessesary.   Also,  I  recomend  that  you  do  not  put  the
  41.          accessory  into the root directory of your hard drive (if you
  42.          have  one)  until you are sure that you have a working copy.
  43.          This  is good advice for any desk accessory.  Try it out on a
  44.          floppy first.  It is really a pain to try and get a defective
  45.          Desk Accessory off of a hard drive (I know).
  46.  
  47.              III. MAIN MENU
  48.  
  49.              When  you click on the selection in the "Desk" option for
  50.          the MS Player, you will get a dialog box with several options
  51.          you can choose from.  They are discussed one by one here.
  52.  
  53.              A. SAVE CONFIG
  54.  
  55.              This  option  lets  you  save the current configuration.
  56.          After  you  have  made a list of songs that you want to play,
  57.          you  can  save  them to a file.  This will allow you to later
  58.          load in this same set of files at a later time.  Also, if you
  59.          save  a  config file with the special name "default.cfg", and
  60.          put  it  in  the  root directory of you boot disk, the player
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.          will load the songs listed in that file automatically.  Also,
  73.          the format of the config files is ASCII, so you can edit them
  74.          with a text editor if you wish.
  75.  
  76.              B. LOAD NEW SONG
  77.  
  78.              This  option  allows  you  to load a new song to the ones
  79.          already  in  the  computer.   You can have up to 24 different
  80.          songs loaded at any one time.
  81.  
  82.              C. START BACKGROUND MUSIC
  83.  
  84.              This  button  starts  the  player up.  Once started, will
  85.          will  play  forever, untill you tell it to stop.  When it has
  86.          played all of the songs you have loaded, it will start over.
  87.  
  88.              D. STOP BACKGROUND MUSIC
  89.  
  90.              This  function  stops  the  player  as soon as it is done
  91.          playing the current event.  If you press the START BACKGROUND
  92.          MUSIC  after  you have press the STOP BUTTON, the player will
  93.          start to play the next song.
  94.  
  95.              E. MAKE A SONG LIST
  96.  
  97.              This  function allows you to load several different songs
  98.          that  will make up your background concert.  The player plays
  99.          them in the same order that you enter them in.
  100.  
  101.              F. ABOUT BACKGROUND MUSIC
  102.  
  103.              This  function  displays  a dialog box with the copyright
  104.          info in it as well as the revision number.
  105.  
  106.              G. CLEAR SONGS
  107.  
  108.              This  function  erases  all  of  the  songs in memory and
  109.          returns the memory back to the computer for use.  Also, using
  110.          the  function  allows  you  to  de-install the accessory (see
  111.          below).   You  must  do a clear even if there are no songs in
  112.          memory  before  you  do a de-install.  The accessory will not
  113.          let you de-install until you do a clear.
  114.  
  115.              H. LOAD CONFIG
  116.  
  117.              This  function  goes  hand  in hand with SAVE CONFIG.  It
  118.          allows  you to load songs in that are specified in the config
  119.          files you have saved before.
  120.  
  121.              I. RE-INSTALL
  122.  
  123.              This  function  un-does what DE-INSTALL did (see below).
  124.          The  accessory  will  only  let you RE-INSTALL after you have
  125.          done a DE-INSTALL.
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.              J. DE-INSTALL
  139.  
  140.              This  function  is  useful  if  you  want  to run another
  141.          program  that  uses  the  MIDI  port.   You  should never use
  142.          another  program  that  uses  the MIDI port if this player is
  143.          loaded  by the computer.  Even if it is not playing, you MUST
  144.          DE-INSTALL  it  before running that program.  DE-INSTALL sets
  145.          all  of  the  interrupt vectors that pertain to the MIDI port
  146.          back  to  their  original  values so that other software will
  147.          work.   The Desk Accessory is still in memory and can be used
  148.          later,  but  it  is non-functional after this button has been
  149.          pushed.   At  a  later  time,  you  can  RE-INSTALL  the desk
  150.          accessory  with the RE-INSTALL function.  If you use programs
  151.          like  MULTIDESK and plan to purge this accessory, be sure you
  152.          first DE-INSTALL it before you purge it.  CATASTROPHIC things
  153.          may occure if you don't.
  154.  
  155.              K. NUMBER OF SONGS
  156.  
  157.              This  displays  the  total  number of songs that you have
  158.          loaded into memory to play.
  159.  
  160.              L. MEMORY USED
  161.  
  162.              This  displays the MINIMUM amount of memory that is being
  163.          used.   I  say  minimum  because  the  ST  OS memory allocate
  164.          function will always give you what you ask for, but sometimes
  165.          will  give  you even more.  As far as I know, there is no way
  166.          to  know how much more it gave, but this will give you a good
  167.          idea  of  how  much  memory  is  being  used.   This  may  be
  168.          especially important to 520 users.
  169.  
  170.  
  171.              IV. SOURCE CODE
  172.  
  173.              I  always  believe in making the source code availiable.
  174.          So, you will find the source code for this program in the ARC
  175.          file  as  well.   You  can  through  it  away  if you are not
  176.          interested   (all  of  the  *.c,  *.h  files).   If  you  are
  177.          interested,  you  will  need LASER C 2.0 to play with it.  If
  178.          you  are  really adventurous, you can modify the code to work
  179.          with  other  compilers.   The  code  includes  lots of inline
  180.          assembly, which make it "really" portable.  Well, sorry about
  181.          that, but this is how LASER C deals with assembly code.  Some
  182.          of the code is not too pretty.  Well, what can I say.
  183.  
  184.              V. Copyright notice.
  185.  
  186.              This  program is Copyright (c) 1989 by James Patchell.  I
  187.          give  other  the  right  to  distribute this software free of
  188.          royalties  as  long  as  this  file  and  the  source code is
  189.          included.   NO  OTHERS MAY CLAIM ANY SECONDARY RIGHTS TO THIS
  190.          PROGRAM.   This program may be freely distributed on any BBS,
  191.          or  club  disk  of the month.  If you make any changes to the
  192.          program,  please  note  them in the source code.  If you make
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.          any real novel changes, I would like to see them.
  205.  
  206.              VI FINALLY
  207.  
  208.              This  program took considerable work.  If you really like
  209.          it  and  would  like  to  become  a  "registered" user, which
  210.          entitles you to updates, send $20 to:
  211.  
  212.              JAMES PATCHELL
  213.              533 SAN BLAS PL.
  214.              SANTA BARBARA, CA 93111
  215.  
  216.              The  more  I  recieve,  the more likely it is that I will
  217.          write  more  software.   Writing  MIDI software for the ST is
  218.          fun.   And, if you have any ideas on other features you would
  219.          like  to  see  in  this  program, or, other free programs you
  220.          would like to see, I would like to hear from you.
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.