home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
MULTIMED
/
TMIXER13
/
tmixer.doc
< prev
next >
Wrap
Text File
|
1997-03-20
|
7KB
|
195 lines
tmixer.doc Copyright (C)1997 Cornel Huth
release 1.2 20-Mar-1997
tmixer is a full-function mixer for Creative Labs Sound Blaster soundcards.
It is an OS/2 VIO application (neither PM nor MMPM/2 is required). Files
included:
1. paradise.sys
2. tmixer.exe
Optionally, if you are running Warp 3 or earlier:
3. clock01.sys (clock02.sys available by request, for MCA)
Also included is tmidi, a wonderful little SMF player for MPUs.
No other drivers are needed. MMPM/2 is not required (but is okay), nor
are any soundcard drivers. This package includes everything you need
to control your SB mixer. Specific mixers currently supported are the
1335 (SB2CD), 1345 (SB Pro), and the 1745 (SB16 and later).
Installation
------------
Install the (two) SYS driver(s) in your boot drive's root directory and
include a reference for the paradise driver in your config.sys:
DEVICE=G:\PARADISE.SYS (optional -q for quiet install)
CLOCK01.SYS, installed automatically by the boot process and so has no
reference in the config.sys file, is based on the Warp 4.0 driver. It
can be used in previous OS/2 versions, too. If you are using Warp 4.0,
your CLOCK driver already has the IDC hook, so you can use the one you
already have. The included CLOCK01.SYS driver is only for those running
Warp 3 or earlier.
If you have the old clock driver installed, paradise.sys will gracefully
tell you so, and not install itself. If you get this message at boot, use
the included clock01.sys.
Note: Due to a long-standing bug in OS/2, detection of obsolete clock
drivers is not as straight-forward as it should be. However, if the
obsolete clock is not found during boot, it likely will be found by tmidi
(tmixer doesn't current make use of the clock driver, but the Paradise
system requires that it be installed anyway). See tmidi.doc for more.
The clock01.sys driver in Warp 3's fixpack #26 is -not- an up-to-date
driver. If the clock01.sys driver is less than 4000 bytes (e.g.,
3520 bytes, like the fp26 one (date 10-10-96)) you need to install the
clock01.sys driver included in this package.
Once you have the driver(s) installed, reboot.
Using tmixer
------------
To get a list of possible switches, use tmixer with no options:
[G:\]tmixer
the result is:
tmixer 1.2 Copyright (C)1997 Cornel Huth http://www.40th.com/
Use: [G:\]tmixer -p:n [-i:n] [-d:n] [-h:n] [-m:n] [-tell] [...]
-p: is the required base port of device (SB usually 220)
-i: IRQ (optional - see technical documentation for details)
-d: 8-bit DMA (optional - [if both -i & -d, device is initialized])
-h: 16-bit DMA (optional)
-m: mixer type (optional) (not all settings available for all mixers)
-tell shows current mixer settings
-vol:n n=0-100 -bal:n n=0-50-100
-vWave:n n=0-100 -bWave:n n=0-50-100
-vMidi:n n=0-100 -bMidi:n n=0-50-100
-vCD:n n=0-100 -bCD:n n=0-50-100
-vLine:n n=0-100 -bLine:n n=0-50-100
-vMic:n n=0-100 -bass:n n=0-50-100
-vSpkr:n n=0-100 -treble:n n=0-50-100
-AGC:n n=0|1 -ciMidi:n n=0|1
-coLine:n n=0|1 -ciLine:n n=0|1
-coCD:n n=0|1 -ciCD:n n=0|1
-coMic:n n=0|1 -ciMic:n n=0|1
-gOut:n n=0-100 -gIn:n n=0-100
To get a list of switches specific to your soundcard's mixer, use the
following:
[G:\]tmixer -p:220 -tell (use your soundcard's base port for -p:)
the result is as shown below, where each list member is a valid switch for
your mixer (the balance switches are implied, to the right of the |; see
above for balance switch names). The SB16 -tell output looks like this:
Port: 220 IRQ: 10 DMA: 0x0601 Mixer: 1745 DSP: 4.11 Paradise: 1.100
vol: 100 | 50 AGC: 0
vWave: 40 | 50 gIn: 0
vMidi: 40 | 50 gOut: 0 ciMidi: 0
vCD: 0 | 50 coCD: 1 ciCD: 1
vLine: 0 | 50 coLine: 1 ciLine: 1
vMic: 0 coMic: 1 ciMic: 1
vSpkr: 0
bass: 50
treble: 50
The output is tailored to the mixer, so if you have a SB Pro you would
see fewer settings (e.g., no tone, no connect outs, etc.). For example,
if you have an SB Pro-compatible mixer, the SB Pro -tell output is:
Port: 220 Mixer: 1345 DSP: 3.01 Paradise: 1.100
vol: 100 | 50
vWave: 80 | 50
vMIDI: 80 | 50
vCD: 0 | 50 ciCD: 0
vLine: 0 | 50 ciLine: 0
vMic: 0 ciMic: 1
The SB2CD has fewer still. The SB2CD is not too common. It was the first
SB to include a mixer. It includes a CD connector interface.
The technical documentation contains a complete list of what each setting
does and its valid values. The technical documentation is available only
to licensed users.
To set a mixer control, use the name as it is shown in the -tell list
(or the list shown when tmixer alone is used), and add a value to it.
For example, to set the volume to maximum, full-left balance, use:
[G:\]tmixer -p:220 -vol:100 -bal:0
You may stack as many switches as you want on a command line.
NOTE: If tmixer indicates to you that the soundcard needs to be initialized,
you should do the following before using tmixer to set anything:
[G:\]tmixer -p:220 -i:<the IRQ> -d:<the low DMA> -h:<the high DMA>
For example,
[G:\]tmixer -p:220 -i:10 -d:1 -h:6
The -h: high DMA channel switch is for the SB16 and later; the card WILL
BE PROGRAMMED for those settings. Once the card is initialized (usually
only required once per power-cycle, and is usually already init'ed if you
are using MMPM/2, or have run any soundcard program), the mixer type is
auto-detected. To override the mixer type, use the -m: switch. See the
technical documentation for details.
Limitations
-----------
The 1745 connections are always programmed left-to-left, and right-to-right
(e.g., Line-In left always goes to the left channel, and Line-In right
always goes to the right channel).
The gain controls are programmed to adjust both channels identically (e.g.,
setting gIn:50 sets both left and right gain-in channels to 50). Ditto
for the tone controls.
Do not leave a space between the switch: and the value (-vol:80).
Volume level must be non-zero for its balance change to take effect.
Tips
----
See the technical documentation file, tmixer.tec (available to licensed
users only). To get a license, see the README file.
See the README file for more.
Filename is tmixer12.zip. At ftp://hobbes.nmsu.edu/os2/mmedia. For the
always-latest release, see the sites listed below.
Cornel Huth
--
. .
: Quality Toolkits and Applications for : info@40th.com
: DOS - Win16 - Win32 - OS/2 : http://www.40th.com/
: : BBS:1-210-684-8065