home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / sound2 / dmp261b.zip / DMP.DOC < prev    next >
Text File  |  1993-08-16  |  9KB  |  203 lines

  1.  
  2.  
  3.                 DMP.DOC
  4.  
  5.          Documentation for the Dual Module Player v2.61ß
  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 (also S3M,669) files  as well  as Amiga modules (MOD or NST). DMP is
  14.  cardware so you  can freely distribute  it and I hope you did, as long
  15.  as you include this help file with the executable. If you like the
  16.  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,PC speaker)
  45.                     7 for Aria cards
  46.                     8 for Windows Sound System & compat.
  47.                     9 for Gravis Ultrasound
  48.               -Txxx          Buffer size xxx (0-32000)
  49.               -E          Disable extended tempos (MOD only)
  50.               -Axxx          Amplify by xxx, 31 is normal volume
  51.               -B          Disable EMS usage
  52.               -8          Force an 16-bit card into 8-bit
  53.                       mode (works with Aria, PAS16 and WSS)
  54.               -Nxx          Set default panning to xx (0-63)
  55.  
  56.  If you use some options all the time, you can put them into an
  57.  environment variable DMP:
  58.  
  59.     Example:
  60.  
  61.  You always want to use quality mode and sampleing rate of 22kHz and
  62.  mono mode, put following line into your AUTOEXEC.BAT
  63.  
  64.     SET DMP=-q -s22 -m
  65.  
  66.  NOTE!    You cannot override single letter options (-l,-o,-m,-q) with
  67.  command line parameters. All other options can be overriden.
  68.  
  69.  You may have to  give your soundcard's IRQ  number and/or port address
  70.  if DMP fails to find them. If you don't provide both values then DMP
  71.  will assume 220h for port address, and 7 for interrupt number. Giving
  72.  wrong address    will hang  your machine,  but wrong interrupt number
  73.  only stops the playing after a second. The "/C" option is useful if you
  74.  want to use some other card, than the one DMP automatically detects.
  75.  
  76.  You don't  have  to add  any extension  to  the name,  because the
  77.  program will try  extensions AMF, STM, 669, S3M, MOD and  NST if it
  78.  doesn't find the file. Note that you can supply many modulenames and
  79.  list files, up to the internal limit of 1024 modulenames.
  80.  
  81.        Example:
  82.  
  83.        DMP beyond -s20 *.NST @goodmods
  84.  
  85.        goodmods is a text file containing following lines:
  86.        occ-san
  87.        stars
  88.        intro3
  89.  
  90.  DMP  will use    the  sampling  rate  of  20KHz    and  play following
  91.  modules: BEYOND.MOD,  OCC-SAN.STM, STARS.MOD, INTRO3.MOD  and all
  92.  .NST-files in the current directory.
  93.  
  94.  
  95.                 How to use DMP
  96.  
  97.  After DMP has    loaded the first  module, it starts  to play it and
  98.  shows some information about  it. DMP displays module's  name, its file
  99.  size, the amount of  memory used for module and sampling rate.  Because
  100.  of the AMP's Intelligent Module Loader  (IML) modules  usually take
  101.  10-30% less  space. I've  seen a 244Kb module shrink into 151Kb when I
  102.  loaded it with DMP. While playing, DMP updates fields showing current
  103.  pattern, row, elapsed time, volume and sampling rate. Under these
  104.  fields are four lines showing the current status of the corresponding
  105.  tracks. Here is an example:
  106.  
  107.  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  108.    bassdrum            │ F#2 │ 64 │               │ ■■■■■■■■■■■■■■■■■■■■■
  109.    strings7            │ D-3 │ 20 │ ARPEGGIO      │ ■■■■■■■■■■■■■■■
  110.    guitar42            │ E-2 │ 12 │ PORT.NOTE     │ ■■■■■■■■■■■
  111.    guitar44            │ G-2 │ 57 │ FINE VOL      │ ■■■■■■■■■■■■■■■■■■
  112.  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  113.  
  114.  The first  field shows  the instrument  currently playing  on that
  115.  track. Second is the note value, third its volume and fourth indicates
  116.  what special command is running. The bar simulates a VU  meter on music
  117.  equipment, but you shouldn't take it  as  an exact  representation of
  118.  the music  level, it's there because it looks nice!
  119.  
  120.  The rest of the screen is filled with instrument names. The numbers before an
  121.  instrument name indicate the channels that instrument is playing on.
  122.  
  123.  Pressing 'H'  bring up a  quick-help showing  command line options and
  124.  keys used to control the program.
  125.  
  126.            Keys :
  127.           ────────
  128.  
  129.        P        pause module, any key resumes
  130.        1-9        turn track xx on/off
  131.        0        turn selected track on/off
  132.        D        DOS shell (write EXIT to get back)
  133.        N        load next module (if you have supplied more than one)
  134.        S        stereo mode on/off (SB Pro), default is on
  135.        F        filter on/off (SB Pro), default is off
  136.        left/right    Jump to next/previous pattern
  137.        up/down    select track
  138.        F1-F10,+,-    set volume
  139.        [,]        Set new speed
  140.        {,}        Set new tempo
  141.        (,)        Add/remove channel
  142.        V        Real/fake volume bars
  143.        , .        Panning left/right
  144.        H        Help screen
  145.        ESC        exit
  146.  
  147.  Try this module player  with all the modules  you have, and if you
  148.  encounter problems with any modules, inform the author. Have fun.
  149.  
  150.  
  151.                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  152.                 Contacting the author
  153.                ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  154.  
  155.        ┌─────────────────────────────────────────────────────────────────────┐
  156.        │                                                                     │
  157.        │   By mail:                                                          │
  158.        │   ────────                                                          │
  159.        │                                                                     │
  160.        │            Otto Chrons                                              │
  161.        │            Pyydyspolku 5                                            │
  162.        │            SF-36200 Kangasala                                       │
  163.        │            FINLAND                                                  │
  164.        │                                                                     │
  165.        │   Fidonet:                                                          │
  166.        │   ─────────                                                         │
  167.        │        2:221/105.10                         │
  168.        │                                                                     │
  169.        │   InterNet:                                                         │
  170.        │   ──────────                                                        │
  171.        │            c142092@cc.tut.fi (fastest method to contact)            │
  172.        │                                                                     │
  173.        └─────────────────────────────────────────────────────────────────────┘
  174.  
  175.     Newest version is always available at:
  176.  
  177.        ┌─────────────────────────────────────────┐
  178.        │ R.A. LAW      +358-37-49007    24h     │
  179.        │ Moonlight shadow +358-0-3882575   24h     │
  180.        │ POP              +358-18-550136   24h   │
  181.        └─────────────────────────────────────────┘
  182.  
  183.     See CABINET.DMP for a list of DMP support sites in Finland.
  184.  
  185.     See DMP.REV for revision history.
  186.  
  187.                 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  188.                  For programmers only
  189.                 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  190.  
  191.  
  192.  DMP was  created with    Borland C++  3.1 and  it is  based on DSMI's
  193.  routines, so by ordering DSMI interface you could write programs with
  194.  similar capabilities. DSMI is a collection of    routines (for C and
  195.  Turbo Pascal) that allows programmers to play    modules in the
  196.  background, but unlike any other module player it also allows
  197.  simultaneous sound effects!! Up to 32 channels can be used which means
  198.  that you can have a module and sound effects playing in full stereo (on
  199.  cards which support stereo sound)! DSMI is available and the price is
  200.  270FMK ($70). Packet includes full documentation (printed), OBJ files &
  201.  libraries for C version, TPUs for Turbo Pascal and also some of the
  202.  source code so you can modify the behaviour of DSMI.
  203.