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

learn more… | top users | synonyms (1)

2
votes
2answers
539 views

Reconfigure line-in as analog-out

I am trying to reconfigure my "line in" as another "analog out" and use it alongside with the default analog out port. I am using an onboard realtek sound card. It is very simple to do this in ...
3
votes
2answers
3k views

Playing a remote movie on the remote computer

I have two computers (a desktop and a laptop) running linux connected to my local area network. I like to ssh from my laptop over to my desktop and run programs there, and sometimes listen to music on ...
6
votes
1answer
5k 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
1answer
1k views

How can I find the correct name for my microphone and sound output using aplay or pacmd or something else, to apply in asound.conf?

I need to write a default mic and default speaker output in the asound.conf config file. But I don't know exactly how I can find my external sound card or microphone device's name, so that on reboot ...
1
vote
1answer
583 views

Java application locks up after playing sound

Our Java application plays short notification sounds periodically (in response to user actions). On some hardward, our application will lock up after the 3rd or 4th short sound. We have to pkill java ...
9
votes
2answers
231 views

Single key audio capture in Linux (save on key release)

I'd like to run a program that records audio only when the Right Control key is held down. On keyboard release the result would write to disk as, e.g. yy-mm-dd hh:mm.ogg. How might I do that? $ ...
5
votes
3answers
5k views

Command line audio player that exits immediately after file finished playing back?

I am experimenting with audio players in the command line, and noticed something weird: if the sound is very short, most players will take up to a second or two after playback has finished, before ...
1
vote
0answers
40 views

Starting jackd after using other audio

I know this is probably a common question. When I start jackd after first booting, everything works fine. If I use another audio (such as Banshee or Youtube, etc) jack won't start. From what I ...
1
vote
4answers
15k views

Change sampling rate in ALSA

I'm a Computer Audiophile, I've used Windows (with ASIO4ALL)and OSX for Audio. Now I'm making Ubuntu 13 my HTPC/Stereo Audio. To begin with I disabled Pulse audio and using GooMusicplayer with ALSA. ...
1
vote
0answers
281 views

Native Instruments Audio Kontrol 1 - crackling sound

I am very new user to the Linux world. I istalled newest Ubuntu on my old ASUS A7CC laptop. I would like to use also my older external sound interface Native Instruments Audio Kontrol 1. I am able to ...
1
vote
0answers
450 views

VLC - gapless cue support

Most of my music is ripped flac's with cue's. I listen to albums with cue mainly because of last.fm scrobbling, but I want the same experience of gapless playback as listening to whole flac using VLC ...
1
vote
0answers
238 views

Choppy sound with flashpayer

After a number of updates, including upgrading to flashplayer 11 and kernel 3.8.2 sound from flashplayer and skype has become choppy. Setup In my setup I have .ascoundrc set up to use pulseaudio ...
10
votes
1answer
8k views

Sending to two bluetooth speakers at once

Is it possible to send the same audio signal to two different Bluetooth speakers at once from a single source? I remember reading somewhere that it's possible to send audio to two different sinks ...
0
votes
2answers
765 views

Unexpectedly lost speaker output. Headphone output works fine

Yesterday when I opened my laptop I noticed that I no longer had sound from the built-in speakers. I carefully checked settings in Sound Preferences, and then dropped to shell and looked in ...
2
votes
2answers
215 views

Library for audio effects and modulation?

I'm building a site which will have multiple audio lectures uploaded, as it's mainly a feed for a certain person's lectures. What's annoying is that there are many things which can go wrong during ...
1
vote
0answers
748 views

How to make CD-quality WAV files using avconv?

I want to make a CD using the audio tracks of some video clips. I was thinking of using avconv to convert the files. As far as the other steps go, I found some instructions on the Arch Wiki. This is ...
4
votes
2answers
860 views

Why does Arch Linux keep Windows headphone mute

I have Windows 7 installed, and headphones work perfectly. Few days ago, I installed Arch Linux along with Win7. This issue appears with gnome/xfce4/openbox. Perhaps it is not related to desktop ...
1
vote
1answer
268 views

Backtrack mp3 problem

I've installed Backtrack but I can't figure out how to play mp3files. I've installed ubuntu-restricted-extras,lame, libmp3lame but still won't work(I have Rhythmbox player, I've also tried Amarok). ...
1
vote
0answers
173 views

Sound messed up in Starcraft. What's the deal?

I'm trying to run Starcraft through Wine. The sound is all distorted, as if it were playing underwater. Then, about 10 minutes into the game the sound is perfect for 1-2 seconds. Then, there's no ...
3
votes
0answers
136 views

Allow audio from only one application

I'd like to only allow audio from a certain application. That is, I'd like to have audio turned off by default for new programs. I'm aware that in PulseAudio one can mute programs, but the problem ...
2
votes
0answers
504 views

How to configure buildroot to add a sound device?

I've used a given board configuration to reconfigure it for my individual board. My board has a CS4270 sound device of Cirrus Logic. My uImage is booting successfully on my target hardware, but an ...
4
votes
1answer
818 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 ...
19
votes
3answers
18k views

Change PulseAudio Input/Output from Shell?

I have a set of nice wireless headphones which I use from time to time, in addition to my speakers and normal microphone. I'd like to write a script to switch between one input and output source and ...
1
vote
1answer
409 views

sox segmentation fault

My attempt to record sound with sox on Raspberry PI fails: pi@raspberrypi ~/tmp $ rec new.wav Segmentation fault And so does play: pi@raspberrypi ~/tmp $ play test.wav Segmentation fault Yet it ...
2
votes
1answer
2k views

convert arecord output to flac

I'm trying to convert arecord wav output to flac and it does work in part: pi@raspberrypi /tmp $ arecord -d4 -f dat -t wav -r 48000 -c 2 |flac -f -o message.flac - --channels=1 --sample-rate=16000 ...
3
votes
2answers
3k views

volume hot keys in Crunchbang don't work

I've spent 2 hours on this and still can't figure this out. It's driving me insane. Please save my sanity. When I press mute, the pnmixer control in the top right shows that I've pressed mute, but ...
2
votes
0answers
60 views

Losing sound after installing wine 1.5 (+python 2.7)?

I have a desktop and a laptop computer. Since I wanted to run IrfanView (that works great now!), I installed wine 1.5.22, which involved installing 1 GB of dependencies. The desktop continues to work ...
18
votes
6answers
19k 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 ...
6
votes
1answer
5k views

Sound not working when both the sound card and HDMI use the Intel HDA driver. How to exchange their device loading order?

I have an Acer Aspire One 522 netbook which has an Intel HDA sound card based on the Conexant CX20584 chipset. Although KDE does output sound when starting up, flash and probably many other apps which ...
1
vote
0answers
153 views

Making a Linux audio recording device available on a Windows 7 PC over network

I would like to use my headset's microphone both on my Linux laptop and a Windows 7 PC simultaneously, for different VoIP applications. I'm currently running Ubuntu with PulseAudio on the laptop to ...
3
votes
1answer
1k views

Configuring default alsa device (hw:0,0) in asoundrc

I am using a multimedia application (XBMC Frodo RC3) that does not allow me to select custom pcm device. It just asks the hardware device (in this case it is hw:0,0). Given this limitation I have to ...
1
vote
4answers
6k views

Updated Fedora 18 - no sound devices, just dummy output

So, yesterday I updated the recently released Fedora 18, this has been done: Packages Altered: Updated grubby-8.20-1.fc18.x86_64 @?fedora Update 8.22-1.fc18.x86_64 ...
5
votes
4answers
1k views

Testing, from a script, if audio devices are in silent?

Is there a default program where I can check if my audio devices are in silent? Edit: By silence, I mean that if there is something playing on that (not just activated or opened) Something like ...
0
votes
1answer
2k views

Alienware M14x - No sound in linux Mint 14 (Nadia)

I have done a fresh install of Linux Mint 14.1 x64 on my Alienware M14x. Everything was working fine after installed. Unfortunately, the sound is lost after some time. There's no sound when playing ...
4
votes
1answer
1k 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 ...
1
vote
1answer
386 views

Rip audio CDs while keeping extraction and encoding separate

I'd like to rip my audio CDs to mp3. I know this has been discussed to a good extent but I'm not sure if my setup makes sense, though. I want to use an older PC for that and I have read on the net ...
2
votes
1answer
615 views

Does SDL require any sound server like PulseAudio to play audio?

I'm trying to make an MP3 player on top of the Linux kernel and busybox using the SDL and SMPEG libraries. Does SDL work on top of the kernel or it needs PulseAudio? I have just built a C program ...
1
vote
0answers
119 views

Rhythmbox error while saving song information: Could not multiplex stream

I play a lot of .ra or .rm files in Rhythmbox. It plays fine but when I try to edit with the property box it says: Error while saving song information Could not multiplex stream. But it works fine ...
2
votes
1answer
2k views

No sound on Debian VM

I installed Debian+XFCE using VMware and this YouTube video. Everything runs OK, but I have no sound in the VM. What's wrong?
1
vote
1answer
324 views

Pulseaudio rapidly switches ouputs at high volumes

I'm using Pulseaudio. The image is of the Output Devices tab and shows the Port set to Analog Output. This is fine and works great. There's another option called Headphones but if you try and set the ...
1
vote
1answer
2k views

How do I fix a noisy input device (Internal Mic)? snd_hda_intel - debug included

As the title says, I'm having trouble with a very noisy audio input device - the internal mic or any plugged in mics. So far I've narrowed it down to an problem in ALSA since my debug info is showing ...
6
votes
1answer
476 views

Realtek audio issues on OpenBSD 5.2

I am running OpenBSD/amd64 5.2 stable on a new machine, using a gigabyte motherboard with a realtek alc898 audio chipset. When I try to play any audio (sources include mpd, aucat, and cat > ...
5
votes
1answer
550 views

Batch conversion of Module files with XMP

I have the following script to convert a big bunch of .MOD and .XM files into Wave format: #!/bin/bash for f in ./XM.* ./MOD.* do xmp $f -d wav -o - | ffmpeg -i - -acodec libmp3lame -ab 320k ...
1
vote
0answers
133 views

Sound events in Gnome 3

I've installed Gnome 3 yesterday. I use Gnome Shell. There are no any sound when a window closes and no any sound when I switch windows. Can sound be added (at least when I close a window)?
3
votes
1answer
2k views

Is there an easy way to switch playback soundcards?

I recently purchased the roccat kulo headset which comes with a nice USB soundcard, completely functional under linux :). Howsoever I now struggle to easily siwtch between my laptops integrated ...
10
votes
4answers
7k views

End sox recording once silence is detected

I'm writing a script that uses sox to record me talking. Now I need sox to wait until it detects sound before it begins recording, and I do have that figured out. But I also need sox to exit once ...
1
vote
1answer
2k views

Packages needed to get sound working

I just installed Ubuntu Server 12.10. I am using openbox and startx for my gui session. I decided not to post in the Ubuntu forum because I felt this issue might be relevant to other distros as well, ...
5
votes
2answers
4k views

Set default sound card in Pulse Audio

I have two soundcards on my systems and pulseaudio always picks the wrong one. How do I set up the default soundcard in the pulse audio preferences?
1
vote
0answers
457 views

Set default Soundcard Centos

How do I set my default soundcard on Centos/Linux? I have two soundcards installed on my system and it always detects the wrong one, upon boot.
1
vote
5answers
941 views

Consistent (physical) volume on set of files (volume normalization)

If I have, say, 20 music videos (.flv and .mp4), is there a way to play them in mplayer (mplayer2) without having to change the volume for each video, instead specifying a desired general volume, and ...