Simultaneous digital and analog with pulseaudio [solved]

Goal: have pulse audio output audio over HDMI and through line-out.
I found this thread which details two potential solutions to this problem.  The more complex one isn't appealing to me, but the simplistic one quoted below is... but I can't seem to get it to work.
doorknob60 wrote:
Or easier solution this should work: open paprefs -> Simultaneous Output tab -> Check the box -> Switch to the virtual device in gnome's settings or pavucontrol
That's what I do to simultaneously output to my speakers and to HDMI, so I'd assume it would work for you too, even though you seem to have already figured it out.
Is anyone successfully doing it?  My problem is that within pavucontrol>playback I cannot seem to select both the analog and hdmi sources.  For example, I have mplayer playing a movie (should be HDMI) and mpd playing music (should be analog).  My only two options under pavucontrol>playback are:
*Internal Audio Analog Stereo
*Simultaneous output to Internal Audio Analog Stereo
I have no option for HDMI.
Last edited by graysky (2012-02-09 00:44:53)

Got it!  The key was understanding that whatever is selected in the GUI is the default device.  I therefore selected HDMI as the device and added the following to
/etc/pulse/default.pa
### Load analog device
load-module module-alsa-sink device=hw:0,0
load-module module-combine-sink sink_name=combined
set-default-sink combined
After a restart of pulseaudio, I simply went into pavucontrol and defined which program would use which device.  I'll update the wiki with these when I have some time.  Thanks to doorknob60 for his original post.
EDIT: https://wiki.archlinux.org/index.php/Pu … log_Output
Last edited by graysky (2012-04-25 22:45:43)

Similar Messages

  • Can digital and analog channels be simultaneously accessed

    Hi,
    Is it possible to simultaneously access digital and analog channels on
    a Multifunction DAQ (such as NI-4351) by issuing commands from parallel
    threads using LabWindows/CVI (5.5.1)?
    John.

    Hi JAH,
    I have no experiance with this product, so can not give you a definative answer.
    The best I can do is to suggest you try it, if it does not work then you most likely can not do what you want.
    Also what version of the driver are you using, I have checked the
    download page and version 2.1 only works for CVI 6 or higher and LV 7
    or higher.
    Regards
    JamesC
    NIUK AE

  • Array of different (digital and analog) values into multigraph

    Hello everyone,
    So I have an array with a timestamp on the first column, either "off" or "on" string on the second column, and a number value string on another. The columns are based of variables that reads data based on an update rate. My question is, what is the easiest way to separate these values into a digital and analog graphs. This is because the number values are so high that the "off" and "on" signal is being pushed down as the y-axis auto-scales. I'm hoping that I can use a multigraph, but the multigraph puts the data in one graph (since it's one array). 
    Any suggestions or help is appreciated.

    Hi jachy25, 
    Below is a link to a KnowledgeBase article that goes over how to use stacked plots in LabVIEW.
    http://digital.ni.com/public.nsf/allkb/21E8163F259DA2058625703B007511AA
    The second link contains a lot of general information on configuring graphs and charts in LabVIEW, and is a useful document to have when configuring plots.
    http://zone.ni.com/reference/en-XX/help/371361L-01/lvconcepts/customizing_graphs_and_charts/
    I hope this information helps!
    Regards,
    Kelly B.
    Applications Engineering
    National Instruments

  • Breakoutbo​x for Digital and Analog Output

    Hallo everybody
    i need  to design a breakout box with BNC and SMD connectors for Digital and Analog output (the DAQ cards we use are  PXI-6723 for analog and PXI 6259 mostly for the digital an fast AO Channels) I am looking for tutorials and info material for that. On what I have to pay attention what would be a good circuit diagramm design and so on.
    Maybe you could give me some tips where I can find good Material about that.
    Sebastian

    Hello Sebastian
    first of all I'll need some more information about your intention. What exactly are you going to do? Do you want to connect, or divide signals? (Which signals?)
    Maybe if you have a look in the manuals of the cards, you'll get closer to this. Here you can find out the pin assignment of the cards.
    Manuals and specification:
    PXI-6723:
    http://www.ni.com/pdf/manuals/370822c.pdf
    http://www.ni.com/pdf/products/us/04-3513-301-101-​DLR.pdf
    PXI-6259
    http://www.ni.com/pdf/products/us/044063301101dlr.​pdf
    http://www.ni.com/pdf/manuals/371291h.pdf
    Regarding
    Gregor Allexi

  • Z77a GD65 simultaneous audio output via digital and analog jack?

    Hi,
    Does anyone know if it is possible to use the digital audio spdif out, and the green 3,5mm jack (I use it for my headphones) at the same time?
    When I use the digital out, and I run a 'test' with the analog out, I can hear the test signal so technically it should work.
    However, I can't find the right settings to actually use both outputs (same source: for instance iTunes) at the same time.
    Any advice? Thanks in advance!
    Regards,
    Jeroen

    My old msi cuba 7301 from 2007 has an spdif output, and I was able to use this digital out together with the 3,5mm line out (which I used for my headphones) simultaneously. I understand what you're saying, but I'd say the user should decide in what way he/she wants to use the product  . Technically, it shouldn't be a problem, since I can hit the 'test' button and hear the sounds through my headphones via 3,5mm stereo out, while playing music through the digital out.
    Anyone from MSI who knows the answer? If it was possible in 2007...
    Thanks for your answer

  • Newbie: 6020E (USB) slow performance with mixed digital and analog input

    Hi,
    I'm using a 6020E to do analog and digital input, and I'm getting very bad performance.
    Please note that doing IO in Labview is new to me!
    I have read the post about 6020E slow performance, and it says I should do buffered IO.
    Can anybody point me to some DOC or SAMPLE that actually shows or explains how one should do this. I need to read several digital IO lines (which I can combine in one port-read), and several analog inputs.
    Seeing how slow the reading on the 6020E is, I am amazed there is only one post that deals with this issue.
    I would be satisfied to get the 6020E into some sort of continuous read mode so that whenever I need data, I get the latest reading right away.
    thanks,
    Peter D'Hoye

    Hi Peter,
    Your cannot do buffered digital I/O with your daqpad. It doesn't have that capability. You can only make direct software calls with digital read/write from/to your port. So your digital IO is completely software clocked and not hardware clocked. The example you are trying is only for specific Simultanuous sampling boards or now also for M-series boards that are able to do correlated DIO.
    Use the Cont Acq&Graph Voltage-Int Clk.vi example for your analog measurements. (NI Example Finder) For your digital IO you can only use the examples like Read Dig Chan.vi, Read Dig Port,...
    There are indeed some slow performance issues with single point I/O Operations, that is correct.
    Check the explaination below:
    DAQPads are offered for the Universal Serial Bus (USB) and the IEEE 1394 (also known as FireWire). Both of these standards use a high-speed serial communication protocol between the computer and the device with a bandwidth up to 12 MB/s for USB and 400 MB/s for FireWire.
    During a single point operation, the DAQ device requires a complete set of configuration commands. This is done through serial communication (USB or FireWire), making the process slower than in a PCI-based board. The speed obtained for single point operation in a DAQPad is system dependent; this means that your computer processor, memory, bus speed, and other factors alter the speed at which you can do single-point operations with a DAQPad.
    For example, on the DAQPad-6020E, timed non-buffered analog input operations are limited to about 50 Hz. At higher rates, the software may become unresponsive. On a FireWire device, you can expect stable operation around 3,000 Hz. But again, these figures are system dependent.
    Regards.
    JV
    NI

  • Optical digital and analog audio out

    I just purchased a Pavilion 500-214 with IDT High Def Audio CODEC / DTS Sound+
    Is it possible to get both opitcal digital audio out and analog (speakers/headphones) out at same time?  Stereo amp needs access to both for multizone/source function.  I can manually pick one or the other before playback - it is clunky in that when switching audio out devices the active will turn off but one switching to does not always turn on.  But i really need  both simultaneously active for amp to work properly.  I have also found rear speaker jack to be more stubborn during switching than front headphone jack.
    This question was solved.
    View Solution.

    Hi zombi1,
    Welcome to the HP Forums!
    I have done some research on whether or not one can utilize both digital or analogue audio out at the same time, and unfortunately this is not possible.
    Thank you for posting, and Happy Earth Day!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Digital and analog in at the same time

    Hello Group,
    how do I simultaneously and synchonously aquire (read) data from digital and
    analogue channels? In the Manual there are just chapters for aquiring one of
    both at a time and I also can't see a function in the menu for that.
    Thanx
    Frank

    Frank,
    Depending on the DAQ hardware you have you may have issues with simultaneously acquiring data even on your analog channels. Our MIO (Multifunction Input/Output) DAQ cards have one analog to digital converter (ADC) and a multiplexor is used to scan all of the input channels. There will be a slight interchannel delay and you will not have truely simultaneously acquired data (loss of phase will occur). In order to perform true simultaneous acquisition you will need one of our SIO (Simultaneous Input/Output) cards.
    Furthermore, our DAQ driver, NI-DAQ, is not multithreaded. Meaning, you have to pay close attention to what calls you make into the DLL, or to what VIs you are using, if LabVIEW is your development environment. For instance, AI_Read is
    a blocking call, meaning if you ask for 10 bytes of data it will block all other calls until 10 bytes have been acquired. So even if you write a multithreaded application to perform analog and then digital acquisition you will have to not ask for so much that you will be blocking for great periods of time.
    I agree with Ben's comment that one solution would be to pass your digital inputs to an analog input and use a SIO card to simultaneously acquire data. However, depending on what these DIO inputs will be used for this may not be a suitable option for you.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • Problem Receiving Digital and Analog Channels- 22LV610U

    I have a LCD/DVD combo TV model 22LV610U and had satellite tv for over a year and the tv worked great! After shutting off the satellite, I wanted to only receive the local channels via antenna. I bought a new RadioShack Indoor TV antenna ( to receive basic UHF, VHF and FM radio signals to HDTV and FM HD Radio signals)...
    After setting it up, I still only saw snow...I tried setting up the channels through the menu, and was not picking up any signals. I was also unable to view the "DTV Settings" options for Digital Signal...
    Do I need a different kind of antenna? I called Toshiba customer service and was told the HDTV antenna would not be compatible, however, ALL channels are now digital and must be received through this kind of antenna...
    Help, Im in a pickle Thanks!

    If you are using a STB, then you should connect it with an HDMI cable or component cable as you did.
    However, you do not need to autoprogram your TV if you are using an HDMI or component or composite or any other indirect connection. That is because the STB is acting as the tuner; it will automatically receive channel information as part of its on-screen graphics. All the HDMI connection is doing is delivering that video feed to your TV.
    Therefore, what you need to do is press the "input" button on your TV remote and select HDMI, or component, whatever you are using. Then you control the channels using your STB remote, not your TV remote, which changes the channels on your STB, not your TV. Again, your TV is only receiving the video from your STB, it's not directly changing the channel itself. It's like having a VCR and turning your TV to channel 3 in the old days; you just need to pick up the video.
    The reason why, when you tried hooking the TV up directly to the wall with coax is because most FiOS programming is encrypted digital. That is why the STB is needed to "unscramble" the channels and output them to your TV along with all of its on-screen graphics and program guide. Therefore, if you connect coax directly to the TV, the only channels you will receive are local channels (i.e. CBS, NBC, PBS), the ones that Verizon cannot by law encrypt. The reason why some of those channels are "16-2" or "17-214" is because digital broadcasting, as opposed to analog (think the digital transition last summer) uses "sub-channels," which are the -XXX. Verizon can assign whatever number they want to their encrypted programming (i.e. ESPN HD can be 214-1445) because the STB will read that channel and display it within it's own system as Ch. 570.

  • Connecting 5700 with laptops' only digital AND analog output

    Hi everyone!
    Although I'm an experienced creative user this is the first time I'm posting. I looked trough the forums but I couldn't find any answer to my question and I hope this is not the "n"th time it is asked...
    I have Inspire 5700 Digital speakers and I recently bought a Sony VAIO VGN-FES laptop, with an Intel 945PM Express chipset, which features Intel HD audio. In the sound setup utility of Sigmatel HD audio, there is even an option to enable digital SPDIF output, which I enabled. But when I connect the digital din cable to my laptops only output jack (headphones...) I have no sound at all...
    I thought that it may be due to the fact that the jack is not digital only. But I still want to have real digital 5.1 audio. So could anyone tell me how I can do that?
    Thanks beforehand!

    Addlclove,
    in the sony forums the answer I recieved was that the headphone jack was normally 2.1 analog, but I didn't receive a fulfilling answer to my query about the reason to the spdif setting in the setup utility and the chipsets features. That's why I came here The only output I have on the computer is the one for the headpohes. But there is a docking station that I could buy, having an optical out.
    And Jason-CL,
    You're right, I used to have an Audigy, and I understand that you're saying that I can't do it through the headphone jack, right?
    astarem
    "hope..."

  • Airplay: stream digital and analog simultaneously

    Hi,
    My future set-up:
    Living room (at the moment): AppleTV with digital optical out to receiver.
    Kitchen (open, connected to living room): Airport Express with analog out to amplifier (still to buy).
    Streaming digital audio always takes a bit longer than analog. Will I be able to stream music from my iPhone to both living room and kitchen at the same time, without my music being out of sync?
    Best regards,
    Jef

    For me Airfoil from Rogue Amoeba works good. Macmini + ATV3 + Airport Express analog. Also from Spotify.
    Have to check streaming from IPhone.

  • Anyone have an example of a PCI-6250 Digital and Analog Aquistion with Analog Post-Trigger?

    Hey All,
    We're trying to set up a post trigger data capture of parallel absolute strobed Gurley 17-bit encoder data (ignoring MSB for 16-bit aquisition) with an analog signal that is the output of a torque load cell.  The trick is to use the analog signal level as a post-trigger to stop the data aquisition.
    1) can the analog signal be recorded and used as the trigger?
    2) does anyone have an example using the PCI-6250 (or 6251)
    Thanks in advance for your help,
    -Drewksi 

    Hi Drewski,
    You can use the APFI0 line as an analog trigger for your signal. However, in this case you need to connect your analog signal to both the analog channel you want to acquire at and the APFI0 line.
    Assuming you are using LabVIEW,you can check the "Acq&Graph Voltage-Ext Clk-Analog reference.vi" example. This examples uses an external clock but it works also with the internal clock. All you have to do to change the control to onboard clock.
    You can find this example in LabVIEW Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Analog Measurement >> Voltage
    Best Regards,
    Faris
    Bueller

  • How to use both digital and analog input modules in the same worksheet - MCC USB1208LS

    Dear all,
    Hi, I am Imran. I am using MCC USB1208LS. I have created the worksheet using digital input module as below and able to execute (run).
    But when i add another analog input module in the same worksheet and executes, An error Message pops-up as in the below image
    I have connected temperature sensor sognal to the analog input of USB1208LS. When using analog input alone in the worksheet, it indiates the actual values. 
    is any black box solve? please guide me. I am attaching in images
    We already placed a purchase order for USB1208FS. Will it sort out my issues?.
    Thanking you,
    Imran Mohamed.
    Attachments:
    present worksheet digital input only.JPG ‏67 KB
    with analog input module.JPG ‏81 KB
    error menu.JPG ‏77 KB

    Hello Imran,
    the USB-1208LS is not capable of running concurrent operations such as an analog input scan and ANY digital Ins, Outs, counter reads, or analog outs.  In Dasylab, the 1208LS is scanning, and nothing else from that particular device can be requested of it while that is happening.
    Yes, using the 1208FS will resolve some of these issues.
    Please refer to the ULHELP.CHM file installed on your computer in c:\program files\measurement computing\daq for details on this issue, et al.
    also I recommend you send your MCC/DASYLab requests for support to [email protected] as MCC staff (that includes me) does not normally monitor NI's Developer Zone.

  • Audio sync problem - simultaneous HDMI and analog output

    I'm currently running my audio out through my Geforce 460 via HDMI to my A/V receiver. I have a simultaneous stereo analog output running through my ASUS Xonar D2, using Pulseaudio & Amarok as the player (VLC-gstreamer backend).
    I use the HDMI and A/V receiver to power my main stereo in my living room, but on occasion when I want music around the house, I use the analog line out to send audio to an FM transmitter.
    The problem is, I'm running into audio sync problems. The audio starts out synchronised (at least to the naked ear) but within 20-30 seconds it is noticeably out of sync, with the analog audio (form my FM radio) running around a half second ahead of the HDMI output (my main speakers).
    So - where to begin finding where the sync problem is? The receiver? Conversions between 44Khz and 48Khz?
    Any help much appreciated - google-foo hasn't turned up anything obvious so far.

    Yeah - that was my thought - a very difficult, and probably insoluble problem as it stands. I can't just mute one of the devices as that would defeat the purpose of having multi-room music! Fortunately it's not too noticeable usually, as you can't usually hear the main stereo and the FM radios at the same time, unless you're standing in the right part of the house
    The analog splitter cable not really a goer, since running clean, crisp multi-channel HDMI with pass through when needed is the essential goal of the HTPC. So unless I was to switch inputs and or unplug cables...
    What I will end out doing, in the absence of a software solution, is hooking the FM transmitter directly to my receiver. I was going to just use the headphone-out jack of the receiver to feed audio to the FM transmitter, but the stoopid receiver can't output audio to external speakers at the same time as the headphone is plugged. To overcome this, I'll probably run a headphone amp off the receiver's RCA outputs, into the FM transmitter. Like this one: http://headamp.com/portable_amps/ae2/, or this one: http://www.amazon.com/Rolls-HA43-Headph … B00102ZOQC
    Last edited by sultanoswing (2013-11-13 06:15:11)

  • Can't get flash to work with PulseAudio [Solved]

    I have Pulseaudio configured according to the Wiki and everything works except flash. If I bring up a flash site, it takes over the sound card and plays fine, but won't let the card go until I shut down Firefox. During that time nothing shows up in the PA volume control. I've installed alsa-utils and libflashsupport and flashplugin-10. I also have my .asoundrc set up according to all of the sites that should force everything to pulse.
    Any ideas?
    Thanks
    -mS
    Last edited by aglarond (2008-11-24 21:20:58)

    Nevermind. Apparently you don't need libflashsupport with Flash 10. I removed it and it started working.

Maybe you are looking for

  • SunOneAppServ with Oracle 10g vers. 10.1.0.3.0

    Hello, I'm using two different versions of SunOneAppServer, Sun Java System Application Server Enterprise Edition 8.1_02(build b19-p08) and Sun Java System Application Server 7 2004Q2UR2. These two instances of Application Servers work over two diffe

  • Getting the Department Number in HR- Urgent

    Hi All, I have a requirement where i need to take the department information for an employee from the HR tables. Its urgent and Please help Regards, Mohan

  • EVO:RAIL - Use Cases?

    I think as soon as the world becomes aware of EVO:RAIL then folks will start asking what the use cases are. It's clear that there are couple of immediate use cases, but I'm betting that customers will bring to the table applications that perhaps we h

  • Okay... any fix to the backup to disk problem?

    I tried tonight to back up my library to DVD. I got to the point where it said insert disk, which I do, and then it spits the door open and says insert blank disk, over and over and over each time I put a blank disk into the drive. Has there been a f

  • Now Adobe won't even chat to solve install problems. Why?

    How can I reinstall  a constantly crashing Photoshop Editor if I keep getting "shared Technologies" errors