Blame seq/sbiload/README

Packit 427e91
This is sbiload - an OPL2/3 FM instrument loader for ALSA hwdep
Packit 427e91
Packit 427e91
Written by Uros Bizjak <uros@kss-loka.si>
Packit 427e91
Web: http://www.kss-loka.si/~uros/sbiload.html
Packit 427e91
Packit 427e91
See the file COPYING for licence details.
Packit 427e91
Packit 427e91
Build and install
Packit 427e91
-----------------
Packit 427e91
Packit 427e91
You should be able to just type 'make'.  All configuration variables
Packit 427e91
are in make.conf if you need to change anything.
Packit 427e91
Packit 427e91
By default it will install into /usr/local/bin, change INSTDIR in
Packit 427e91
make.conf to change this.
Packit 427e91
Packit 427e91
Usage
Packit 427e91
-----
Packit 427e91
Packit 427e91
	sbiload [options] [instfile [drumfile]]
Packit 427e91
	sbiload [options] -c
Packit 427e91
Packit 427e91
	  -D, --device=name       - An ALSA hwdep name to use
Packit 427e91
	  -c, --clear             - Clear patches and exit
Packit 427e91
	  -2  --opl2              - Two operators (OPL2) file type
Packit 427e91
	  -4  --opl3              - Four operators (OPL3) file type
Packit 427e91
	  -P, --path=path         - Specify the patch path
Packit 427e91
	  -v, --verbose=level     - Verbose level
Packit 427e91
	  -q, --quiet             - Be quiet, no error/warning messages
Packit 427e91
          -V, --version           - Show version
Packit 427e91
Packit 427e91
When you have multiple sound cards and/or there may be multiple OPL2/3
Packit 427e91
synth devices, you have to tell sbiload which one to use, and pass its
Packit 427e91
hwdep name via -D option.  Otherwise, sbiload will load the data onto
Packit 427e91
the first found device.
Packit 427e91
Packit 427e91
To find out the hwdep name of the OPL devices,  check
Packit 427e91
/proc/asound/hwdep file first.  It has the list of hwdep devices
Packit 427e91
currently available on your system.
Packit 427e91
Packit 427e91
	% cat /proc/asound/hwdep
Packit 427e91
	00-00: Emux WaveTable
Packit 427e91
        00-01: OPL3 FM
Packit 427e91
	01-00: OPL3 FM
Packit 427e91
Packit 427e91
In the example above, you have two OPL3 devices.  To the first one
Packit 427e91
(00-01), which means the first card (00-) and the second device (01),
Packit 427e91
pass "-D hw:0,1".  For the second OPL3 device (01-00), pass "-D
Packit 427e91
hw:1,0" instead.
Packit 427e91
Packit 427e91
For convenience, -D option accepts a string like /dev/snd/hwC0D3.
Packit 427e91
This is automatically parsed as "hw:0,3".
Packit 427e91
Packit 427e91
Running sbiload
Packit 427e91
---------------
Packit 427e91
Packit 427e91
Pass the instrument and drum file data as arguments.
Packit 427e91
Packit 427e91
	% sbiload std.o3 drums.o3
Packit 427e91
Packit 427e91
Without a file type option (-2 or -4), sbiload will guess the file
Packit 427e91
type according to the hwdep iface type.  If it's not correct, pass -2
Packit 427e91
or -4 option explicitly.
Packit 427e91
Also, when the given file isn't found, sbiload tries to load a file
Packit 427e91
with an appropriate extension, .sb for OPL2 and .o3 for OPL3.
Packit 427e91
Packit 427e91
You can omit the instrument and the drum file names, too.  In this
Packit 427e91
case, the default file name "std" and "drums" are chosen.
Packit 427e91
Packit 427e91
The option -c is to mean just to clear patches and exit without
Packit 427e91
loading patches.
Packit 427e91
Packit 427e91
Acknowledgements
Packit 427e91
----------------
Packit 427e91
Packit 427e91
sbiload includes work from Steve Ratcliffe (pmidi-1.4.1.tar.gz) and
Packit 427e91
Jaroslav Kysela (alsamod-1999-09-01.tar.gz).
Packit 427e91
Packit 427e91
Where to report bugs and feedback
Packit 427e91
---------------------------------
Packit 427e91
Packit 427e91
Please report any problems to uros@kss-loka.si