LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   running sfxload <soundfont> at bootup (https://www.linuxquestions.org/questions/debian-26/running-sfxload-soundfont-at-bootup-321383/)

farpoint 05-08-2005 02:51 PM

running sfxload <soundfont> at bootup
 
Hi Folks. Is it possible to run sfxload at bootup to load the soundfont into my Audigy2 soundblaster card (emu10k1)?

Distro: Debian 3.0r2 upgraded to testing
Alsa version: 1.08
Kernels: 2.4.27-2-386 & 2.6.8-2-386

Thanks for any help. Nigel. aka farpoint.

HappyTux 05-08-2005 05:08 PM

Re: running sfxload <soundfont> at bootup
 
Quote:

Originally posted by farpoint
Hi Folks. Is it possible to run sfxload at bootup to load the soundfont into my Audigy2 soundblaster card (emu10k1)?

Distro: Debian 3.0r2 upgraded to testing
Alsa version: 1.08
Kernels: 2.4.27-2-386 & 2.6.8-2-386

Thanks for any help. Nigel. aka farpoint.

Put a script in your /home/user_name/.kde/Autostart/ called say soundfont.sh with these contents.

Code:

#!/bin/bash

## Created by me to load sound fonts on login
sfxload /path/to/soundfont_to_load.SF?

And that should load it for you on login to KDE, if you want it for any X session the put it into your .Xresources file. Don't forget to chmod +x the file(s) if you have to create it/them.

farpoint 05-09-2005 06:03 AM

Hi Stephen. Thanks for the code. My first shell script. I got quite a shock when I clicked GO on Kmid and it actually played. Many thanks. Nigel. aka farpoint.


All times are GMT -5. The time now is 05:12 AM.