Ubuntu Multimedia :: Multiple But Different Audio Output For Different Devices
Jul 23, 2011
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.
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.
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.
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 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
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.
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.
jack uses 2 ports for input and 2 for output. I have a SoundBlaster 5.1vx card, and I would like to use a "line-out" plug for monitoring. But when I try to get jack to reserve four extra outputs by using the switch "-o 4", it gives me an error.
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 have 2 devices I'd like to be able to sync to without going into preferences and changing options each time. That is I'd like to just click "device>sync episodes" and have it sync to both devices automatically.
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
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 *take* photos with both my Android smartphone and a fullblown DLSR. I *manage* photos organize, rename, rotate, etc. -- on my Opensuse box with KDE's Gwenview, and on my phone with Pixie Reef's "Fishbowl" Photo Gallery [URL]... I'm interested in your ideas about ways to keep everything in sync -- without using 3rd-party online services (No Picases, Flickr, Smugmug, etc). What needs to be kept in sync, somehow, includes:
The photos themsleves. Their organization among, and order in, various 'albums' Photo & filesystem metadata -- timestamps, filenames, EXIF data. PhotoApplication-specific data recognizing that at any time a change may be made on either device. rsync is a possibility, but once photos move into different dirs, it'd get messy. What workflow can I use to do this? Do I need a central server in the mix? If not using the 3rd-party services, is OwnCloud my best/only choice assuming that after each (group of)change(s) on each device I manage to sync with it?
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:
I am attempting to connect a bluetooth headset to a Telex Intercom System. I can connect my bluetooth headset to Ubuntu and use the microphone and the speaker perfectly. There are no problems with the Line-In or the Line-Out.
Is there any way to connect the BT-Microphone to the Line-Out while connecting the Line-In to the BT-Speaker?
I have used Thoggen; however, there is no way to break the output in to multiple files. I encoded at 1000MB, but now I want to break the file into 40MB chunks. Is there an app that can do this? Does ffmpeg support these feature?
I have a StarTech USB audio adapter which I have been unable to get output from in Suse. Pavucontrol allows me to adjust the output to this device, and even shows some signal when playing media. However, no output makes it to the headset/speaker jack of the USB device. There does not appear to be any issues with playing media to the internal sound card & speakers of the computer. I booted up a Live Ubuntu disk, the device was recognized, and output made it with no problem. This leads me to discount a hardware problem. I'm running Suse 11.4 on a Lenovo Thinkpad T420s.
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.
My friend has following configuration Pentium 4 2.4 Ghz 256 MB DDR RAM Western Digital WD1600AVJS-63WNA0 hard disk PM8M-VHMS7104 VER 3.0 motherboard The motherboard has Realtek sound card built in but there is no sound output. He is using Ubuntu 9.10.
Is it possible to convert a 2.1 channel mp3 or any video file to get a respective 5.1 file permanently so I could play them on external music system which is 5.1 speaker system. Any sites where i can usually songs n video with 5.1 channel.
I am interested in finding out the best way to get my audio to work from HDMI through my NVIDIA card.
[code]....
I don't get an option for HDMI. Here is the interesting part. The sounds work sometimes but not all the times. Most of the time the sound works on the OS default sounds but wont work for movies, streaming and music. I am running pulseaudio. I am new to setting this audio up. The headphones work fine.
I've searched high and low, and can't seem to find a solution to this. I'm running a Dell Inspiron with an HDMI output with 10.10 through the tv. I want to get HDMI sound output for VLC, but I also want S/PDIF output (to the stereo) for Musicplayer. I can test and use the HDMI in the sound preferences sound/preferences/sound, but when I try to do the same for the internal card and click 'test speakers' the sound program closes itself. When the machine was a windows machine, it had PowerDVD outputting to the TV and Mediaplayer outputting to the stereo. I'm aiming for a similar set up in Ubuntu.
script which adjusts my NVIDIA settings to HDMI and also my Audio output to my digital output. I feel its quite a lot of clicking to get my signal to my LCD.So I hope somebody already had this idea and can give me the script or can assist me in writing it myself. I think its not a complicated script. i guess its only 2 lines. But i am not exactly a pro in Ubuntu..So as i said i have a NVIDIA graphic cardand aplay -l shows
**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog] Subdevices: 1/1
I have Ubuntu 9.10 installed but the sound is way below normal.. Pulse-audio just doesn't give enough output.. Max output is just average... I have a 945 Intel chipset..
I've done a search on google and on here regarding my issue and I couldn't see anything.
I have the following audio device;
Code: 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2) At the moment I have it playing through Analog Stereo Output. (See attached image)
The sound is mostly flawless and I haven't been having troubles with it.
But, because I play audio through my logitech speakers (2 speakers, 1 subwoofer) I should be able to get digital stereo sound shouldn't I?
From the drop down box of the attached image there are two options for Digital Stereo;
Digital Stereo Duplex IEC958 Digital Stereo IEC958 Output + Analog Stereo Input
None of them work for me. Even if I do a restart, I get no sound from Rhythmbox or Firefox.
I use the pulseaudio sound server and I have the PulseAudio device chooser installed. When I had the Digital Stereo Duplex IEC958 selected I used the Volume Meter playback to see if there was any sound coming through. Both left and right showed activity but nothing came through the speakers.
I am currently trying to start doing some screen casting and having a problem with audio recording in gtk-recordmydesktop. The problem is that I need to record both; my computers audio card output, and my mic input at the same time. As of now I am able to record one or the other.