Ubuntu :: What Application Can Use To Output Different Apps To Different Audio Devices
Apr 24, 2010
I want to output two applications one to a headphone and another to the regular speakers, what app can I use?? it would be better if I don't have to move from audio player, I tried with alsa sound mixer but for some readon it doesn't list the speakers
Say I have 2 speakers connected to 2 different sound cards. Under Windows, is it possible to have some sort of virtual device that would forward an audio stream to both sound cards? If this can't be easily done under Windows, a solution for Linux is also fine. lternatively, if the 2 speakers are connected to different channels of a sound card, is there any vendor-independent way to duplicate audio to both channels?
I am using Ubuntu 10.04 LTS - the Lucid Lynx. I am using the laptop to play video files and view it on TV using HDMI output. No problems. Requirement: to play simultaneously a different media file and be able to listen through say headphone / laptop speakers. While a movie audio is only heard on TV, other audio is heard only on laptop speaker.
For some reason on any application that uses sound, but doesn't allow me to specify the input/output audio devices I don't get anything. I want all audio to go to my USB Headset, and not the onboard soundcard. To start off with, here's alsamixer: Here's a screenshot from Mumble (voice chat) that shows that I've set the USB headset device in there, and it works 100% fine on Mumble.
[Code]...
As you can see from the alsa-base.conf above I've tried specifying snd_usb_audio as the default device, but it's not working.
I always keep my headphones as well as my 2.1 speakers connected simultaneously on my PC (Gigabyte motherboard). Both these audio devices work fine simultaneously on my Windows 7, but in Ubuntu, only my headphones work, speakers don't work at all. I tried changing some settings in SOUND PREFERENCES as well as ALSA SOUND MIXER, but not luck so far.
I'm looking into building a media server that will output to 2 channels. I'd like to use Ubuntu however, if there's a better alternative, I'd be open to using it. I'd have 2 audio and video cards for output and what I'm interested in knowing is if there's a way to set the audio output to a specific card per application or workspace. Is there an easy way of doing this?
I currently have my desktop setup with two displays, one of them being my living room tv that I run Boxee on. My problem is that all the audio runs through the same speakers preventing me from listening to music or gaming at the same time as when Boxee is in use.
I would like to know if it's possible to split the audio so that an application of my choosing only outputs sound through my headphones. I was thinking it would be possible with some of the controls in pulse, but if it is I cannot figure it out.
Running 10.10 and win 7 on my HP dv6-2150us laptop and I'm having a few issues.
First how do I get HDMI audio output to my TV? I think I have just a integrated Intel graphics card. It works fine in windows but I can't seem to get it to work in Ubuntu. I tried searching but couldn't find anything pertaining to this issue.
I don't know anything about ubuntu. Could you guys help me out. I'm pretty knowledgeable with windows if you guys need a printout of something let me know. My friends getting really frustrated about this. Help!!i
So here's the situation. He plugs his audio jack into his computer and then into the speakers but it still plays from the computer speakers.
I finally got audio working on my ubuntu 9.10 desktop... now I am having sound issues watching movies from a network share.The sound device continually randomly changes to "dummy output device" and then there is no sound output. The sound icon dissapears on the toolbar. To get it back and audio to start working I have to $sudo alsa force-reloadIt seems to happen everytime there is a network delay, the movie will stop for a second and then when it plays the sound is gone
My band play with a backing track running out of my laptop. We have a stereo mix of the backing track running into the PA system, plus another stereo mix of the backing track with a metronome running into headphones worn by our drummer. This means that the laptop is outputting 4 audio channels simultaneously. The catch is, i only have a two channel USB audio device, in addition to the two channel built-in soundcard. The trick i found to accomplishing what i desire within Windows was relatively simple - i used the ASIO4ALL driver, which effectively allowed me to combine the outputs into one "virtual" ASIO audio device which has 4 output channels, which i could then send audio to using my digital audio workstation software (REAPER). Luckily this has worked perfectly every time we've done it on stage, however at rehearsals it has on occasion failed as Windows has encountered errors, etc. Naturally it would be devastating for this to happen on stage, and so i've decided to try Linux out, as it has the reputation of being extremely stable (i've heard stories about machines being switched on for years without crashing).
Now, i've tried for a couple of days to get this to work, messing around with JACK, ALSA, and PortAudio, and using a range of programs such as Qtractor, Ardour, and MusE; however, i've only ever been able to get stereo audio to come out of one device at a time. I do however know that it is possible to do what i want, because i found a little DJ application which allowed me to set a different audio device to be in "headphones", whilst my other audio device outputs the currently playing track.
I'm by no means a proficient Linux user, however if something has to be done through a Terminal, with adequate instructions i'm sure i could do it. What i'm after though really, is a simple and clear guide to accomplishing what i want, which to recap is:
A to simultaneously output audio to two separate audio devices at once from within the same program.
I've an older PC, and I would like to use it with Lubuntu, because it's much faster than Ubuntu or Win XP (excuse me for the comparison). The only thing that prevents me from using Lubuntu is that I can't find any application to switch the sound card! How can I switch audio devices from Lubuntu?
I've just been setting up my new Revo with Ubuntu for use as a HTPC with XBMC etc.. Previously I had audio coming out through HDMI, but now I have lost all devices under the sound settings.
I was using alsa mixer, is there any way of getting this working again? A HTPC without sound is a bit useless!
I can't really say what I've done, as I took a few approaches to it, but I've tried to remove everything so it's back to normal. I think maybe it happened after updating some NVIDIA drivers..
I have just installed VirtualBox under F15 and would like to start it from the applications window instead of from a terminal as I am now doing.How do I add it to the applications menu?
I mainly use KDE apps only, but a problem in Amarok is forcing me to look elsewhere. I'm not sure how long this issue has existed but I'm unable to play any sound from certain applications.
So far Rhythmbox, Exaile, Guayadeque, Firefox and Songbird don't produce any sound. Amarok, Juk, SMPlayer and VLC are fine. As the apps with problems are mainly Gnome/GTK apps, I'm suspecting a gstreamer problem.
My desktop is 11.3 x64 with KDE 4.6 beta 1. I've tried all three phonon backends, although Xine is the only one that works with Amarok. Pulse wasn't installed, I tried installing it but it didn't even detect my SPDIF output, so no audio whatsoever. Hardware is ATI HD4200 onboard sound card through the SPDIF output. Gstreamer is installed.
On a fresh install of squeeze (with the exception of some installed video firmware and the latest updates from the repos) from the kde cd.
System is running an ASUS Sk8V motherboard with onboard sound, also a SB Audigy 2 ZS sound card. Speakers are plugged into the sound card.
Sound worked fine before in Lenny except I had to create /etc/modprobe.d/sound with the following to get the system to prioritize the SB card over the onboard audio
When I connect my Treo 650 with a USB cable it works sometimes and not others. A little investigation showed that it always works when I see the Palm device listed in the output of lsusb. While trying to diagnose why it appears sometimes and not others, I discovered that it sometimes appears in /proc/bus/usb/devices and not in lsusb. I didn't think that was possible!
I've tried running kudzu (the Red Hat hardware discovery tool) and killing and restarting udevd.
I have Songbird running on another display on the same machine as my Mythtv frontend but while the frontend is running, audio seems to be disabled for it and other applications. I assume that this is because Mythtv suspends Pulse audio.
Is it possible to make this work without enabling pulse audio?
How can I change my audio output (and input) from one device to another?
(Using a Sound Blaster and USB Headphones)
Changing settings in Phonon is a hassle, and it still won't change the sound immediately for the apps... Is there a quick way to just disable one device and enable the other, without having to restart the apps that use them? (For instance, right now Skype and my browser are outputting to headphones and amarok to my speakers - one enabled device that receives everything, bang! output for everything to another device and the first device is having a nap)
I can't see any settings in KMix to facilitate such a change...
what I can do to change sound cards quickly and easily?
I recall doing this in seconds in Ubuntu via their mixer, so would it be similar if I ditched KDE in favor of Gnome??
I am running a java-based music player on two machines, one running 11.2 and the other running 11.3. I wrote the code myself, so I have complete control over it. Both machines have Sun java development kit installed, and both have version 1.6.0. The tracks of a given album are each played by a separate thread. Each thread requests the use of the audio device and plays through it. Under 11.2, the device is then locked for the use of this thread, and once the playing is through the lock on the device is automatically removed and the next thread starts playing its music without difficulty. I have no control over this lock, though. It appears to happen at the OS level, independently of my code.
When the exact same code is running under 11.3 the first thread plays through as before, but then the next thread does not manage to get hold of the audio device. It appears to play but no music is heard. When it finishes and the third thread tries to start, I get a "line unavailable" exception. difference between 11.2 and 11.3 in the locking mechanism of audio devices by an application? Is there anything programmatic I can do to remove the lock myself?
I'm trying to install kweather in 11.2. I have downloaded and installed. I can find it in usr/bin and usr/lib but I can't add an application as in 11 or 11.1. It doesn't show up in the list of apps. It's there but I can't get it on the desktop.
This started today in my session: no audio output. In sound preferences, hardware, in Profile, the options are now Off and Analog mono input. In Output tab, I see Dummy output stereo as the device. Nothing is muted.
Is it possible to output one playback stream to multiple devices simultaneously with the current PulseAudio / Phonon setup? The PulseAudio mixer only has radio buttons to choose one device per playback stream. I believe the hardware is capable of this, since I remember doing that before we had PulseAudio. How can I duplicate an audio stream?
Here's one application scenario: I am travelling with my family, all crammed in small hotel room. My wife and me want to watch a movie on my laptop without waking up our kids. I just happen to have one analogue headphone available and one wireless USB headset with me. (Of course, the low tech solution is to bring an 3,5mm Y-cable to attach two analogue headsets, but I would really love to use the USB headset together with the analogue one.)
Another similar thing that bugs me is that my laptop's built-in speakers now always seem dead when an analogue headphone is plugged in. This is mostly what one wants, and before PulseAudio, one had to manually switch them off which was generally annoying. However, the downside is for example with notifications.
For example, before PulseAudio, I could configure Skype to always ring over the laptop's built-in speakers, regardless of whether the analogue headphones were plugged in. This is no longer possible, since PulseAudio does not distinguish between built-in speakers and built-in analogue port any more, while old Alsa did. So in my office, where some analogue headphones are plugged into the docking station, I never hear Skype ringing if I don't wear the headphones.
I'm using Busybox's Hush shell on an appliance running uClinux, and would like to make sure I'm not packing shared libraries that aren't actually used by any application. I couldn't figure out how to compile "ldd" for that environment, but I could compile "readelf" which does the job:
Quote: find /bin -type f -print0 | xargs -0 ./readelf -d File: /bin/myapp Dynamic section at offset 0x7f4c contains 20 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.0]
I was wondering if it possible to format the output so that I would get something like this instead:Quote:
I installed Kubuntu 9.10 one week earlier and installed VLC player in it. But from that day VLC player is playing the video but not the audio. Also Banshee player is not playing any audio in Kubuntu.
Have you ever wanted to record a sound heard from your computer or website? If yes outRec is perfect for you. This simple but powerful application let you to record your sound card audio output easily in a few steps and save it in different kinds of formats like wav, mp3 or ogg.
Download from [URL]
To get it work you need to install the dependencies with: