Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Karen Lilly Creations

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 220 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

sfxload




SYNOPSIS

       sfxload [-options] fontfile


DESCRIPTION

       sfxload  is  a  utility program to transfer the sound wave
       and instruments data in a  SoundFont  file  to  the  AWE32
       sound  driver.  This program is necessary for playing MIDI
       samples via sequencer programs supporting AWE driver.

       Basically, sfxload behaves as two ways.
                 % sfxload fontfile
                 % sfxload -b1 fontfile

       The first usage is to read SF2 (or SBK) file and  transfer
       to  the  awe driver.  In this case, the samples which were
       loaded on the driver are replaced with the  new  one.   In
       the  second case, sfxload reads the file and appends it to
       the pre-loaded samples on the driver with  specified  bank
       number.   The old samples remain in the driver.  The addi­
       tional samples can be cleared via -x option (see below).

       The sound files are searched through the path  list.   The
       path  list  is  defined  as  built-in.  If the environment
       variable SFBANKDIR or the command line option -P is given,
       it  replaces  the default search list.  The file extension
       .sf2, and .sbk can be abbreviated.


OPTIONS

       -F, --device=file
              Specify the device file to be used.  Default  value
              is /dev/sequencer.

       -D, --index=number
              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.

       -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 previouly loaded via -b
              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
                        % sfxload -b1 surprise.sf2

       -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)
              Set sample attenuation  sensitivity.   This  option
              controls  the  sensitivity  of  initial attenuation
              parameter of each instrument defined  in  SoundFont
              file.  In the program, each parameter is calculated
              from the value divided by this number for the orig­
              inal value.  The number 1.0 means that the original
              initial attenuation parameters would be used.  Gen­
              erally,  smaller  number  makes drum sounds louder.
              (I think -A 2 would be similar to Windows  sounds.)
              The  default  value  is  10.  Note that this option
              changes also the default attenuation  automatically
              (see below).

       -a, --atten=attenuation
              (Only valid on compatible mode)
              Set  the  default  attenuation  level.  This option
              controls the minimum  attenuation  of  the  sample.
              The  parameter is given in raw digit number for AWE
              driver, that is, in 8/3  dB  unit.   Since  --sense
              option  changes  the  default attenuation automati­
              cally,  specify  this  option  later  from  --sense
              option.  The default value is 32.

       -d, --decay=scale
              (Only valid on compatible mode)
              Set  the  scale  of  envelope  decay time.  Default
              value is 50.0.  Sounds decay fast when larger  num­
              ber is set.  The ver.0.3 sfxload uses 54.8.  If you
              want to  keep  the  same  sound,  use  this  number
              instead.

       -M, --memory[=bool]
              Display  the  left memory size in DRAM on the AWE32
              card.

              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.

       -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 over­
              rides 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
                      source:map[:soundfont [preset-name]
                      source:map[:soundfont [preset-name]
                      ...

       The  first and second items are the source and mapped pre­
       sets, respectively.  The former is the existing preset  in
       the  soundfont, and the latter is the actual preset loaded
       on the sound driver.  The preset is described by the  fol­
       lowing three values,
                      preset/bank/keynote
       If  bank  and  keynote  are omitted, bank 0 and keynote -1
       (meaning to search all keys) are applied.

       The third item is the name of soundfont file.  The file is
       searched  from  the prescribed search-path.  The remaining
       arguments are ignored in sfxload.

       If the soundfont name is omitted, sfxload loads it as pre­
       set mapping.  It just behaves like a symbolic link of file
       opposing to copying of the file.  Any sample data  is  not
       referred at this time, but searched first when the note is
       played.

       A couple of special commands can be used together with the
       virtual presets above.  default command is used to specify


SYSTEM RESROUCE FILE

       The default option arguments can be stored in  the  system
       resource file.  There are two files loaded as default.
                 $HOME/.sfxloadrc
                 /etc/sfxloadrc

       The syntax is as follows:
                 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.

       For  example,  to  set  default chorus level 20 except for
       synthgm font, you can write a resource  file  ~/.sfxloadrc
       like that:
                 default   --chorus=20
                 synthgm --chorus=0


ENVIRONMENT

       SFBANKDIR
              Search path for sound files.  The current directory
              is always searched at first.


SEE ALSO

       drvmidi(1)


COPYRIGHT

       Copyright (C) 1996-2000 Takashi Iwai.

       The AWE32 driver and utilties 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 16, 2000              sfxload(1)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.04 Seconds