Questions about audio hardware and software in Linux and other UNIX operating systems.

learn more… | top users | synonyms (1)

19
votes
6answers
45k views

How do I make my pc speaker beep

Using bash, how can I make the pc speaker beep? Something like echo 'beepsound' > /dev/pcspkr would be nice.
17
votes
3answers
13k views

How can I record the sound output with gtk-recordmydesktop?

I am using gtk-recordmydesktop to record the video output to my desktop. However, the videos have no sound. All the tutorials I found regarding this involved getting sound recorded from a microphone, ...
10
votes
4answers
3k views

Can I setup a loopback audio device?

If I can send audio to the output devices, then I can record the same audio as a wave. With filesystems, you can just setup a loopback filesystem and write binary data on a file instead of a device. ...
2
votes
1answer
1k views

how to pipe audio output to mic input

I've looked all over the internet for a clean way to reroute the audio output of my computer (i.e. what I'd hear from the speaker) to my microphone's input. Possibly, I'd like to do this at low level ...
31
votes
1answer
931 views

redirect sound (microphone) via ssh, how to telephone via ssh?

How can I redirect the microphone of one computer to listen to it on another computer via ssh? Which is the right device or which is the right command line? Some years ago it was easy and fun to ...
11
votes
2answers
4k views

How to record my full screen with audio?

If I want to record my desktop, I use: ffmpeg -f x11grab -s `xdpyinfo | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//'` -r 25 -i :0.0 -sameq valami.avi But it doesn't ...
13
votes
5answers
8k views

Sending audio through network

This is a rather crazy idea. I am planing to set up a configuration that would send audio being played on my laptop to my home server via local network so that the sound is played on the server ...
18
votes
4answers
11k views

How can I play a sound when script execution is ready?

I am executing every now and then some python scripts which take quite long to execute. I execute them like this: $ time python MyScript.py How can I play a sound as soon as the execution of the ...
8
votes
5answers
5k views

How can I switch between different audio output hardware using the shell?

I use my laptop with an external monitor which has speakers. When the monitor is attached through HDMI I can switch (using the GUI: Sound Setting --> Hardware) between the normal laptop audio output ...
10
votes
3answers
2k views

Detecting headphone connection/disconnection in Linux

I am trying to detect a signal when a headphone is connected or disconnected from the system. What is the best way to do this? If there is a special board with drivers, that will be my preferred ...
7
votes
1answer
261 views

No volume control in Nexuiz fullscreen mode

While playing Nexuiz on my Ubuntu in fullscreen mode the volume control buttons on my laptop don't work at all, externally after minimizing the game increasing/decreasing the sound solves the problem ...
4
votes
1answer
852 views

Linux newbie: How do I use Jack? How does Linux sound work? [closed]

I am a Linux newbie. I know my way around the command-line enough to where it doesn't get in the way of my day job (I develop web applications in Python). This involves some piping, grep, awk, and ...
3
votes
0answers
397 views

how to merge two audio input source using avconv

I try to make screencast using avconv and I facing a problem. I finally succeed to record both pc output and microphone input , the problem is that they're not merged in the output file. (I saw ...
11
votes
1answer
13k views

How to use command line to change volume?

I am trying to control the volume using my programming script. How can I do the following in Fedora 15, Ubuntu linux? Mute/ Unmute Volume up and volume down Note: Please note that I use a web USB ...
6
votes
1answer
3k views

Sound input issue with skype, selecting a microphone?

Ok, Skype yet again has issues with sound. This time, it is unable to record audio. The system is using PulseAudio and I am using a web cam as a microphone. Actually, I tried another web cam and ...
6
votes
2answers
542 views

How to disable system beep for non-privileged user

How to disable system beep on Linux? I don't have superuser powers so I cannot recompile kernel/unload module.
4
votes
1answer
235 views

Linux sound: how does it work and why do I need to chain 3 architectures to use JACK?

Linux newbie: How do I use Jack? How does Linux sound work? I have an app that is trying to output sound through ALSA or JACK, but I am not hearing anything. Here are a couple of articles, from ...
3
votes
2answers
762 views

Where can I find the Linux driver for headphones in the kernel tree?

I have headphones with three buttons on them which allow me to control my music player with my phone. I want to write a driver for my headphones to make it control my music player on my pc (Ubuntu ...
3
votes
1answer
628 views

Why is vlc not syncing audio and video correctly?

max@linux-vwzy:~> vlc --version VLC media player 1.1.11 The Luggage (revision exported) VLC version 1.1.11 The Luggage (exported) Compiled by abuild on messiah (Aug 17 2011 15:23:16) Compiler: gcc ...
2
votes
1answer
203 views

Playing sound in a user X session

I am running Linux Mint 14 and can play sound when I start my x session through mdm. however, when I start my X session using startx in user space, I am unable to get any sound play. What could be ...
2
votes
2answers
3k views

“lsmod |grep audio” doesn't return anything?

I am running Debian Squeeze. I installed and removed Gnome3 and reinstalled Gnome2.x (epic fail and stupidity) and in the process I have lost audio, lspci returns following # lspci | grep Audio ...
2
votes
1answer
3k views

ffmpeg and libmp3lame produces bad audio quality?

when I get a flash video from YouTube, why is the quality of the audio much worse than the origin video on YouTube? When I downloaded the flash movie, I convert it to avi like this: ffmpeg -i ...
1
vote
1answer
345 views

audio recording - record two sources simultaneously, merge into a single 2-track recording

How can I record two audio sources at the same time and create a file where one source is the left channel and the other source is the right channel of a lossless stereo audio recording? My distro ...
0
votes
0answers
217 views

No sound in Ubuntu minimal + xbmc. Possible bug?

I'm running Ubuntu 12.04 minimal+XBMC with no gnome interface. lspci | grep -i audio 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) aplay -l **** List of ...