LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-02-2006, 09:37 PM   #1
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Rep: Reputation: 15
no sfxload command?


Hi, Im posting here because I think I'll get better answers here than in the software forum.
The topic says it all really. I dont have an sfxload command to load soundfonts.
Is this normal in Slackware or is it something in the kernel that has to be activated or something?
If it is normal, how can I get it? I've searched google but havnt found anything good.
 
Old 07-02-2006, 11:19 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
try the command as root, or try 'asfxload' instead
 
Old 07-02-2006, 11:19 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Synt4x_3rr0r
Hi, Im posting here because I think I'll get better answers here than in the software forum.
The topic says it all really. I dont have an sfxload command to load soundfonts.
Is this normal in Slackware or is it something in the kernel that has to be activated or something?
If it is normal, how can I get it? I've searched google but havnt found anything good.
On Debian you would need the awesfx package installed perhaps it is named similar in Slackware.

Code:
apt-file search sfxload
awesfx: etc/sfxloadrc
awesfx: usr/bin/asfxload
awesfx: usr/bin/sfxload
awesfx: usr/share/man/man1/asfxload.1.gz
awesfx: usr/share/man/man1/sfxload.1.gz
 
Old 07-02-2006, 11:37 PM   #4
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nadroj
try the command as root, or try 'asfxload' instead
Tried that allready, no use.

@HappyTux:
Ok, ill look into that.

EDIT: Ok, I got ahold of the awesfx utility. But when I try to load the font it tells me:
/dev/sequencer: No such device

I have an Soundblaster Audigy 1 and I'm using the EMU10K1 driver for it.

Last edited by Synt4x_3rr0r; 07-02-2006 at 11:45 PM.
 
Old 07-04-2006, 11:24 PM   #5
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
Does anyone know what is wrong?
 
Old 07-04-2006, 11:42 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Synt4x_3rr0r
Does anyone know what is wrong?

Seems like you do not have the sequencer modules loaded for the device to be created here is what I have loaded.

Code:
snd_emu10k1_synth       7552  0
snd_emux_synth         34368  1 snd_emu10k1_synth
snd_seq_virmidi         7616  1 snd_emux_synth
snd_seq_midi_emul       6912  1 snd_emux_synth
snd_seq_dummy           4420  0
snd_seq_oss            31332  0
snd_seq_midi            9408  0
snd_seq_midi_event      7936  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                50584  9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_emu10k1           115012  2 snd_emu10k1_synth
snd_rawmidi            26144  4 snd_mpu401_uart,snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_ac97_codec        101948  2 snd_via82xx,snd_emu10k1
snd_ac97_bus            3008  1 snd_ac97_codec
snd_pcm_oss            41568  0
snd_mixer_oss          17664  1 snd_pcm_oss
snd_pcm                88332  5 snd_via82xx,snd_bt87x,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_device          9104  8 snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              23496  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc         10448  4 snd_via82xx,snd_bt87x,snd_emu10k1,snd_pcm
snd_util_mem            5440  2 snd_emux_synth,snd_emu10k1
snd_hwdep              10696  2 snd_emux_synth,snd_emu10k1
snd                    58432  18 snd_via82xx,snd_mpu401_uart,snd_bt87x,snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
I would try a modprobe snd_emu10k1_synth and see what it loads/creates for you.
 
Old 07-05-2006, 12:07 AM   #7
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
It worked! Thanks for your help.
Now how can I load this every time I start my computer?

And can you explain what these are for:
Code:
snd_emux_synth         34368  1 snd_emu10k1_synth
snd_seq_virmidi         7616  1 snd_emux_synth
snd_seq_midi_emul       6912  1 snd_emux_synth
 
Old 07-05-2006, 12:10 AM   #8
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
add the commands to your /etc/rc.d/rc.local file. if it doesnt exist, create it; if it isnt executable, make it. i think youll need to specify the full path to the command, like '/sbin/modprobe snd_emu10k1_synth'
 
Old 07-05-2006, 12:31 AM   #9
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Synt4x_3rr0r
It worked! Thanks for your help.
Now how can I load this every time I start my computer?

And can you explain what these are for:
Code:
snd_emux_synth         34368  1 snd_emu10k1_synth
snd_seq_virmidi         7616  1 snd_emux_synth
snd_seq_midi_emul       6912  1 snd_emux_synth
The snd_seq_virmidi is the sequencer virtual midi device module, snd_seq_midi_emul is the sequencer midi emulation and the third I have not a clue. Good to hear it is working BTW.
 
Old 07-05-2006, 12:46 AM   #10
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nadroj
add the commands to your /etc/rc.d/rc.local file. if it doesnt exist, create it; if it isnt executable, make it. i think youll need to specify the full path to the command, like '/sbin/modprobe snd_emu10k1_synth'
It worked great. I never knew that you had to specify the whole path to the command.
I also put in a few other commands that I've wanted to start automaticly.

HappyTux: Ok, good to know. I loaded them all


Thanks to both of you for your answers.
 
Old 07-05-2006, 12:49 AM   #11
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
Quote:
I never knew that you had to specify the whole path to the command.
in the method that you are doing (adding the commands to the script file), yes, i believe you do have to specify the full path.. try it without the full path, maybe itll work but from the last experience i had with that it didnt. probably because the PATH environment variable isnt setup yet at that stage in booting.
 
Old 07-05-2006, 12:55 AM   #12
Synt4x_3rr0r
Member
 
Registered: Nov 2005
Location: Sweden
Distribution: Arch Linux 64bit with Gnome
Posts: 138

Original Poster
Rep: Reputation: 15
Yeah I have tried whithout the full path before and it didnt work. The computer just hangs before the login.
And thats why I asked because I wasnt sure about how to do
 
Old 07-05-2006, 10:04 AM   #13
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Another reason for using the full path is if you have a local install of the package as well then if the local was in your PATH before the "normal" install and the "normal" was the one you wanted to use then the system would find the local version first and use it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 02:23 AM
running sfxload <soundfont> at bootup farpoint Debian 2 05-09-2005 06:03 AM
sfxload prob. No AWE synth device is found farpoint Debian 2 05-06-2005 09:06 AM
sfxload chrismiceli Linux - General 0 05-19-2004 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration