Re: sound configuration for pidgin

2009-04-11 Thread Giorgos Keramidas
On Sat, 11 Apr 2009 08:56:17 +0700, kyanh xky...@gmail.com wrote:
 Second, the sound files you are using might simply be a bit low on
 the volume side.  You may want to load them into something like
 audacity to increase their loudness.

 The problem is that I use Pidgin's default sound files. I cannot
 locate those files (pkg_info -L pidgin).

IIRC, pidgin uses the sound files from libpurple:

  $ pkg_info -L libpurple-2\* | fgrep /sounds/
  /usr/local/share/sounds/purple/alert.wav
  /usr/local/share/sounds/purple/login.wav
  /usr/local/share/sounds/purple/logout.wav
  /usr/local/share/sounds/purple/receive.wav
  /usr/local/share/sounds/purple/send.wav
  $

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound configuration for pidgin

2009-04-11 Thread Polytropon
On Sat, 11 Apr 2009 08:34:51 +0700, kyanh xky...@gmail.com wrote:
 I just use the default setting from Pidgin. I don't know what is
 the kind of sound though I guess that's *.wav.

For WAV files, the play command from the port audio/sox is fine.
I think it's a bit heavy to employ mplayer for this simple job.



 When I press Browse in Pidgin Configuration Page for Sound I
 don't get the right place of default sound file. Pidgin may use
 files from GTK collection.

If you want to find this out, just check the configuration files
of Pidgin and grep for wav or mp3, you'll find where the files
come from.



 When I use Arch Linux I can use play %s but play isnot installed
 as default on FreeBSD.

Of course not, it doesn't belong to the operating system. :-)
You can simply pkg_add -r sox to get this program.



 I install `mpg123` but I still get small sound.

The sound volume doesn't depend on the player. If the files
are weak, it may be useful to increase their audio level.



 I see. I often use vol == 90 and pcm == 75.

And you're sure that the audio isn't loud enough everywhere?
Maybe the output level of your sound card - or nowadays a
built-in sound card emulation through the CPU :-) - hasn't
enough power for your speakers. (I don't have such trouble,
I use a system with a separate amplifier.)



  Do other applications (music and movie player, games etc.) play
  louder sounds?
  
 
 The music and others sounds are normal.

So it really seems to be that

a) Pidgin uses strange mixer settings on its own

b) the files that Pidgin plays are too weak in
   terms of audio level.


 Thank you. I've learned from your message that I should use
 louder for sound instead of bigger. Still find smaller
 sound :D

This is because the price of the mainboard is less expensive
while the CPU temperature is hot. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound configuration for pidgin

2009-04-10 Thread Polytropon
On Fri, 10 Apr 2009 20:51:35 +0700, kyanh xky...@gmail.com wrote:
 Hello all,
 
 I'd like to hear some notification from Pidgin. When configuring Pidgin, I use
   mplayer %s
 to make Pidgin play stuff.

First, maybe mplayer is a bit heavy stuff for notification sounds.
What are these files? If they are *.wav, use play %s command, and if
they are *.mp3, use madplay %s or mpg123 %s, as well as ogg123 %s
for *.ogg files. Check out the manpages for these programs if you
think you need further options.



 But it's hard to hear the sound as pidgin's volume is small (while
 the system mixer is almost 100:100). Is there anyway to have a
 bigger sound in Pidgin?

Check the other volumes as well. PCM should be 100:100, too.
If vol == 100:100 and pcm == 10:10, it will be very silent. :-)

Do other applications (music and movie player, games etc.) play
louder sounds?



 PS: sorry for my terrible English :)

I'm not sure mine is better, don't mind. The guys on that list have
a lot of translational phantasy. :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound configuration for pidgin

2009-04-10 Thread Geoff Fritz
On Fri, Apr 10, 2009 at 08:51:35PM +0700, kyanh wrote:
 Hello all,
 
 I'd like to hear some notification from Pidgin. When configuring Pidgin, I
  use
   mplayer %s
 to make Pidgin play stuff. But it's hard to hear the sound as pidgin's
 volume is small (while the system mixer is almost 100:100). Is there anyway
 to have a bigger sound in Pidgin?
 
 Thank you!

I use the same method you do.  Just a tip: since you use mplayer, as opposed to
the default gstreamer, you can clear a *lot* of cruft from your system by
reconfiguring the pidgin port and turning off the gstreamer option,
re-installing pidgin, then uninstalling the gstreamer stuff.  I find that
the ports-mgmt/pkg_cutleaves port is execllent for such cleaning.

Onto your question.  I have two thoughts.

First, make sure that /usr/sbin/mixer shows vol and pcm both at a
a reasonable level.  I find that 60:60 is usually sufficient for me, whether
I used headphones or speakers.

Second, the sound files you are using might simply be a bit low on the
volume side.  You may want to load them into something like audacity to
increase their loudness.

-- Geoff

 PS: sorry for my terrible English :)

No apologies needed.  Your written English is excellent!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound configuration for pidgin

2009-04-10 Thread Wes Morgan

On Fri, 10 Apr 2009, kyanh wrote:


Hello all,

I'd like to hear some notification from Pidgin. When configuring Pidgin, I use
mplayer %s
to make Pidgin play stuff. But it's hard to hear the sound as pidgin's volume 
is small (while the system mixer is almost 100:100). Is there anyway to have a 
bigger sound in Pidgin?

Thank you!


I would recommend installing the audio/normalize port, and using 
that to increase the volume of the sound files. If you don't want to alter 
the audio files, try using this as your sound command:


mplayer -af volume=20 %s
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound configuration for pidgin

2009-04-10 Thread kyanh
On Fri, 10 Apr 2009 19:06:39 -0500 (CDT)
Wes Morgan morg...@chemikals.org wrote:

 On Fri, 10 Apr 2009, kyanh wrote:
 
  Hello all,
 
  I'd like to hear some notification from Pidgin. When configuring
  Pidgin, I use mplayer %s
  to make Pidgin play stuff. But it's hard to hear the sound as
  pidgin's volume is small (while the system mixer is almost
  100:100). Is there anyway to have a bigger sound in Pidgin?
 
  Thank you!
 
 I would recommend installing the audio/normalize port, and using 
 that to increase the volume of the sound files. If you don't want
 to alter the audio files, try using this as your sound command:
 
 mplayer -af volume=20 %s

Thank you. I didn't read carefully mplayer's man page.

When I use `mplayer -af volume=n` within `n  10`, I get so much noises. The 
acceptable value is 9 or 10. 

The sound files are taken from default installation of Pidgin, and I shouldnot 
ormalize them :) -- unless I want some lourder notifications.

Regards,

-- 
Ky Anh, Huynh
Homepage: http://viettug.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound configuration for pidgin

2009-04-10 Thread kyanh
On Fri, 10 Apr 2009 17:35:04 +0200
Polytropon free...@edvax.de wrote:

 On Fri, 10 Apr 2009 20:51:35 +0700, kyanh xky...@gmail.com wrote:
  Hello all,
  
  I'd like to hear some notification from Pidgin. When configuring
  Pidgin, I use mplayer %s
  to make Pidgin play stuff.
 
 First, maybe mplayer is a bit heavy stuff for notification sounds.
 What are these files? If they are *.wav, use play %s command, and
 if they are *.mp3, use madplay %s or mpg123 %s, as well as
 ogg123 %s for *.ogg files. Check out the manpages for these
 programs if you think you need further options.
 

I just use the default setting from Pidgin. I don't know what is the kind of 
sound though I guess that's *.wav. When I press Browse in Pidgin 
Configuration Page for Sound I don't get the right place of default sound file. 
Pidgin may use files from GTK collection.

When I use Arch Linux I can use play %s but play isnot installed as default 
on FreeBSD. I install `mpg123` but I still get small sound.

 
 
  But it's hard to hear the sound as pidgin's volume is small (while
  the system mixer is almost 100:100). Is there anyway to have a
  bigger sound in Pidgin?
 
 Check the other volumes as well. PCM should be 100:100, too.
 If vol == 100:100 and pcm == 10:10, it will be very silent. :-)
 

I see. I often use vol == 90 and pcm == 75.

 Do other applications (music and movie player, games etc.) play
 louder sounds?
 

The music and others sounds are normal.

 
 
  PS: sorry for my terrible English :)
 
 I'm not sure mine is better, don't mind. The guys on that list have
 a lot of translational phantasy. :-)

Thank you. I've learned from your message that I should use louder for sound 
instead of bigger. Still find smaller sound :D


-- 
Ky Anh, Huynh
Homepage: http://viettug.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sound configuration for pidgin

2009-04-10 Thread kyanh
On Fri, 10 Apr 2009 10:07:04 -0600
Geoff Fritz gfr...@gmail.com wrote:

 On Fri, Apr 10, 2009 at 08:51:35PM +0700, kyanh wrote:
  Hello all,
  
  I'd like to hear some notification from Pidgin. When configuring
  Pidgin, I use
  mplayer %s
  to make Pidgin play stuff. But it's hard to hear the sound as
  pidgin's volume is small (while the system mixer is almost
  100:100). Is there anyway to have a bigger sound in Pidgin?
  
  Thank you!
 
 I use the same method you do.  Just a tip: since you use mplayer,
 as opposed to the default gstreamer, you can clear a *lot* of cruft
 from your system by reconfiguring the pidgin port and turning off
 the gstreamer option, re-installing pidgin, then uninstalling the
 gstreamer stuff.  I find that the ports-mgmt/pkg_cutleaves port is
 execllent for such cleaning.
 

I wil try. Knowing `pkg_cutleaves` is a bonus :P

 Onto your question.  I have two thoughts.
 
 First, make sure that /usr/sbin/mixer shows vol and pcm both at
 a a reasonable level.  I find that 60:60 is usually sufficient for
 me, whether I used headphones or speakers.
 

I did this before configuring Pidgin.

 Second, the sound files you are using might simply be a bit low on
 the volume side.  You may want to load them into something like
 audacity to increase their loudness.
 

The problem is that I use Pidgin's default sound files. I cannot locate those 
files (pkg_info -L pidgin).

 
  PS: sorry for my terrible English :)
 
 No apologies needed.  Your written English is excellent!

Thank you for your helps and your kind words :)

-- 
Ky Anh, Huynh
Homepage: http://viettug.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org