Re: Yet another simple sound question....

2005-08-21 Thread Theodore
Στις Saturday 20 August 2005 05:10, ο/η Eric Murphy έγραψε:
 I had thought that my Sound Blaster Audigy driver (emu10k1) only
 supported 2 channels (or 2 speakers) however upon playin an mp3
 today i noticed that I was getting sound out of all my speakers
 includeing my sub.  So how do i adject the channels as turning up
 certain speakers or tuning the sub?


 On a side note: anyone else thats useing raid and 6.0 getting
 random reboots? ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

I have audigy 2 and i use this driver:
http://chibis.persons.gfk.ru/audigy/
which has an emuctrl program where you can adjust the volume for
front rear sub etc.
I am using 5.4 though and it appears that you are using 6 so i don't 
know if it will work for you. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Quick sound question

2005-08-19 Thread Eric Murphy
Hey all Im trying to install OSS to get 5.1 sound working -- I keep getting 
THIS error:


(I get a similar error when trying to run glxgears as well)



greed# ./oss-install 
/libexec/ld-elf.so.1: Shared object libncurses.so.5 not found, required by 
oss-install

So what packages am i missing?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Quick sound question

2005-08-19 Thread Mike Hernandez
On 8/19/05, Eric Murphy [EMAIL PROTECTED] wrote:
 Hey all Im trying to install OSS to get 5.1 sound working -- I keep getting 
 THIS error:
 
 
 (I get a similar error when trying to run glxgears as well)
 
 
 
 greed# ./oss-install
 /libexec/ld-elf.so.1: Shared object libncurses.so.5 not found, required by 
 oss-install
 

Looks like ncurses is missing it's in ports under devel

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Yet another simple sound question....

2005-08-19 Thread Eric Murphy
I had thought that my Sound Blaster Audigy driver (emu10k1) only supported 2 
channels (or 2 speakers) however upon playin an mp3 today i noticed that I was 
getting sound out of all my speakers includeing my sub.  So how do i adject the 
channels as turning up certain speakers or tuning the sub?


On a side note: anyone else thats useing raid and 6.0 getting random reboots?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sound question #2

2005-08-19 Thread Eric Murphy
I had thought that my Sound Blaster Audigy driver (emu10k1) only supported 2 
channels
(or 2 speakers) however upon playin an mp3 today i noticed that I was getting 
sound
out of all my speakers includeing my sub.  So how do i adject the channels as 
turning
up certain speakers or tuning the sub?


On a side note: anyone else thats useing raid and 6.0 getting random reboots?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another sound question.

2004-10-21 Thread Nikolas Britton
Björn Lindström wrote:
Nikolas Britton [EMAIL PROTECTED] writes:
 

Yea kind, The sound card still has to convert the pcm data from the CD
into music and output it to the speakers though,
   

No, the CD-ROM does that and sends it to the sound card as a plain old
analog audio signal, so the only part of the sound card that comes into
play is the mixer.
 

Actually yea now that I've had time to think about it, the cable that 
goes from the CD-Rom to the sound card is usually a 3 or  4 wire cable, 
like you see in head phones, so based on that fact it has to be analog 
already. What about the ones that have 2-pin digital audio out and what 
about direct digital playback (i.g. ripping)?

The point is still mute though, you have to have at least a 
semi-functional sound card to get the mixer working.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Another sound question.

2004-10-20 Thread Thomas Moyer
I've read the handbook and searched through /usr/src/sys/conf/NOTES and 
found the list of snd_* drivers.  I'm just not sure which one I should 
use.  I have an Asus P4P800E-Deluxe.  The website says the onboard audio 
is ALC850 CODEC which is AC' 97 compatible.  Does anyone know which 
snd_* driver I should use.  I know in 5.2.1 and down it just used device 
pcm and it worked.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another sound question.

2004-10-20 Thread Nikolas Britton
Thomas Moyer wrote:
I've read the handbook and searched through /usr/src/sys/conf/NOTES 
and found the list of snd_* drivers.  I'm just not sure which one I 
should use.  I have an Asus P4P800E-Deluxe.  The website says the 
onboard audio is ALC850 CODEC which is AC' 97 compatible.  Does anyone 
know which snd_* driver I should use.  I know in 5.2.1 and down it 
just used device pcm and it worked.
Put these lines:
sound_load=YES
snd_driver_load=YES
Into the file /boot/loader.conf and then reboot.
after you reboot look at dmesg and see if it found/loaded any sound drivers
you can do this by typing in dmesg at the console and using your scroll 
lock key to move up/down OR type in dmesg | grep pcm you should see a 
lines like this:
pcm0: ESS 18xx DSP on sbc0, sbc0 is the driver it is using, now type 
in this dmesg | grep name_of_driver to make sure all of the sound 
stuff loaded.

now put a music cd into your cd player and type in (as root) cdcontrol 
play if you hear something that sounds like music your good to go, add 
the name of the driver etc. to your kernel config file and recompile 
when convenient, just remember to comment out those lines in loader.conf.

and, nevermind, im late for school
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another sound question.

2004-10-20 Thread Björn Lindström
Nikolas Britton [EMAIL PROTECTED] writes:

 now put a music cd into your cd player and type in (as root)
 cdcontrol play if you hear something that sounds like music your
 good to go

Actually, that's a pretty bad test, since that will use your CD-ROM for
the sound, rather than the DSP of your sound card. Try to play a PCM
file or something instead.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another sound question.

2004-10-20 Thread Nikolas Britton
Björn Lindström wrote:
Nikolas Britton [EMAIL PROTECTED] writes:
 

now put a music cd into your cd player and type in (as root)
cdcontrol play if you hear something that sounds like music your
good to go
   

Actually, that's a pretty bad test, since that will use your CD-ROM for
the sound, rather than the DSP of your sound card. Try to play a PCM
file or something instead.
Yea kind, The sound card still has to convert the pcm data from the CD 
into music and output it to the speakers though, but you are correct in 
that it's a bad test because the audio cable on the back of the CD-Rom 
drive might not be connected to the sound card and if its not (s)he 
might not have digital playback enabled (can FreeBSD even do that?) but 
really it came down to the fact that I didn't have time to lookup 
another way to test it, late for school remember. I think there is a 
better way to test it in the FreeBSD handbook if anyone cares.

LOL, Actually the handbook states the same thing I said:
If all goes well, you should now have a functioning sound card. If your 
CD-ROM or DVD-ROM drive is properly coupled to your sound card, you can 
put a CD in the drive and play it with cdcontrol(1) 
http://www.FreeBSD.org/cgi/man.cgi?query=cdcontrolsektion=1:  
%cdcontrol -f /dev/acd0 play 1

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
I guess another way would be to compile mp3blaster, or what ever your 
fav. mp3 player is, from ports and test it with that.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sound question

2003-11-13 Thread Petre Bandac
hello

I have a problem I somehow fixed once, but I can't remember how :-)

sim-icq gives me the following message

play: /dev/dsp: Device busy

(it uses the play command for the sound plugin)


it means that somehow the sound channel is used by other program (I have xmms 
running, and also enlightenment has the sounds option on), but only the play 
command doesn't run

can I make play use other device ?   which one ?

TIA,

petre


-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Tue Nov 11 14:37 (EET) on ttyv0, idle 11:04 (messages off)
No Mail.
No Plan.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sound question

2003-11-13 Thread Cordula's Web
 play: /dev/dsp: Device busy

Perhaps esd is running and grabbing the sound device?

I have a similar problem with mpg123. Calling mpg123
multiple times (e.g. in a loop with a shell script)
until it works is an acceptable work-around for me:

#!/bin/sh
until (mpg123 $1)
do
sleep 1;
done

Of course, a solution would be better than a work-arond :)

-- 
Cordula's Web. http://www.cordula.ws/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sound question

2003-11-13 Thread Petre Bandac
[EMAIL PROTECTED] ps -ax | grep esd
~
80418  ??  Ss 2:56.38 esd -terminate -nobeeps -as 2 -spawnfd 5
84843  p5  S+ 0:00.01 egrep esd


so if I kill -9 the esd process, icq will start emitting sounds ?

petre


On Thursday 13 November 2003 21:04 Anno Domini, Cordula's Web wrote using one 
of his keyboards:
  play: /dev/dsp: Device busy

 Perhaps esd is running and grabbing the sound device?

 I have a similar problem with mpg123. Calling mpg123
 multiple times (e.g. in a loop with a shell script)
 until it works is an acceptable work-around for me:

 #!/bin/sh
 until (mpg123 $1)
 do
 sleep 1;
 done

 Of course, a solution would be better than a work-arond :)

-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Tue Nov 11 14:37 (EET) on ttyv0, idle 11:21 (messages off)
No Mail.
No Plan.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sound question

2003-11-13 Thread Petre Bandac
unfortunately no, it will just mute my xmms session

any other solutions ?

petre

On Thursday 13 November 2003 21:11 Anno Domini, Petre Bandac wrote using one 
of his keyboards:
 [EMAIL PROTECTED] ps -ax | grep esd
 ~
 80418  ??  Ss 2:56.38 esd -terminate -nobeeps -as 2 -spawnfd 5
 84843  p5  S+ 0:00.01 egrep esd


 so if I kill -9 the esd process, icq will start emitting sounds ?

 petre


 On Thursday 13 November 2003 21:04 Anno Domini, Cordula's Web wrote using
 one

 of his keyboards:
   play: /dev/dsp: Device busy
 
  Perhaps esd is running and grabbing the sound device?
 
  I have a similar problem with mpg123. Calling mpg123
  multiple times (e.g. in a loop with a shell script)
  until it works is an acceptable work-around for me:
 
  #!/bin/sh
  until (mpg123 $1)
  do
  sleep 1;
  done
 
  Of course, a solution would be better than a work-arond :)

-- 
Login: petreName: Petre Bandac
Directory: /home/petre  Shell: /usr/local/bin/zsh
On since Tue Nov 11 14:37 (EET) on ttyv0, idle 11:26 (messages off)
No Mail.
No Plan.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sound question

2003-11-13 Thread Cordula's Web
play: /dev/dsp: Device busy
   Perhaps esd is running and grabbing the sound device?
  80418  ??  Ss 2:56.38 esd -terminate -nobeeps -as 2 -spawnfd 
  so if I kill -9 the esd process, icq will start emitting sounds ?
 unfortunately no, it will just mute my xmms session

1. Who started esd? 'root' or a non-root user? (ps axu)
2. Try fiddling with esd's flags? (man esd)

I don't have a solution, but it's obvious that esd is
opening /dev/dsp, and some programs like xmms or other
sound apps communicate directly with esd, e.g. with
a unix socket. If your app uses /dev/dsp directly, it
will fail, because esd has locked it for itself.

When I run mpg123, esd runs with the following params:

$ ps ax | grep esd
  15939  ??  Rs 0:03.23 esd -terminate -nobeeps -as 2 -spawnfd 5

It also opens this unix socket:

$ sockstat | grep esd
cpghost  mpg123   159414 stream esd[15939]:10
cpghost  esd  159396 stream (none)
cpghost  esd  159397 stream /tmp/.esd/socket
cpghost  esd  15939   10 stream /tmp/.esd/socket

You could check the permissions of /tmp/.esd/socket

Perhaps your sound app doesn't know how to use esd
(you'll have to kill esd for this), or it knows, but
can't, for some obscure reason.

Of course, this is just a wild guess.

-- 
Cordula's Web. http://www.cordula.ws/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]