home *** CD-ROM | disk | FTP | other *** search
/ Die Multimedia Power-CD / MULTIMEDIA.bin / modplay / dmp246 / dmp.doc < prev    next >
Text File  |  1993-05-18  |  8KB  |  198 lines

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