psi sound doesn't work

Bug #178256 reported by anonym on 2007-12-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
psi (Ubuntu)

Bug Description

Binary package hint: psi

System: Ubuntu Hardy Heron Alpha 2
Package: Psi

Psi uses the command "play" for playing sounds, when a contact comes online e.g.
For "play" the package sox is needed. But sox is not automaticallty installed when Psi is installed.
But even when sox is installed there is no sound, maybe it has to do with pulseaudio or so...
When Psi-translations are installed psi is not completely translated into german!
Thanks :)

description: updated
Maia Everett (linneris) wrote :

Try replacing "sox" with "padsp sox". Does it fix the problem?

Changed in psi:
importance: Undecided → Low
status: New → Triaged
anonym (launch-mailinator) wrote :

I replaced "play" with "aplay" and it works. :)
I don't know why "play" is default, which needs sox.

Jamin W. Collins (jcollins) wrote :

I was just going to open a bug report for this one. Indeed, Psi defaults to using "play" as the application for sound events. On a default Ubuntu installation, with Psi added, the "play" command is not present. However, as the previous poster has noted, changing this to the alsa player "aplay" works perfectly.

Additionally, this problem is present in Gutsy as well as the reported release.

Please consider making "aplay" the default player used in the Ubuntu Psi installation.

goto (gotolaunchpad) wrote :

Could someone make this change?

goto (gotolaunchpad) wrote :

I have one more problem:
When I listen to music and Psi is running then I cannot hear any sounds from Psi. In the console is some output:

aplay: main:546: Fehler beim Öffnen des Audiogerätes: Device or resource busy

Translation: ^-----> Error while opening the audiodevice:

If I stop the music then the sounds work.

Christoph (christop) wrote :

There may be no sound in psi because "play", psi`s default player, is missing a lib.
Without this it looks like this:
play /usr/share/psi/sound/chat1.wav
play soxio: Failed writing `default': unknown file type `ao'

sudo aptitude install libsox-fmt-ao

an retry will look like this:

play /usr/share/psi/sound/chat1.wav
Input File : '/usr/share/psi/sound/chat1.wav'
Sample Size : 16-bit (2 bytes)
Sample Encoding: signed (2's complement)
Channels : 1
Sample Rate : 44100
Comment : 'GoldWave (C) Chris S. Craig,'

Psi`s sound is not working because the sox default device driver is not installed, when you install sox.
As it was already said "Please consider making "aplay" the default player used in the Ubuntu Psi installation."

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers