Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] SBLive! (Creative CT4760 SBLive!) Config question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Sat Aug 13, 2005 8:33 pm    Post subject: [SOLVED] SBLive! (Creative CT4760 SBLive!) Config question Reply with quote

Hi,

I run 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD.
My mobo is an ASUS A8N-SLI Deluxe but have decided to disable the onboard audio.
I have PCI Creative Labs CT4760 SBLive! with the additional Digital I/O board installed.

I hope to find someone who has my same sound card.
I wish to make sure I have it configured properly. Can someone please verify if my setup is correct?

Here are all my configs:

lspci -vvv | grep Creative
Code:
0000:05:06.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
        Subsystem: Creative Labs CT4760 SBLive!
0000:05:06.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
        Subsystem: Creative Labs Gameport Joystick


/etc/modules.d/alsa
Code:
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

# ALSA portion
alias snd-card-0 snd-emu10k1
# OSS/Free portion
alias sound-slot-0 snd-emu10k1

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1


lsmod | grep snd
Code:
snd_seq_midi            7488  0
snd_emu10k1_synth       7232  0
snd_emux_synth         34240  1 snd_emu10k1_synth
snd_seq_virmidi         6656  1 snd_emux_synth
snd_seq_midi_event      7232  2 snd_seq_midi,snd_seq_virmidi
snd_seq_midi_emul       7808  1 snd_emux_synth
snd_seq                54656  5 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_event,snd_seq_midi_emul
snd_emu10k1           113060  1 snd_emu10k1_synth
snd_rawmidi            22080  3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_seq_device          7952  5 snd_seq_midi,snd_emu10k1_synth,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec         87640  1 snd_emu10k1
snd_pcm                87884  2 snd_emu10k1,snd_ac97_codec
snd_timer              22472  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          8584  2 snd_emu10k1,snd_pcm
snd_util_mem            3968  2 snd_emux_synth,snd_emu10k1
snd_hwdep               8480  2 snd_emux_synth,snd_emu10k1
snd                    47928  10 snd_emux_synth,snd_seq_virmidi,snd_seq,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_hwdep


/usr/share/sounds/sf2/
Code:
8MBGMSFX.SF2  default-2m.bnk  setfx-sample.cfg  xgdefault.bnk  xgmap.bnk
ch12msup.bnk  emu8m.bnk       test.bnk          xgdrum.bnk     xgsfx.bnk


cat /proc/asound/cards
Code:
0 [Live           ]: EMU10K1 - SBLive! Platinum [CT4760P]
                     SBLive! Platinum [CT4760P] (rev.7, serial:0x80401102) at 0xa000, irq 16


cat /proc/asound/version
Code:
Advanced Linux Sound Architecture Driver Version 1.0.9b.
Compiled on Aug 13 2005 for kernel 2.6.12-gentoo-r6.


Here my questions:
1) for allowing MIDI, gentoo alsa guide says to copy from the SBLive CD over to the /usr/share/sounds/sf2/ the file name 8MBGMSFX.SF2 I did so and then run asfxload /usr/share/sounds/sf2/ 8MBGMSFX.SF2 BUT I get this error:
Code:
*** not a RIFF file
awe: can't load SoundFont /usr/share/sounds/sf2/

What is wrong?

2) In order to have MIDI playing, the only thing I would need is awesfx. I see someone talking about a Soundbank. What is it and do I need it?
I got this from this thread:

sputnik1969 wrote:
My SB-Live! plays MIDI using alsa sequencer.
All i needed was media-sound/awesfx and a Soundbank (I use 8MB Soundbank from creative)
Just load the Soundbank with

sfxload -F /dev/sequencer /usr/share/Soundbanks/8MBGMSFX.SF2

But this just works with Soundblaster AWE 32/64 and SB Live!

I do not have any of the two folders ( /dev/sequencer /usr/share/Soundbanks/ )
Can someone please assist me with this MIDI setup according to gentoo alsa guide? I do not thing I need timidity at all, correct?

3) Are the ditigat I/O working? How about SPDIF?
I have through the Additional Digital I/O card an external device that accepts Digita Input and Output and as wish to connect my home stereo with either the optical or coaxial cable wish to be sure prior I buy the cable that it works. Is there any way to test them? Or, how to recognize them in alsamixer?

4) Has anybody experienced that with firefox-bin when you point to this URL http://homestarrunner.com/main1.html flash sound does not work? How to make it work?

5) In KDE (I have 3.4.2) what are the correct settings in Control Center, under Sounds & Multimedia under Sound System under Hardware under Audio Device and MIDI device?

thank you for your assistance,
Spiro


Last edited by SAngeli on Mon Aug 15, 2005 5:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
eelke
Guru
Guru


Joined: 17 May 2004
Posts: 406
Location: Earth, Netherlands, Friesland

PostPosted: Sun Aug 14, 2005 8:30 am    Post subject: Reply with quote

Quote:
1) for allowing MIDI, gentoo alsa guide says to copy from the SBLive CD over to the /usr/share/sounds/sf2/ the file name 8MBGMSFX.SF2 I did so and then run asfxload /usr/share/sounds/sf2/ 8MBGMSFX.SF2 BUT I get this error:
Code:
*** not a RIFF file
awe: can't load SoundFont /usr/share/sounds/sf2/

What is wrong?


You had a space between the path and the name of the soundbank, try this:

Code:
asfxload /usr/share/sounds/sf2/8MBGMSFX.SF2


Quote:
2) In order to have MIDI playing, the only thing I would need is awesfx. I see someone talking about a Soundbank. What is it and do I need it?


A soundbank is a file containing the instruments for the synthesizer, yes you need it. The file you tried to load in question one is a soundbank.

Quote:
I do not have any of the two folders ( /dev/sequencer /usr/share/Soundbanks/ )


For /dev/sequencer you will need to have OSS sequencer support enabled in your kernel config.
The /usr/share/Soundbanks directory is called /usr/share/sounds/sf2/ on your system.

Quote:
I do not thing I need timidity at all, correct?


Correct timidity is a soft synthesizer and is only needed when you do not have a hardware synthesizer.

3.
Can't help you with this because I do not know how it works with the exapnsion board however. However you can test the coax connection with a standard audio cable. I use a standard stereo mini-jack to cinch cable on my setup without any problems.

4.
It might be that the flashplayer uses OSS. Do you have OSS PCM enabled in your kernel?

5.
Don't know I use gnome.
Back to top
View user's profile Send private message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Sun Aug 14, 2005 10:32 am    Post subject: Reply with quote

Greetings eelke,

I appreciate a lot your reply as has helped me a lot.
Here what is left that I still need assistance with:

1) MIDI works. Gentoo ALSA guide says to add to /etc/conf.d/local.start the awesfx string if I wish to have the soundbank loaded at startup. Now, this is what I did:

edited the file and added this line:
Code:
asfxload /usr/share/sounds/sf2/8MBGMSFX.SF2

Now the file also mentions this:
Quote:
# /etc/conf.d/local.start

# This is a good place to load any misc programs
# on startup ( use 1>&2 to hide output)


So, should this become like this?
Code:
asfxload /usr/share/sounds/sf2/8MBGMSFX.SF2 >&2


2) You replied (for firefox sound)
Quote:
It might be that the flashplayer uses OSS. Do you have OSS PCM enabled in your kernel?

I do not have anything loaded in the kernel. I use pure alsa-driver. I tried to emerge emul-linux-x86-soundlibs. I will have to try it as soon as I fix my flash plugin.

3) Do you know if Mozilla-Firefox plays MIDI files? I ask you this because I have a webpage with a midi file and when I uswd to browse it with Internet Explorer form Micro$oft, I was able to hear it. Now, I do not hear it anymore.

Thank you again. Your help is greatly appreciated.
Spiro
Back to top
View user's profile Send private message
eelke
Guru
Guru


Joined: 17 May 2004
Posts: 406
Location: Earth, Netherlands, Friesland

PostPosted: Mon Aug 15, 2005 6:17 am    Post subject: Reply with quote

Quote:
So, should this become like this?
Code:
Code:
asfxload /usr/share/sounds/sf2/8MBGMSFX.SF2 >&2




Actually the comment said you should do:

Code:
asfxload /usr/share/sounds/sf2/8MBGMSFX.SF2 1>&2


But the result should be the same as descriptor 1 is the default for redirection.

Quote:
I do not have anything loaded in the kernel. I use pure alsa-driver. I tried to emerge emul-linux-x86-soundlibs. I will have to try it as soon as I fix my flash plugin.


ALSA has some options for OSS emulation. Enable these options to make applications that rely on OSS work.


Quote:
3) Do you know if Mozilla-Firefox plays MIDI files?


No idea.
Back to top
View user's profile Send private message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Mon Aug 15, 2005 9:39 pm    Post subject: Reply with quote

Hi eelke

Two questions I wish to ask you:

1) I have in my /etc/modules.d/alsa
Code:
##  OSS/Free portion
alias sound-slot-0 snd-emu10k1
Is this correct or should it be
Code:
alias sound-slot-0 snd-card-0

If not, please let me know also why.

2) Can you please look at my post https://forums.gentoo.org/viewtopic-t-369911-highlight-.html and see if you experience my same problem with firefox and audio?

3) have you tried to use alsamixergui? I installed and run it but I do not see any menu or lables. Only bars.
I assume I can safely use KMix rather, correct?

Thank you so much for your help
Spiro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum