home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 31
/
CDASC_31_1996_juillet_aout.iso
/
vrac_os2
/
maplay92.zip
/
README.OS2
< prev
next >
Wrap
Text File
|
1996-06-08
|
5KB
|
137 lines
This is version 0.92 of maplay for OS/2 (maplay/2).
While it works in both of the machines I was able to test it, I don't know
if it works in anything else.
usage: maplay [-v] [-s] [-l] [-r] [-p] [-d] [-c] [-f ushort] -@ list filename[s]
filename filename of a MPEG audio stream
-v verbose mode
-q quiet mode (don't print filenames, when playing multiple files)
-s write pcm samples to 'testout.raw'
-l decode only the left channel
-r decode only the right channel
-p do NOT raise priority
-d print debug information
-c check for filter range violations
-f ushort use this scalefactor instead of the default value 32768
-@ list get files (and comments) from file 'list'
You may specify more than one input filename (and use wildcards), use
file(s) containing list of files to play or combination of both.
List file format:
Any blank lines or lines with '#' or ';' as first character are ignored.
In any other line, first word is taken as filename and rest of the line
is regarded as comment (and if '-q' switch is not used, printed to screen
when starting to play that file). Filenames may include paths. Below is
an example of a playlist.
------start------
# Maison Ikkoku Best Selection
mibest01.mp2 Kanashimi yo Konnichiwa "Hello, it's Sadness" OP
mibest02.mp2 Natsu no Sora so no 2 "The Summer Sky, No. 2"
mibest03.mp2 Ashita Hareru Ka "Will Tomorrow be Bright"
mibest04.mp2 Godai ga Kyoko wo Omou Toki "When Godai thinks of Kyoko"
mibest05.mp2 Cinema ED
mibest06.mp2 Aki "Fall"
mibest07.mp2 Yokan "Presentiment"
mibest08.mp2 Kaeri Michi "The Road Home"
mibest09.mp2 Fantasy ED
------cut-----
Debug output format:
Most of debug output is several lines like this one:
in 46080 bytes: rr......rr
The first number is number of bytes entered to ringbuffer. the last 10
letters represents state of playback ringbuffer before it.
'_' is empty
'r' is ready for playing
'.' has been used
'P' has been partly used
Normally most of them should be 'r'. If you are using switch '-p' and do
something processor intensive, you may see more '.'s. Full buffer will hold
2.5 seconds of stereo or 5 seconds of mono audio, so little interrupts
shouldn't cause problems. If your machine is fast enough, you should use
'-p' switch, because raising maplay/2 priority to timecritical causes
jerkiness in everything else.
Credits:
Maplay/2 is based on maplay 1.2 sources Copyright (C) 1993, 1994
Tobias Bading (bading@cs.tu-berlin.de).
MMPM/2 API functions were made using mm4emx 1.0 by Marc E.E. van Woerkom
(marc_van-woerkom@ac3.maus.de).
Maplay/2 was compiled with emx, and needs it's runtime libraries
(ftp://ftp.leo.org/pub/comp/os/os2/02-emx-runtime.zip).
And the conversion was made by Timo Jantunen (jeti@niksula.cs.hut.fi,
http://www.hut.fi/~jeti/).
maplay 1.2 can be found in
ftp://bigblue.pvv.unit.no/store/store/ernie/maplay/maplay1_2.tar.Z
mm4emx can be found in
ftp://ftp.leo.org/pub/comp/os2/gnu/emx+gcc/contrib/mm4emx10.zip
MMPM/2 API information can be found at
http://www.austin.ibm.com/os2games/
Sources:
I didn't include sources in this relase because I had to modify some parts
of maplay 1.2 sources rather heavily, and they need tidying up before I
dare to relase them.
Plea for help:
If anyone knows a good way to play huge sample (=like decompressed mpeg-2
audio ;-) using MMPM, please contact me. I had to use rather dubious methods
in starting, maintaining and ending audio stream ;-). I know of DART, but
am not sure yet whether to use it or not (as it needs DLLs not widely
available).
Problems?
* If you hear snaps during playback, try adding '-c' parameter. If it suggests
-f switch with a value, use it. (I usually use parameters -c -f 25000)
* If you have Soundblaster-16 compatible soundcard, you may need to update
your drivers from ftp://ftp.creaf.com/pub/creative/files/os2/sb_os2.exe.
You have to do the installation first with the install.exe program which
puts a new device line in the config.sys. But it doesn't copy the files to
the mmos2 directory! You have to do it yourself. If you forget this the
computer will stop during the next boot!
(Thanks for Joern Westermann (jnwester@immd4.informatik.uni-erlangen.de)
for this info.)
Bugs:
Report any to me (timo.jantunen@hut.fi or jeti@niksula.cs.hut.fi). Please
include maplay output with switches '-v -d' (from start to few lines after
'ply: ??????????' lines).
Legal stuff:
This program is free. You are also free to use or not to use it, but I'm
not responsible of any damage it may cause. Do NOT make money with this
program, change copyright information or distribute it without unmodified
files README, README.OS2, README.1ST and COPYING.