Audio setup

From Ekiga
Jump to: navigation, search

Contents

Audio tricks

Explanations

The purpose of this wrapper is to put the control volumes up ( speakers... ) and stops all sounds applications automatically ( you are prompted via graphic dialog boxs to re-enable after if you want to ) when Ekiga is ringing.
That way, you will hear if you are away from your computer or if you don't have the headset on your head. When ringing stops, the script put control volumes in the proper settings for the headset ( the speakers are turned off, capture is turned on, and headphone turned on too )

SputnickEkigaTrick2.png

- This script require : ekiga alsa alsa-utils sox inotify-tools zenity
- for debian ubuntu distros :

sudo aptitude update; sudo aptitude install ekiga alsa alsa-utils sox inotify-tools zenity

- It's designed to have a small system foot print
To avoid sound card conflicts, I use pulseaudio : http://www.pulseaudio.org/wiki/PerfectSetup with this card :

$ lspci | grep Aud
00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller (rev 02)

If I list my controls, I have :

$ amixer -Dhw:0 | awk -F"'" '/^Simple/{print $2}'
Master
Headphone
PCM
Front
Front Mic
Front Mic Boost
Line
Line Boost
CD
Mic
Mic Boost
IEC958
IEC958 Default PCM
IEC958 Playback Source
Beep
Mono
Capture
Capture
Digital
Input Source
Input Source

You should use such daemons to run this script properly and to have the ability to play 2 sounds in the same time. ( a few second )

Installation

wget http://www.sputnick-area.net/scripts/ekiga
chmod +x ekiga
editor ekiga     # You need now to edit the variables on the top of the script to fit your configuration
./ekiga          # use this instead of usual ekiga binary

Changelog

version 2010-07-14 20:12:46

  • mplayer workaround : require to kill it and replay the full command line later because mplayer can't be paused with SIGSTOP signal
Personal tools