NAME
sfxload, asfxload - load a SoundFont file on the Emux WaveTableSYNOPSIS
sfxload [-options] fontfileDESCRIPTION
sfxload and asfxload are utility program sto transfer the sound wave and instruments data in a SoundFont file to the AWE32 sound driver, or to the Emux WaveTable of ALSA sbawe and emu10k1 drivers. This program is necessary for playing MIDI samples via sequencer programs supporting AWE driver. There is no big difference between sfxload and asfxload except for that asfxload is for ALSA and sfxload is for OSS, respectively. The options to specify devices are different between them (see below).% sfxload fontfile
OPTIONS
- -F, --device=file (sfxload only)
- Specify the device file to be used. Default value is /dev/sequencer.
- -D, --index=number (sfxload only)
- Specify the device index of AWE driver. Negative number (e.g. -1) means to probe the first AWE device automatically. For selecting the other AWE cards, a positive index number must be given here. Default value is -1.
- -D, --hwdep=name (asfxload only)
- Specify the hwdep name to be used. As default, asfxload seeks until any Emux compatible hwdep device is found.
- -i, --clear[=bool]
- Remove all samples before loading the fonts. This is an explicit directive (see -b option). If this option is specified alone without soundfont file arguments, sfxload does onlay remove samples. Either of on, off, yes, no, true, or false can be specified as an optional argument.
- -x, --remove[=bool]
- Remove the optional samples previously loaded via -b option. Otherwise, all new samples are simply appended.
- -N, --increment[=bool]
- Do not clear samples even with the absence of -b option. However, this option is not exclusive with -x option. If both options are specified, and the memory full error is encountered during loading fonts, sfxload will try to remove samples and load the fonts again.
- -b, --bank=number
- Append the sound samples on the specified bank. Without
this option, all present samples in the driver are removed before loading
the new fonts unless -N option is specified. Usually, this option
is necessary to load user bank, typically in bank one. For example,
% sfxload synthgm.sbk
- -l, --lock[=bool]
- Lock the font. The locked font is no longer removed via remove option ( -x) even if it's loaded together with -b option.
- -C, --compat[=bool]
- Use the old (v0.4.2) parameter calculations.
- -A, --sense=sensitivity
- (Only valid on compatible mode)
- -a, --atten=attenuation
- (Only valid on compatible mode)
- -d, --decay=scale
- (Only valid on compatible mode)
- -M, --memory[=bool]
- Display the left memory size in DRAM on the AWE32 card.
- -c, --chorus=percent
- Specify the effects of chorus. The value is in percent, from 0 to 100. The default is unspecified. This value may be overwritten by MIDI control messages.
- -r, --reverb=percent
- Specify the effects of reverb. The value is in percent, from 0 to 100. The default is unspecified. This value may be overwritten by MIDI control messages.
- -B, --addblank[=bool]
- Add 48 size of blank loop on each sample data. Usually, this option is not necessary. Most of soundfont files are designed well for enough blank loops for each sample.
- -L, --extract=source[:map]
- Extract and load only the specified preset(s). This option is usually employed by drvmidi. The preset is given as same as in virtual bank file.
- -v, --verbose[=level]
- Increase or set the verbosity level.
- -q, --quiet
- Don't show error messages, equivalent with --verbose=0.
- -V, --volume=percent
- Specify the total volume of sounds, provided in percent. The default volume is 70%.
- -P, --path=path1:path2:pathN
- Specify the search path list. The sound files are searched from path1, path2, and so on. This overrides both the system path and environment variable SFBANKDIR.
VIRTUAL BANK FILE
The virtual bank file is a list of presets treated as one soundfont file. The syntax of virtual bank is as follows:# comments
preset/bank/keynote
If bank and keynote are omitted, bank 0 and keynote -1 (meaning to search all keys) are applied.
0/128:0/128:drum.sf2
default standard.sf2
SYSTEM RESROUCE FILE
The default option arguments can be stored in the system resource file. There are two files loaded as default.$HOME/.sfxloadrc
fontname -options..
The first argument is soundfont file name for each option. The remaining arguments are identical with command line options. The font name default is used for default options for all sound fonts. The default options are overridden by specific options or command line options.
default --chorus=20
ENVIRONMENT
- SFBANKDIR
- Search path for sound files. The current directory is always searched at first.
SEE ALSO
drvmidi(1)COPYRIGHT
Copyright (C) 1996-2003 Takashi Iwai. The AWE32 driver and utilities are free software; you can redistribute them and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.January 22, 2003 |