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

learn more… | top users | synonyms (1)

2
votes
4answers
4k views

mp3 extraction with avconv or ffmpeg doesn't work properly anymore

Before upgrade to the latest Ubuntu I used the following command to extract mp3 from an avi file: $ for x in *.avi; do ffmpeg -vol 100 -ab 160k -ar 44100 -i "$x" "`basename "$x" .avi`.mp3"; done ...
2
votes
1answer
652 views

Web browser hooked pulseaudio sound, how to release?

It seems that Chrome (and its Flash component) has grabbed all the audio on the machine for itself, leaving no sound for any other applications. I am running KDE with PulseAudio. Is there a way in ...
5
votes
4answers
1k views

Tmux makes a sound when I launch it, how could I disable that?

When I launch tmux in the terminal, is causes my Linux Mint to play a sound in the speakers. The sound is a Linux Mint system sound. Perhaps it's the "alert" sound, but I cannot identify it by name. ...
0
votes
0answers
1k views

ffmpeg: problems when copying the audio

When I run this ffmpeg -i video.mp4 -codec copy video.avi I get a broken audio: a crackling like a stuck LP. The input-audio is aac When I re-encode the audio like this ffmpeg -i video.mp4 -codec:v:0 ...
3
votes
2answers
2k 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
4answers
1k views

Pipe system sound to another computer

I have no speakers in my PC (Cent-OS 5.5) but there is a stereo speaker connected to the computer next to my computer (also Cent-OS 5.5). Both computers are networked. Is there any way to pipe my ...
4
votes
0answers
145 views

Restricting sound control

I need to restrict users so that they cannot output sound from built-in speakers. They should plug their headphones to hear any sound. They should be able to control headphone volume level, but not ...
0
votes
0answers
384 views

Macbook pro 8,1 skype audio

I cannot seem to get skype to use my microphone on this macbook pro 8,1. I've used alsamixer to set all speaker/mic setting to unmute with max volume, nothing. (although when I set the "digital" ...
2
votes
2answers
594 views

How to burn mp3 files to an audio CD under Scientific-Linux 6.1?

It should be an easy thing.. but a strange thing happened when I tried in Brasero: "XXX.mpg is not suitable for audio or video media" I had the same problem with K3B. What package did I forget to ...
4
votes
1answer
897 views

Pulseaudio, Phonon, KDE and forwarding sound to headset

Some days ago I bought headet (Jabra BT2045) and I want to use it in Skype voicechat and for example to forward to it another sound streams from my KDE. I've successfully paired and setup as headset ...
6
votes
2answers
978 views

How to encode huge FLAC files into MP3 and other files like AAC?

My problem is very long recordings, longer than supported by WAV. I'm talking about continuous recordings of around eight hours in length. Now, I do most of my recording using sox into FLAC, which ...
1
vote
1answer
1k views

Is it possible to redirect system-beeps to the normal audio?

When I run this script I don't here any beeps - I suppose it is because there is no speaker attached to the mainboard. Is there a way to redirect this beeps to the "normal" audio? #!/usr/bin/env perl ...
4
votes
3answers
2k views

command line audio with mpg123 - how to save position in audio and begin from that location next time?

I am contemplating using mpg123 as an audiobook player. I can't find any other good audiobook players for Linux, and I think mpg123 may be my best option. My audiobooks are organized by directories ...
5
votes
4answers
6k views

Volume on Linux much lower than on Windows

I dualboot Slackware64 and Windows 7. The volume under Linux when maxed seems a lot lower than when it is maxed on Windows. My soundcard chip is Realtek ALC662. Volume is set to 100% for PCM and ...
3
votes
2answers
684 views

How to grab the audio channel from an MP4 video file into a separate audio file?

Having an MPEG4 (MP4 container, H264 AVC video, AAC audio) video clip downloaded from YouTube, how to separate its audio channel into an independent audio (without de&re-compressing the audio ...
4
votes
1answer
1k views

Finding the current speaker volume (signal strength)

I'm trying to create a widget for awesome wm that controls and monitors volume. Getting and setting the speaker volume is easy in ALSA and PulseAudio, but how about getting the actual signal strength?...
1
vote
0answers
340 views

No sound with fresh Kubuntu install

I've just taken the plunge and installed Kubuntu as my main desktop env but I can't get the sound to work, and was wondering if anyone would be so kind as to help me work out what the problem is. I ...
3
votes
1answer
107 views

How do I prevent a program from playing sound?

I have a program which does not have an option to disable sound. I could mute the computer globally, but there are other programs for which I do want sound. Is there any way to locally disable sound?
1
vote
1answer
3k views

Activating Audio System in Arch Linux

I wanted to get the audio system going on Arch Linux, and I followed the very concise instruction I found on Archlinux.org, but it didn't help. Has anyone done this personally, therefore knowing the ...
3
votes
1answer
2k views

Command line audio - piping for simultaneous playback and recording

I am trying to generate sound data, convert it and store it to a WAV format. I'm almost there - except I'd like to hear the generated sound "while" it is being "recorded". This command line just ...
7
votes
1answer
1k views

playing a sound/notification in finch over ssh on my local machine

So I have finch, a command line chat client (think pidgin) running on a remote machine that I ssh into. finch has notification sounds and can run a command when certain events occur, letting you pass ...
5
votes
1answer
1k views

ALSA dummy device - how to configure?

I am working on an audio stream between two virtual servers. For that, I have set up a dummy soundcard (as the vservers don't have a hw card) using modprobe snd-dummy. That seems to work fine - I am ...
41
votes
6answers
74k views

Set volume from terminal

Is it possible to set the audio volume using the terminal?, instead of clicking the speaker icon in the topbar, the reason I want need to do this is because my keyboard does not have a volume increase/...
1
vote
1answer
524 views

Have working headphone controller under Linux?

I have headphones with a controller (+/- volume, play/pause). They work when using an iPad. My question is if it's possible to make it work under Fedora 16 (using GNOME 3)? I assume some drivers ...
1
vote
1answer
2k views

No sound in USB headphones using fedora 16

The volume control buttons on the usb headphone work, they can increment or decrement the system sound. However the headphone have no sound. How to make it work? kernel 3.2, pusleaudio is used by ...
3
votes
3answers
1k views

FreeBSD 9 Sound Driver

I installed FreeBSD 9. I'm trying to make a sound to work but no luck. My Sound Card: Realtek ALC898 Can someone help me how to make it to work (I'm creating custom kernel)? Base on FreeBSD ...
8
votes
1answer
8k views

How to check why sound over HDMI doesn't work

I installed Gentoo clean on my system, except my /home but I deleted all hidden folders that might have an impact on sound (.mplayer .pulse* .config .esd_auth and more) and with a fresh user adduser ...
6
votes
3answers
21k views

How do I display the name of my audio card driver from the command line in Lubuntu 11.10?

I am running Lubuntu 11.10 and I want to display my Audio / Sound Card Driver from the command line.
0
votes
1answer
1k views

G722 in gstreamer is not available or its need to be activated? How do i do that?

Gstreamer how to use G.722 enc and dec? Is this not available or missing in there implementation? $ gst-inspect | grep ffmpeg ffmpeg: ffaudioresample: FFMPEG Audio resampling element ffmpeg: ...
3
votes
1answer
3k views

Sound volume control does not work in Ubuntu

My sound volume control does not work when I'm logged in with my regular user, though the sound works correctly. What's weirder is that the sound control works when I'm logged in as guest. With my ...
5
votes
2answers
1k views

Linux support for RTP-MIDI?

I have been spoiled by the ease with which I can connect my iPad up to MIDI applications on my Macbook using the native support for midi-over-the-network (apparently RTP-MIDI) provided by the CoreMIDI ...
3
votes
2answers
2k views

Recording audio output

I've been following these instructions for recording the output of a program I wrote (that uses rtaudio to synthesize music) http://jordilin.wordpress.com/2006/07/28/howto-recording-audio-from-the-...
0
votes
2answers
891 views

What Linux distro is good for music and well supported?

I'm pretty disappointed with Ubuntu. It's never been easy to sort out the mess that is Alsa / Jack / whatever and have it work with Pd, Supercollider, Ardour, Lillypad. I've upgraded to the latest ...
1
vote
2answers
3k views

pulseaudio suddenly stopped working?

I am using arch linux and i was using pulseaudio suddenly today pulseaudio stopped working and no sound is coming in both my speaker and headphone. I can see pulseaudio is running properly and I am ...
1
vote
1answer
528 views

How to demux audio and know what type it is?

How to demuxed audio and know what type it is? When muxing an audio into a video, ffmpeg, mencoder, etc require to know what the audio's encoding is. The encoder typically uses the file name's ...
1
vote
1answer
1k views

gnome 3 system sounds not working

On my System (Debian Wheezy x64, Gnome 3) I don't have any system sounds. Other audio is working well. When I go to settings > Audio > Sounds (hope it is called like this in english) as normal user, ...
2
votes
0answers
213 views

Music Server for WLAN-Speakers [closed]

There are several systems with WLAN-Speakers for sale. Most of them consist of several Boxes with WLAN-Recievers and a WLAN-Router/Storage-Device to spread the sound information. The WLAN-Speakers ...
2
votes
1answer
194 views

How do I run Gnome 3 sound control from KDE?

Skype is using pulse audio, which is part of Gnome and the main place I found to configure microphones was in the standard Gnome sound control. How can I configure the microphones from KDE?
0
votes
1answer
128 views

Applying an IO redirection&audio device example in Fedora

Here is an example I saw in a webpage which uses IO redirection to make the audio device make sound. less sound.wav > /dev/audio But I cannot do it in Fedora. It outputs the input data format is ...
3
votes
0answers
6k views

No sound with Mint 12 and Realtek ALC892

Installed Mint 11 last week and I've got no sound. I've read around, went through the trouble shooters. Poked and prodded. Still no sound. It worked right out of the install with this hard ware in ...
2
votes
1answer
360 views

Extract pitch information from audio file

Is there a command-line utility which would allow me to extract pitch information from an audio file and store it in a numerical form (i.e. as a list of comma-separated values)?
0
votes
0answers
1k views

How to make front audio jack work again after waking up from suspend?

Sometimes, after I wake up from suspend (using pm-suspend), the front audio jack stops working (no sound) after I wake up my laptop. Only after a full reboot I get it to work again. My laptop is an ...
3
votes
2answers
2k views

How do I know if my microphone is mute or unmute when I have more than one microphone?

How do I find out if my microphone is muted or unmuted, when I have more than one microphone such as Motherboard, USB and HDMI? 1) I can't find it with this: $ cat /proc/asound/cards 0 [PCH ...
4
votes
2answers
473 views

Ubuntu 11.10 with gnome shell - suspend wake up sound

I would like to be able to enable some sound file to play whenever I suspend and wake up my netbook (MSI Wind u100) but I can't found a way to do this in gnome shell. I'm using PinguyOS 11.10, which ...
5
votes
3answers
11k views

What and how is the encoding of a raw (headerless) audio file?

I have done this: me@riverbrain:~/sgf$ echo "test" | text2wave -otype raw -F 16000 >> test.raw which produced a headerless audio file. The wonderful thing about this file is that it can be ...
17
votes
5answers
9k 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 way....
1
vote
0answers
804 views

Why is this ALSA configuration file preventing aplay and arecord from listing PCM devices?

In my embedded system I have this configuration file in /etc/asound.conf: pcm_slave.sl2 { pcm "hw:0,0" rate 48000 channels 2 format S16_LE } pcm.rate_convert { ...
3
votes
1answer
1k views

How to remotely turn “up” sounds?

So I have to Skype with someone, but he is not...well let's just say not a "geek", so I have to log in via SSH to his Fedora machine, and turn on sound [because he can't hear me when using Skype, but ...
4
votes
1answer
1k views

VLC surround to stereo problem

I noticed a problem with certain video files where speech volume component is just too low. I googled a bit and it seems that the problem is that it tries to play surround sound on stereo speakers and ...
3
votes
3answers
3k views

Speakers make popping sound when on battery power. What should I do?

I am running Linux Mint 11 on my notebook, which is basically a variation of Ubuntu. I have been hearing a popping noise in the speakers ever since I installed the OS, but just now realizing that the ...