home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / SOUND / MISC / MPLAY200.ZIP / MP.DOC < prev    next >
Encoding:
Text File  |  1991-09-15  |  18.6 KB  |  445 lines

  1.  
  2.  
  3.      MODPLAY  *********                            (C) Mark J Cox
  4.      MODPLAY  **                                   1990/1991
  5.      MODPLAY  *******                              Freeware
  6.      MODPLAY  **************                       Version 2.00δ
  7.  
  8.      Play AMIGA 4 channel music files on a PC
  9.  
  10.  
  11.      I. QUICK START
  12.      ─────────────────────────────────────────────────────────
  13.  
  14.      If you are impatient and don't want to read all the documentation before 
  15.      trying this program, type:
  16.  
  17.                 mp -i            
  18.      or         mp -a-i   If your machine is 10Mhz - 12Mhz
  19.      or         mp -s-i   If you have a SoundBlaster Card installed
  20.  
  21.  
  22.  
  23.      II. EXTRA INFORMATION
  24.      ─────────────────────────────────────────────────────────
  25.  
  26.      1          On startup some machines think they have a Soundblaster
  27.                 card installed even if they do not.  If you do not have
  28.                 a Soundblaster card but it thinks you do, please do not
  29.                 use the -s option or change output device to Soundblaster
  30.                 (it may hang up your machine and you will have to reboot)
  31.  
  32.      2          If your video card supports text modes such as 25*132,
  33.                 44*132, 60*132 or just about any other text mode then enter
  34.                 this mode (using the utility supplied with your card) and
  35.                 MODPLAY will take full advantage of it.
  36.  
  37.  
  38.  
  39.      III.  INTRODUCTION TO MODPLAY
  40.      ─────────────────────────────────────────────────────────
  41.  
  42.      Modplay allows you to play Amiga soundtracker/noisetracker files
  43.      (or 4 channel Startrekker files) on a PC (10Mhz or faster clock speed).  
  44.      Modplay is written *entirely* in assembler and now runs to over
  45.      7,000 lines of source and has taken around 300 hours to produce.
  46.  
  47.  
  48.  
  49.      1.   WHAT ARE MODULES?
  50.      ─────────────────────────────────────────────────────────
  51.  
  52.      A module consists of 15 (or 31) sampled instruments and a four channel
  53.      music track.  By playing the instruments at different pitches a
  54.      soundtrack lasting many minutes can be produced.  The PC speaker is not
  55.      really up to handling modules, since in total we have a 10 bit sample
  56.      to be played, and the speaker can only handle 5 (and thats only just
  57.      possible).  A D/A converter gives 8 and the stereo version gives 
  58.      effectively 9. The output sounds OK through a good sized PC speaker, the 
  59.      cheap piezo devices found in some computers including laptops are not 
  60.      really designed to cope.  So through external harware MODPLAY comes 
  61.      close to the quality you would get on an AMIGA.
  62.  
  63.  
  64.      2. IMPLEMENTATION
  65.      ─────────────────────────────────────────────────────────
  66.  
  67.      MODPLAY implements all Amiga effects such as volume sliding, vibrato etc.
  68.      Most Amiga modules have samples in them that are less than 64k each in
  69.      length, these can be played as normal on any 286 10Mhz or better;  a
  70.      rare few have samples >64k in them and although these will be played
  71.      by modplay you really need a 16MHz machine minimum to keep up.  These 
  72.      modules are marked with a '*' on the top line of the display next to the
  73.      filename when they are playing.
  74.  
  75.  
  76.  
  77.      3. MODPLAY OPTIONS - COMMAND LINE PLAYING
  78.      ─────────────────────────────────────────────────────────
  79.  
  80.      From the command line a module can be played through any of the output
  81.      devices with or without a moving graph display.  The format is 
  82.  
  83.      MP [-q] [-0..6] [-a/-b] filename [.MOD]
  84.  
  85.      Items in [ ] are optional.   The -q if present tells MODPLAY not to
  86.      display any text and so the module will play without disturbing the
  87.      text display.  (You could use this in a game's title screen written
  88.      in C or Basic, by doing a system or shell command - MODPLAY exits when
  89.      a key is pressed).  The -(number) tells MODPLAY what hardware to play
  90.      the module through.  The filename can contain wildcard characters
  91.      (*,?), so MODPLAY * would be valid and would play all the *.MOD files
  92.      in the current directory one after the other.  Playback of a sequence
  93.      of files can be aborted by pressing ESCape two or three times in rapid
  94.      sucession.  
  95.  
  96.      -0 is the PC Speaker
  97.      -1 is a D/A converter on printer port 1
  98.      -2 is a D/A converter on printer port 2
  99.      -3 is 2 D/A converters, one on port1 the other on port2 (gives stereo)
  100.      -4 is 2 D/A converters as above but giving mono.
  101.      -5 is a D/A converter on printer port 1 (when the port is on a video card)
  102.      -s is a Soundblaster card (any base address 210-260 is detected)
  103.  
  104.      -xm
  105.        This is of use if you have a single D/A converter on an expansion
  106.        port or any known address.  Use -xm(address) where the address is
  107.        a 3 digit hex number.  (Example -xm3B7 would play in mono to a
  108.        D/A converter at address 03B7) 
  109.     
  110.      -xs
  111.        This is similar to -xm, allowing two D/A converters and hence stereo
  112.        operation.  Use -xs(address1)(address2).  [Example, -xs300301 would
  113.        play in stereo to D/A converters at 0300 and 0301.  Note that these
  114.        switchs must be used from the command line and cannot be changed when
  115.        inside MODPLAY
  116.  
  117.      Stereo-on-1
  118.        Modplay will autodetect a Stereo-on-1 board on any Parallel port and
  119.        use it.  See HARDWARE.DOC for more information
  120.  
  121.      Soundblaster
  122.        Modplay will autodetect a Soundblaster card at any base address and
  123.        use it. 
  124.  
  125.      (Using a /number will ignore anything autodetected).
  126.  
  127.      -a should be used if your computer crashes when playing tunes, it
  128.         decreases the rate of playing samples - decreasing the quality
  129.         noticably through the speaker, but should mean 10Mhz-12Mhz machines
  130.         can cope.
  131.      -b This is the default mixing speed designed for a 12MHz PC
  132.  
  133.      -d This option is used when if you don't like my choice of character 
  134.         for drawing the bars.  I've had lots of mail all saying you would
  135.         like different characters - so now you can choose your own,
  136.         Usage is -dxx where xx is a two-digit hexidecimal number of the 
  137.         character you want to use,
  138.  
  139.         -dF0    Would be ≡, the default bar
  140.         -df7    Would be ≈, one of my favorites
  141.         -d02    is quite fun for 'acid house' type mods. 
  142.  
  143.         And if you are still not satisfied, then pressing F1 or F2 when
  144.         playing changes the character as well!  F3 and F4 even change the
  145.         colour of the moving bar.  Hours of fun (yawn)!
  146.  
  147.      Playing is stopped by pressing *any* key, or when the module is finished
  148.      Modules that loop at the end, or jump backwards are stopped so they
  149.      will only play once.
  150.  
  151.      There are some special keys, described in the next section that can
  152.      be used to whiz through a module like a CD player.
  153.  
  154.  
  155.  
  156.      4. MODPLAY IN INTERACTIVE MODE
  157.      ─────────────────────────────────────────────────────────
  158.  
  159.      MP -i will bring up a display menu screen - help on all key presses
  160.      is available by pressing F1.   From this screen you can change
  161.      directory, change drive or play one or more modules.
  162.  
  163.      The commands allowed are:
  164.  
  165.      Basic Keys:
  166.  
  167.  
  168.      Cursor Keys Move the highlight bar together with the 'PgUp',
  169.                  'PgDn', 'Home' and 'End' keys.
  170.  
  171.      <SPACE>     This will play the current module highlighted, or change
  172.                  to the directory or drive hightlighted
  173.  
  174.      <ESC>       Quits modplay
  175.  
  176.      <c>         Brings up a menu showing all the possible output devices.
  177.                  Lets you move around them using the arrow keys and select
  178.                  one by pressing SPACE or RETURN.
  179.  
  180.      <!>         Lets you perform DOS commands.
  181.  
  182.   
  183.      Advanced:
  184.  
  185.  
  186.      <t>         Tags the currently highlighted module (displays a "+")
  187.                  or untags the module if already tagged.
  188.  
  189.      <T>         Tags all modules in directory
  190.  
  191.      <U>         Untags all modules in directory
  192.  
  193.      <p>         Plays all tagged modules in sequence.
  194.  
  195.      <s>         Takes you into the Sample sub-menu screen
  196.  
  197.  
  198.      Sample Sub-menu:
  199.  
  200.  
  201.      From here you can look at the samples that make up the module - there
  202.      are a few special keys that perform various functions that are not
  203.      fully tested and are provided for users that know what they are
  204.      doing (i.e. not bomb proof input routines!)
  205.  
  206.      <p>         Plays the sample highlighted
  207.  
  208.      <m>         Plays the whole module
  209.  
  210.      <w>         Prompts for a filename and then saves the sample to disk
  211.  
  212.      <r>         Reads a new sample into the old slot.
  213.  
  214.  
  215.  
  216.      5. PLAYBACK KEYS
  217.      ───────────────────────────────────────────────────────── 
  218.  
  219.      During any playback, pressing the left arrow key will slow the music
  220.      down, the right arrow key will speed it up and the down arrow key
  221.      restores to default speed.  The PageDown key will skip to the next
  222.      track, PageUp jumps back one track.  The END key will (almost)
  223.      pause the music, with the down arrow key restoring the speed.
  224.  
  225.  
  226.  
  227.      6. TEST MODE
  228.      ───────────────────────────────────────────────────────── 
  229.  
  230.      You can obtain an alternative display when playing modules from the
  231.      interactive mode by starting MODPLAY with the -t-i switches.  This
  232.      display may not update quickly enough on slower machines.
  233.  
  234.  
  235.  
  236.      7. LISTS OF MODULES
  237.      ─────────────────────────────────────────────────────────
  238.  
  239.      If like me you have hundreds of modules spread over many disks you
  240.      may find the -o option useful.  This option writes out a list of
  241.      mods in the current directory to the screen which can be redirected
  242.      to a file.   Example:
  243.  
  244.      A:\> mp -o > c:\modlist.021
  245.  
  246.      Would create a file c:\modlist.021 with the following contents
  247.  
  248.      AXELF.MOD           axel f                   15    83   110k     10:24
  249.      FCMEDINA.MOD        funky cold medina        31    31   229k     01:56
  250.      HUMANINV.MOD        human invasion           31    26   197k     03:15
  251.      KYLIEMIX.MOD        kyliemix                 15    15    59k     01:52
  252.      SJUNGLE.MOD         street jungle            31    45   135k     05:38
  253.      THEMODEL.MOD        the model                31    28    74k     03:30
  254.      MCHAMMER.ZIP        MCHAMMER.MOD             15     0   106k     00:00
  255.  
  256.  
  257.  
  258.      8. VERSION
  259.      ─────────────────────────────────────────────────────────
  260.  
  261.      The -v flag displays automatic information about your version of MODPLAY.
  262.      It will show the main version number and the exact date/time it was
  263.      compiled, for example:
  264.  
  265.      C:\> mp -v
  266.      Program        : MODPLAY (MP.COM) 
  267.      Version        : 2.00Σ (September 1991)
  268.      Compiled on    : 14-09-1991 at 13:50:59
  269.      Compiled by    : Mark J Cox
  270.  
  271.  
  272.  
  273.      9. ARCHIVED MODULES
  274.      ─────────────────────────────────────────────────────────
  275.  
  276.      Using a popular archiving utility normally saves about 30% of disk space
  277.      for modules.  Support is now added so that MODPLAY will automatically 
  278.      find and play modules stored in archives (in interactive mode only at
  279.      present).   Modules can be archived into LZH or ZIP formats and there
  280.      must be only one module per archive (modules must have a .MOD extension)
  281.      MODPLAY runs your unpacker for you, creating the .MOD file temporarily on
  282.      your hard disk; plays the .MOD file then deletes it.  To play ZIP files
  283.      you must have a program or a batch file called PKUNZIP somewhere on your
  284.      path; to play LZH files you must have a program called LHARC.
  285.      If you have a better method you would like adding, please let me know.
  286.     
  287.  
  288.  
  289.      10. SOURCE OF MODULES
  290.      ─────────────────────────────────────────────────────────
  291.  
  292.      You can obtain modules from many Bulletin Boards,  Internet sites or from
  293.      friends Amiga's.  Modules usually come archived in LZH form, these can be 
  294.      unpacked with the excellent LHARC program.  The files will usually unpack 
  295.      as 'mod.something' and so MSDOS cuts them short to 'mod.SOM' and it is 
  296.      best to rename these to 'something.mod' so that MODPLAY will automatically 
  297.      detect them.
  298.  
  299.  
  300.  
  301.      11. FREEWARE
  302.      ─────────────────────────────────────────────────────────
  303.  
  304.      This software is Freeware - that means that there is no registration fee,
  305.      you can copy this software, give it to anyone, and use it for anything 
  306.      (subject to the license at the end of this document).  If you like this
  307.      software, and would like the author to continue writing-  a gift would be
  308.      appreciated, send any spare UK currency you have left (from holiday etc.)
  309.      8-)
  310.  
  311.                   *** Was free,  Is free,  Always free ***
  312.  
  313.  
  314.      12. CREDIT & THANKS DUE TO:
  315.      ─────────────────────────────────────────────────────────
  316.  
  317.      ╔════════════════════════════════════════════════════════════════════════╗
  318.      ║                                                                        ║
  319.      ║ DABS PRESS           - For providing a Soundblaster Board that enabled ║
  320.      ║ Manchester, UK         MODPLAY to finally work with it!  DABS PRESS    ║
  321.      ║                        supply PC's and a whole host of peripherals,    ║
  322.      ║                        including Soundblaster boards at excellent      ║
  323.      ║                        prices.  Look at the adverts in most UK         ║
  324.      ║                        computer magazines or ring 061-773 8632 now!    ║
  325.      ║                                                                        ║
  326.      ╚════════════════════════════════════════════════════════════════════════╝
  327.  
  328.      Mahoney & Kaktus     - A sample Amiga assembler noisetracker replay
  329.                             routine that provided some details on how a
  330.                             module was comprised and sparked the initial
  331.                             idea.
  332.  
  333.      Francois Jalbert     - For spending hours wading through my source code
  334.                             looking for a nasty bug that only seemed to occur
  335.                             when we were not looking for it - and providing
  336.                             moral support when I get bored.
  337.  
  338.      Norman Lin (Modedit) - Who pointed out a few mistakes in my
  339.                             initial implementation.   
  340.  
  341.      Derek Beacroft       - For obtaining the Soundblaster programming
  342.                             information and other ideas
  343.  
  344.      Pete Jones, Paul     - For finding all the bugs in pre-release versions
  345.      Sutton, Phil Copeland  and picking holes in the documentation
  346.  
  347.      And the other (now over 100) people who have commented on MODPLAY and
  348.      given ideas for the future. 
  349.  
  350.  
  351.  
  352.      13. COPYRIGHT/LICENSE/WARRANTY
  353.      ─────────────────────────────────────────────────────────
  354.  
  355.      The files MP.COM, HARDWARE.DOC and this document MP.DOC ("the
  356.      software") are copyrighted by the author. The copyright owner hereby
  357.      licenses you to:  use the software; make as many copies of the program
  358.      and documentation as you  wish; give such copies to anyone; and
  359.      distribute the software and  documentation via electronic means.  
  360.     
  361.      You are specifically prohibited from charging, or requesting donations,
  362.      for  any such copies, however made; and from distributing the software
  363.      and/or  documentation with commercial products without written
  364.      contract.
  365.     
  366.      This software may be distributed in Shareware/Public Domain libraries
  367.      that charge for copying and distributing disks.
  368.     
  369.      ║ No Copy Of The Software May Be Distributed Or Given Away Without   ║
  370.      ║ This Document; And Neither The Program Or Document May Be Altered  ║
  371.      ║ In Any Way, Or Reverse-Engineered By Disassembly Or Other Method.  ║
  372.     
  373.      There is no warranty of any kind, and the copyright owner is not liable
  374.      for damages of any kind.  By using this free software, you agree to
  375.      this.
  376.     
  377.      The software and documentation are  
  378.      Copyright (C) 1990/1991 by Mark J Cox
  379.  
  380.  
  381.  
  382.      14. EXAMPLE QUESTIONS
  383.      ─────────────────────────────────────────────────────────
  384.      
  385.      These are a selection of comments/suggestions and questions I have
  386.      received.
  387.  
  388.      Q. I keep getting 'Divide Error' and my computer locks up
  389.      A. Some modules I have seen are corrupt - there is no way MODPLAY can 
  390.         tell and there is no time to do any checks - use the 's' command and
  391.         you should be able to see if the module has any garbage in it.
  392.  
  393.      Q. It sounds like my computer is about to explode.
  394.      A. You have a small piezo speaker - why not build a resistor D/A as
  395.         explained above or put a nice sized speaker (Radio Shack/Tandy) in
  396.         instead.
  397.  
  398.      Q. Can I edit modules?
  399.      A. Not with MODPLAY - use MODEDIT written by Norman Lin that uses
  400.         MODRES a resident version of MODPLAY
  401.  
  402.      Q. Ever thought of supporting 8 channels like 'Startreker'?
  403.      A. Yeah, but you would need a 20Mhz+ to run it...and I haven't found
  404.         enough modules that support it yet though.
  405.  
  406.      Q. I can't find this ZN426E chip
  407.      A. Try MAPLIN (if you are in the UK) otherwise you could always 
  408.         substitute any D/A or use the resistor version
  409.  
  410.      Q. I really like MODPLAY
  411.      A. A gift would be appreciated :-)
  412.  
  413.      Q. "Speech on the IBM PC is not just a case of 'yet another Lotus-1-2-3'
  414.          but a basic piece of innovative software which is being incorporated
  415.          into several commercial products at this very moment.  Releasing an
  416.          un-supported non-commercial product of this nature is a highly 
  417.          irresponsible act which we cannot stand by and watch without doing our
  418.          utmost to prevent" - A UK company talking about the PLAY program.
  419.      A. (I'll let you make your own answer up, send me your favourite)
  420.  
  421.  
  422.  
  423.      15. CONTACT/SUPPORT
  424.      ─────────────────────────────────────────────────────────
  425.  
  426.      Before June 1992:
  427.      -----------------
  428.      Mark J Cox                 Electronic Mail: 
  429.      17 Kirkburn Place           (JANET) m.j.h.cox@uk.ac.bradford (UK)
  430.      Bradford                            m.j.h.cox@bradford.ac.uk (other)
  431.      W. Yorks, UK              (NETMAIL) Post a message in PLAY SUPPORT on
  432.      BD7 2BZ                             Kingdom of Greyhawk BBS
  433.                                          (+44 332 756414)
  434.      After June 1992:
  435.      ----------------
  436.      29 Lundie Close           (NETMAIL) Post a message in PLAY SUPPORT on
  437.      Stenson Fields                      Kingdom of Greyhawk BBS
  438.      Derby, UK                           (+44 332 756414)
  439.      DE2 3AN
  440.  
  441.      All comments on PLAY, RESPLAY, MODPLAY or future software are welcomed!
  442.      Please enclose a SSAE for quicker reply.
  443.  
  444.      Any company need a PC assembler programmer?
  445.