home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
r
/
rmp230.zip
/
DMP.DOC
< prev
next >
Wrap
Text File
|
1993-03-06
|
9KB
|
200 lines
DMP.DOC
Documentation for the Dual Module Player v2.10
Copyright (C) 1992,1993 Otto Chrons
DMP.EXE is a program demonstrating the capabilities of the DSMI
programming interface (DSMI stands for Digital Sound & Music
Interface). It's a standalone module player with which you can play
STM-files as well as Amiga modules (MOD or NST). DMP is freeware so
you can freely distribute it and I hope you did, as long as you
include this help file with the executable.
Here is the command line syntax:
DMP [options] [modulename] [@listfile] [options]
Where:
------
modulename : name of a module (wildcards *,? allowed)
listfile : name of a file containing list of module names
options : -Sxxxx set sampling rate 4000-44100
alternatively 4-44
DON'T USE HIGHER THAN 21kHz ON A SB
-H or -? show help screen
-Ix interrupt number
-Pxxx port address
-Dx DMA channel
-O Scramble module order
-L Inhibit looping
-M Mono mode (SB16 & PAS)
-Q Quality mode (on 8-bit cards only)
-Cx Desired card where x is:
1 for Sound Blaster
2 for Sound Blaster Pro
3 for PAS+
4 for PAS16
5 for SB16
6 for general DAC (Covox)
-T[xxx] Buffer size xxx (0-32000)
If you use some options all the time, you can put them into an
environment variable DMP:
Example:
You always want to use quality mode and sampleing rate of 22kHz and
mono mode, put following line into your AUTOEXEC.BAT
SET DMP=-q -s22 -m
NOTE! You cannot override single letter options (-l,-o,-m,-q) with
command line parameters. All other options can be overriden.
You may have to give your soundcard's IRQ number and/or port address
if DMP fails to find them. If you don't provide both values then DMP
will assume 220h for port address, and 7 for interrupt number. Giving
wrong address will hang your machine, but wrong interrupt number
only stops the playing after a second. The "/C" option is useful if you
want to use some other card, than the one DMP automatically detects.
You don't have to add any extension to the name, because the
program will try extensions AMF, STM, MOD and NST if it doesn't find
the file. Note that you can supply many modulenames and list files, up
to the internal limit of 50 modulenames.
Example:
DMP beyond -s20 *.NST @goodmods
goodmods is a text file containing following lines:
occ-san
stars
intro3
DMP will use the sampling rate of 20KHz and play following
modules: BEYOND.MOD, OCC-SAN.STM, STARS.MOD, INTRO3.MOD and all
.NST-files in the current directory.
How to use DMP
After DMP has loaded the first module, it starts to play it and
shows some information about it. DMP displays module's name, its file
size, the amount of memory used for module and sampling rate. Because
of the AMP's Intelligent Module Loader (IML) modules usually take
10-30% less space. I've seen a 244Kb module shrink into 151Kb when I
loaded it with DMP. While playing, DMP updates fields showing current
pattern, row, elapsed time, volume and sampling rate. Under these
fields are four lines showing the current status of the corresponding
tracks. Here is an example:
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
bassdrum │ F#2 │ 64 │ │ ■■■■■■■■■■■■■■■■■■■■■
strings7 │ D-3 │ 20 │ ARPEGGIO │ ■■■■■■■■■■■■■■■
guitar42 │ E-2 │ 12 │ PORT.NOTE │ ■■■■■■■■■■■
guitar44 │ G-2 │ 57 │ FINE VOL │ ■■■■■■■■■■■■■■■■■■
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
The first field shows the instrument currently playing on that
track. Second is the note value, third its volume and fourth indicates
what special command is running. The bar simulates a VU meter on music
equipment, but you shouldn't take it as an exact representation of
the music level, it's there because it looks nice!
The rest of the screen is filled with instrument names. The numbers before an
instrument name indicate the channels that instrument is playing on.
Pressing 'H' bring up a quick-help showing command line options and
keys used to control the program.
Keys :
────────
P pause/resume module
1-8 turn track on/off
D DOS shell (write EXIT to get back)
N load next module (if you have supplied more than one)
S stereo mode on/off (SB Pro), default is on
arrrows Jump to next/previous pattern
F1-F10,+,- set volume
ESC exit
┌─────────────┐
│ N E W ! │
└─────────────┘
DMP now supports new module format called AMF (Advanced Module Format),
which is actually the same format DMP uses internally. Therefore
modules using this format tend to be a lot smaller than with normal STM
or MOD format. Remember, that you cannot convert modules from AMF back
to STM or MOD! Use M2AMF.EXE to convert STMs or MODs.
Try this module player with all the modules you have, and if you
encounter problems with any modules, inform the author. Have fun.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Contacting the author
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
┌─────────────────────────────────────────────────────────────────────┐
│ │
│ By mail: │
│ ──────── │
│ │
│ Otto Chrons │
│ Pyydyspolku 5 │
│ SF-36200 Kangasala │
│ FINLAND │
│ │
│ Fidonet: │
│ ───────── │
│ 2:222/348.10 │
│ SBC-net: │
│ ───────── │
│ 14:1510/500.10 │
│ │
│ InterNet: │
│ ────────── │
│ c142092@cc.tut.fi (fastest method to contact) │
│ │
└─────────────────────────────────────────────────────────────────────┘
Newest version is always available at:
┌─────────────────────────────────────────┐
│ R.A. LAW +358-37-49007 24h │
│ Express +358-31-236069 24h │
│ Moonlight shadow +358-0-3882575 24h │
└─────────────────────────────────────────┘
See CABINET.DMP for a list of DMP support sites in Finland.
See DMP.REV for revision history.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
For programmers only
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
DMP was created with Borland C++ 3.1 and it is based on DSMI's
routines, so by ordering DSMI interface you could write programs with
similar capabilities. DSMI is a collection of routines (for C and
Turbo Pascal) that allows programmers to play modules in the
background, but unlike any other module player it also allows
simultaneous sound effects!! Up to 32 channels can be used which means
that you can have a module and sound effects playing in full stereo (on
cards which support stereo sound)! DSMI will be available in March
1993 and the price should be around 270FMK (about $70). Packet includes
full documentation (printed), OBJ files & libraries for C version, TPUs
for Turbo Pascal and also some of the source code so you can modify the
behaviour of DSMI. I will release a demonstration packet when DSMI
becomes available which will contain more specific information about
DSMI and its price. It will also have few demos using DSMI. Stay tuned!