home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / music / dmp282.zip / DMP.DOC < prev    next >
Text File  |  1994-01-31  |  10KB  |  234 lines

  1.  
  2.  
  3.                                 DMP.DOC
  4.  
  5.              Documentation for the Dual Module Player v2.82
  6.  
  7.                   Copyright (C) 1992,1993 Otto Chrons
  8.  
  9.  
  10.  DMP.EXE is  a program  demonstrating the  capabilities of the DSMI
  11.  programming interface (DSMI stands for Digital Sound & Music
  12.  Interface). It's a standalone module  player with  which  you can play
  13.  STM, S3M, 669, FAR and MTM files  as well  as Amiga modules (MOD or
  14.  NST). DMP is cardware so you  can freely distribute  it and I hope you
  15.  did, as long as you include this help file with the executable. If you
  16.  like the product, please send me a postcard to the address shown on the
  17.  endscreen of DMP!!
  18.  
  19.            Here is the command line syntax:
  20.  
  21.            DMP [options] [modulename] [@listfile] [options]
  22.  
  23.            Where:
  24.            ------
  25.            modulename : name of a module (wildcards *,? allowed)
  26.            listfile   : name of a file containing list of module names
  27.  
  28.            options  : -Sxxxx          set sampling rate 4000-44100
  29.                                       alternatively 4-44
  30.                       -H or -?        show help screen
  31.                       -Ix             interrupt number
  32.                       -Pxxx           port address (use 42 for PC speaker)
  33.               -Dx             DMA channel
  34.               -O              Scramble module order
  35.               -L              Inhibit looping
  36.               -M              Mono mode (SB16 & PAS)
  37.               -Q              Quality mode (on 8-bit cards only)
  38.               -Cx             Desired card where x is:
  39.                     1 for Sound Blaster
  40.                     2 for Sound Blaster Pro
  41.                     3 for PAS+
  42.                     4 for PAS16
  43.                     5 for SB16
  44.                     6 for general DAC (Covox)
  45.                     7 for Aria cards
  46.                     8 for Windows Sound System & compat.
  47.                     9 for Gravis Ultrasound
  48.                     10 for PC Speaker
  49.                     11 for Stereo DAC (LPT1 & 2)
  50.                     12 for Stereo-on-1 DAC
  51.               -Txxx           Buffer size xxx (0-32000)
  52.               -E              Disable extended tempos (MOD only)
  53.               -Axxx           Amplify by xxx, 31 is normal volume
  54.               -B              Disable EMS usage
  55.               -8              Force an 16-bit card into 8-bit
  56.                       mode (works with Aria, PAS16 and WSS)
  57.               -Nxx            Set default panning to xx (0-63,100)
  58.                       100 = Surround sound
  59.               -W[command]     Automatic DOS shell, executes optional
  60.                       'command'.
  61.               -Zxx          Use 25/50 row display
  62.  
  63.  If you use some options all the time, you can put them into an
  64.  environment variable DMP:
  65.  
  66.     Example:
  67.  
  68.  You always want to use quality mode and sampleing rate of 22kHz and
  69.  mono mode, put following line into your AUTOEXEC.BAT
  70.  
  71.     SET DMP=-q -s22 -m
  72.  
  73.  NOTE!  You cannot override single letter options (-l,-o,-m,-q) with
  74.  command line parameters. All other options can be overriden.
  75.  
  76.  Alternatively you can use the CmdLine parameter in DMP.INI for same
  77.  purpose.
  78.  
  79.  You may have to  give your soundcard's IRQ  number and/or port address
  80.  if DMP fails to find them. If you don't provide both values then DMP
  81.  will assume 220h for port address, and 7 for interrupt number. Giving
  82.  wrong address  will hang  your machine,  but wrong interrupt number
  83.  only stops the playing after a second. The "/C" option is useful if you
  84.  want to use some other card, than the one DMP automatically detects.
  85.  
  86.  You don't  have  to add  any extension  to  the name,  because the
  87.  program will try  extensions MTM, AMF, STM, 669, S3M, FAR, MOD and NST
  88.  if it doesn't find the file. Note that you can supply many modulenames
  89.  and list files.
  90.  
  91.            Example:
  92.  
  93.            DMP beyond -s20 *.NST @goodmods
  94.  
  95.            goodmods is a text file containing following lines:
  96.            occ-san
  97.            stars
  98.            intro3
  99.  
  100.  DMP  will use  the  sampling  rate  of  20KHz  and  play following
  101.  modules: BEYOND.MOD,  OCC-SAN.STM, STARS.MOD, INTRO3.MOD  and all
  102.  .NST-files in the current directory.
  103.  
  104.  DMP has also a config file called DMP.INI. It should be placed in the
  105.  same directory with DMP.EXE but DMP will also find it if it's somewhere
  106.  in the PATH. See the file itself for explanations on config switches
  107.  and strings.
  108.  
  109.  You can also play modules inside archives by specifying in DMP.INI how
  110.  to extract files from the archive.
  111.  
  112.  
  113.                               Using stereo DACs
  114.  
  115.  If you have two DACs on LPT1 and LPT2 you can use them as one stereo
  116.  source with following command line:
  117.  
  118.  DMP -c11 ...
  119.  
  120.  Note that you don't have to specify port address.
  121.  
  122.  If you have a Stereo-on-1 DAC you can use it with following options:
  123.  
  124.  DMP -c12 -pXXX ...
  125.  
  126.  where XXX is the address of the DAC (LPT1 = 378)
  127.  
  128.  
  129.                                 How to use DMP
  130.  
  131.  After DMP has  loaded the first  module, it starts  to play it and
  132.  shows some information about  it. DMP displays module's  name, its file
  133.  size, the amount of  memory used for module and sampling rate.  Because
  134.  of the AMP's Intelligent Module Loader  (IML) modules  usually take
  135.  10-30% less  space. I've  seen a 244Kb module shrink into 151Kb when I
  136.  loaded it with DMP. While playing, DMP updates fields showing current
  137.  pattern, row, elapsed time, volume and sampling rate. Under these
  138.  fields are four lines showing the current status of the corresponding
  139.  tracks. Here is an example:
  140.  
  141.  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  142.    bassdrum            │ F#2 │ 64 │               │ ■■■■■■■■■■■■■■■■■■■■■
  143.    strings7            │ D-3 │ 20 │ ARPEGGIO      │ ■■■■■■■■■■■■■■■
  144.    guitar42            │ E-2 │ 12 │ PORT.NOTE     │ ■■■■■■■■■■■
  145.    guitar44            │ G-2 │ 57 │ FINE VOL      │ ■■■■■■■■■■■■■■■■■■
  146.  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  147.  
  148.  The first  field shows  the instrument  currently playing  on that
  149.  track. Second is the note value, third its volume and fourth indicates
  150.  what special command is running. The bar simulates a VU  meter on music
  151.  equipment, but you shouldn't take it  as  an exact  representation of
  152.  the music  level, it's there because it looks nice!
  153.  
  154.  The rest of the screen is filled with instrument names. The numbers before an
  155.  instrument name indicate the channels that instrument is playing on.
  156.  
  157.  Pressing 'H'  brings up a  quick-help showing  command line options and
  158.  keys used to control the program.
  159.  
  160.            Keys :
  161.           ────────
  162.  
  163.            P            pause module, any key resumes
  164.            1-9          turn track xx on/off
  165.            0            turn selected track on/off
  166.            D            DOS shell (write EXIT to get back)
  167.            N            load next module (if you have supplied more than one)
  168.            S            stereo mode on/off (SB Pro), default is on
  169.            F            filter on/off (SB Pro), default is off
  170.            left/right   Jump to next/previous pattern
  171.            up/down      select track
  172.            F1-F10,+,-   set volume
  173.            [,]          Set new speed
  174.            {,}          Set new tempo
  175.            V            Real/fake volume bars
  176.            L,M,R,U      Panning full left/mid/right/surround
  177.        , .          Panning left/right
  178.        Z        Switch between 25- and 50-row display
  179.        H            Help screen
  180.        ESC          exit
  181.  
  182.  Try this module player  with all the modules  you have, and if you
  183.  encounter problems with any modules, inform the author. Have fun.
  184.  
  185.  
  186.                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  187.                 Contacting the author
  188.                ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  189.  
  190.        ┌─────────────────────────────────────────────────────────────────────┐
  191.        │                                                                     │
  192.        │   By mail:                                                          │
  193.        │   ────────                                                          │
  194.        │                                                                     │
  195.        │            Otto Chrons                                              │
  196.        │            Pyydyspolku 5                                            │
  197.        │            FIN-36200 Kangasala                                       │
  198.        │            FINLAND                                                  │
  199.        │                                                                     │
  200.        │   InterNet:                                                         │
  201.        │   ──────────                                                        │
  202.        │            c142092@cc.tut.fi (fastest method to contact)            │
  203.        │                                                                     │
  204.        └─────────────────────────────────────────────────────────────────────┘
  205.  
  206.     Newest version is always available at:
  207.  
  208.        ┌────────────────────────────────────────────┐
  209.        │ R.A. LAW         +358-37-5849007    24h    │
  210.        │ ftp.uwp.edu      /pub/msdos/modplayers     │
  211.        │ ftp.wustl.edu    /pub/msdos_uploads/sounds │
  212.        └────────────────────────────────────────────┘
  213.  
  214.     See CABINET.DMP for a list of DMP support sites in Finland.
  215.  
  216.     See DMP.REV for revision history.
  217.  
  218.                 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  219.                  For programmers only
  220.                             ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  221.  
  222.  
  223.  DMP was  created with  Borland C++  3.1 and  it is  based on DSMI's
  224.  routines, so by ordering DSMI interface you could write programs with
  225.  similar capabilities. DSMI is a collection of  routines (for C and
  226.  Turbo Pascal) that allows programmers to play  modules in the
  227.  background, but unlike any other module player it also allows
  228.  simultaneous sound effects!! Up to 32 channels can be used which means
  229.  that you can have a module and sound effects playing in full stereo (on
  230.  cards which support stereo sound)! DSMI is available and the price is
  231.  270FMK ($70). Packet includes full documentation (printed), OBJ files &
  232.  libraries for C version, TPUs for Turbo Pascal and also most of the
  233.  source code so you can modify the behaviour of DSMI.
  234.