Tag Info

Hot answers tagged

6

For streaming just music, Icecast is a good option. There is not a way to access iTunes shares from Linux, other than running iTunes under Wine. You could also look at Airfoil Speakers which would allow your Windows iTunes to treat the Ubuntu box as a set of remote speakers.


4

Here's a straight answer: PulseAudio is a sound server; ALSA is a kernel sound subsystem. They do different things -- ALSA provides chipset drivers for your soundcard or onboard sound chip; PulseAudio routes sound between programs, sound chips, and even systems. PulseAudio is a sound server for POSIX systems. A sound server is basically a proxy for your ...


4

I don't know if there is a setting or configuration file for this anywhere but it can be done with environment variables. I've based my answer on this entry in the PulseAudio FAQ about setting the recording source. I've tried this with output (a sink in PulseAudio) but it should work for both input and ouput. The first step is to get the internal name of ...


4

Try Ear Candy. It is not only possible to switch between outputs when they're attached, but also to route several programs to other outputs as you're looking for (and lots of other small improvements).


4

As long as the device reports itself as a USB Audio device the ALSA driver will support it, although the exact definition of "support" may vary for more complex devices.


4

Partially – easy with Linux clients, tricky with Windows. With Linux clients this is simple – just set $PULSE_SERVER to the media server's address and copy the ~/.pulse_cookie authentication file. PULSE_SERVER=tcp:mediaserver.home tcp6:mediaserver.home Of course, make sure PulseAudio on the media server has the required modules loaded; most ...


4

This Gentoo wiki article might apply here : PulseAudio per-application volume control : PulseAudio supports per-application volume control, but by default this doesn't do much as you can only control these volumes from the pulseaudio volume control utility. Meaning that in an application like Audacious, when the output device is set to PulseAudio, ...


3

As a workaround, create a shell script ~/bin/mychangevolume with the commands non-escaped as they would appear on the command line. Something like #!/bin/bash incr=$1 pacmd dump | awk --non-decimal-data '$1~/set-sink-volume/{system ("pacmd "$1" "$2" "$3'$incr')}'" Then call this script from .xbindkeysrc "mychangevolume +2500"


3

It seems like I found a solution, at least for this particular case. Since I knew the card and device number assigned by ALSA, I just had to open /etc/pulse/default.pa. in editor and change this line #load-module module-alsa-sink into this load-module module-alsa-sink device=hw:2,7 where 2 and 7 are my particular instances of card and device numbers. ...


2

Yes, you can use xpra for that. You will need an X11 server on Windows (Xming, Cygwin/X, or Micros~1 Services for Unix) and a SSH client (PuTTY). Start the X11 server, enable "X11 forwarding" in PuTTY, connect to meerkat, and run xpra as documented. (I don't know how.) OS X comes with ssh and a X11 server. Alternatively, you can find a VNC or RDP server ...


2

I found the answer, there are some pulseaudio settings in Pulseaudio Preferences that are needed. However that is not installed by default in Ubuntu 10.04. sudo apt-get install paprefs paprefs (paprefs also available System -> Preferences -> Pulseaudio Preferences) Enable "Network access to local sound devices". /L


2

http://pulseaudio.org/wiki/DefaultDevice - default is not the same as fallback in PulseAudio. One can't really set a "default" device as described in the link within PulseAudio itself. The "correct" way to do it would be to define a remote sink via module-tunnel-sink as you are trying to do. You say it is not possible on that version of PulseAudio, and then ...


2

First option Since you can already record the game audio and mic, I would try to just output them to two files: parec --format=s16le --rate=44100 -d ... | ffmpeg -ac 2 -f s16le -ar 44100 -i - mic.mp3 parec --format=s16le --rate=44100 -d ... | ffmpeg -ac 2 -f s16le -ar 44100 -i - game.mp3 and then use Audacity to sync them and compine them into a ...


2

There's two separate issues here, and I'll try to address both. The first is how to correctly quote a command in .xbindkeysrc. All you have to do is take a command that works in bash, then put double quotes around it. For example, for a command with a space in it, you'd have to run "/home/user/My Programs/progname" or /home/user/My\ Programs/progname ...


2

Running pulseaudio -v in a terminal (run pulseaudio -k first if it complains about already being started, but since you say it doesn't work, it most probably is not running. Prefix sudo if it complains about permissions) should get you more detailed output on why PulseAudio won't start, which will enable you to find more specific info in your case. If ...


2

I had a similar issue (except with "module-cork-music-on-phone" - my Wheezy install just had this on 2012-06-02). The problem is what the error message says - pulseaudio is trying to load a module that's not present. Edit the ~/.pulse/default.pa and/or /etc/pulse/default.pa and comment out the offending "load module" lines with a # and the problem goes ...


2

Yes, pavucontrol will let you assign a different output for each program, assuming Pulse recognizes those outputs as separate.


2

My co-worker solved it!!! We were reading this tutorial, when we came across an interesting section: If you have an HDA-Intel device try turning up the PCM slider in the volume control. If PCM is set to 0 it makes the sound scratchy for some of those devices. Otherwise if your sound is scratchy or stuttering you can edit these lines in ...


2

I must admit that I've been very lucky and not had any pulseaudio problems and so don't really know how to solve them. I can, however, give you a basic idea about what pulseaudio is... Basically pulseaudio is an extra layer in the sound system, that sits inbetween the existing sound sources and outputs. As such, you still need ALSA on your sytem, but the ...


2

Use parec, as arecord is not designed to be used with PulseAudio.


2

Ah, the device notation is not the actual name as in alsamixer, but like this: gst-launch alsasrc device=hw:1


2

To stream audio output over wifi to your android phone you need to install server software, that sends audio, on PC and client software on Android device. Available options are WiFi Audio Wireless Speaker Run WiFi Audio Android App and Press start, you will see IP address of mobile device in the bottom after that run Windows/Linux application and put ...


2

Yes. (However not all USB audio cards are compatible with all systems.) I'm not sure what you mean by "out of the box" (which box, the computer or the USB sound card...) According to Linux-Usb.org as long as "You need to turn on the Sound card support kernel option, which is in the Sound section. You will then be able to turn on the USB Audio support ...


2

You may have to install pavucontrol. XFCE is minimalist, so is expected that some settings are not found. To install it just type: sudo apt-get install pavucontrol


1

There is wery simple solution because PulseAudio already have all necessary tools. Get your source device name with command pactl list | grep Name Create script pashare: #!/bin/sh case "$1" in start) $0 stop pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=<source_name_here> record=true port=8000 ...


1

Running alsactl store will save all mixer settings into /etc/asound.state; alsactl restore will restore them. You can use the -f option to use another file; remove all entries that you don't want to change. Alternatively, you can use the amixer tool to change mixer controls individually.


1

Looks like it has compiled properly like so: sudo ./configure --prefix="/home/j/projects/avconv-source/build" --enable-gpl --enable-libmp3lame --enable-libpulse --enable-libx264 --enable-x11grab


1

I just manage to do this on my laptopt, using the mic input instead of line-in. I did it by following the steps on this AskUbuntu question I just had to download HDA Analyzer and run it as root: wget -O run.py http://www.alsa-project.org/hda-analyzer.py sudo python run.py Locate the right PIN node (more details about it on askubuntu) uncheck IN and ...


1

I had to set flat-volumes = no in /etc/pulse/daemon.conf in Fedora to stop apps from screwing with volumes. Don't forget to restart PulseAudio after the change.


1

The bug report and its workaround are plausible. Maybe the module parameters need to be adjusted for the exact sound driver your guest uses. You should try looking in dmesg if the ac97 clock speed varies across guest runs. If this is the same problem, but the solution needs to be adjusted, use lsmod and modinfo to find the correct parameter.



Only top voted, non community-wiki answers of a minimum length are eligible