Package: awesfx
Version: 0.5.0b-2
Severity: normal

/usr/share/doc/awesfx/README.Debian states:

Default soundfont search path is /usr/share/sounds/sf2 in my packages,
although /usr/share/sfbank and /usr/local/lib/sfbank will also work.

Let's see:

stranger:~# ls /usr/local/lib/sfbank
2gmgsmt.sf2  4gmgsmt.sf2  8mbgmsfx.sf2
stranger:~# asfxload 8mbgmsfx
sfxload: can't find font file 8mbgmsfx
stranger:~# asfxload 8mbgmsfx.sf2
sfxload: can't find font file 8mbgmsfx.sf2


The man page states:

       -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.

Let's see again:

stranger:~# asfxload --help 2>&1 | grep path
 -P, --path=dir           set SoundFont file search path
   system default path is /usr/share/sounds/sf2/
stranger:~# asfxload --path=/usr/local/lib/sfbank 8mbgmsfx
asfxload: unrecognized option `--path=/usr/local/lib/sfbank'
stranger:~# asfxload -P /usr/local/lib/sfbank 8mbgmsfx.sf2
asfxload: invalid option -- P
*** not a RIFF file
awe: can't load SoundFont /usr/local/lib/sfbank
stranger:~# SFBANKDIR=/usr/local/lib/sfbank asfxload 8mbgmsfx
sfxload: can't find font file 8mbgmsfx

So neither is /usr/local/lib/sfbank in the default soundfont search
path nor does asfxload seem to support any way to change the search path
unlike documented.

Just to confirh that the file is fine and that omitting the suffix
works:

stranger:~# cd /usr/local/lib/sfbank
stranger:/usr/local/lib/sfbank# asfxload 8mbgmsfx
stranger:/usr/local/lib/sfbank#

elmar

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-bdclaim
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages awesfx depends on:
ii  libasound2                    1.0.10-2   ALSA library
ii  libc6                         2.3.5-11   GNU C Library: Shared libraries an

awesfx recommends no packages.

-- no debconf information

-- 

 .'"`.                                                            /"\
| :' :   Elmar Hoffmann <[EMAIL PROTECTED]>    ASCII Ribbon Campaign  \ /
`. `'    PGP key available via pgp.net        against HTML email   X
  `-                                                    & vCards  / \


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to