Sound card has no Mix device. Can alsa simmulate one?

Hey,
As the subject says, my sound card
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
doesn't have a "Mix" device from which to record "what-you-hear" sound. I've read into the subject, and keep seeing Pulse mentioned. However, I'd like to avoid switching to Pulse, if at all possible. Is alsa capable of creating a "virtual mix device" or some such contraption?

After spending a whole bunch of time, I was able to create a hardware loopback using ALSA that allows recording all of "what-you-hear".
Like most modern motherboards, mine also had a "HDA Intel" audio controller, but that's only half the hardware. You should also have a "codec" chip that the HDA Intel chip controls.
My codec chip is a  Realtek ALC662. So it all started by using some google-fu to download the PDF datasheet for this chip. Looking at the block diagram in that document showed that there were indeed "virtual wires" that connected the audio outputs (play) back to the audio inputs (capture).
Downloading, compiling, and firing up the "hda-analyzer" program showed that those "virtual wires" simply were not turned on. So I used that same program to "connect" the wires, unmute some of the newly connected nodes, then messed with alsamixer until it all worked.
The "hda-analyzer" program has a great feature that can create a Python script of the changes you've made. This is super because your changes will disappear on a reboot (unless you jump through even more hoops).
I found that sometimes if I left the hardware loopback device connected for a somewhat long period of time, a minor "hummmm..." could be heard from my speakers when no music was playing. So I'm totally guessing this is the reason why the ALSA developers don't have this loopback "wired" by default. So I simply created one Python script that turns on the loopback, and then another that turns it off.
Anyway, it works great, and if you're lucky (your codec chip has virtual "loopback" wires), and you roll up your sleeves and get really, really "dirty" in the ALSA and audio hardware mud, you just may be able to do the same thing on your system.
Last edited by pigiron (2012-04-17 23:26:45)

Similar Messages

  • Satellite A110-195 PSAB0E - sound card has stopped working

    Hello,
    My sound card has stopped working it was working fine but suddenly the sound quality started to faint and finally it stopped working i have tried the following methods:
    Realtek is default audio
    Control Panel/ Sound & Audio Devices/ Audio tab/ Sound Playback click on down arrow and check that the correct audio is selected. Typically the problem will be they something like "modem line 0 playback" might have been substituted for the proper audio device.( Didn't Worked)
    Chipset Utility - install ( Did'n't Worked Aswell)
    Start / Control Panel / Administrative Tools / Component Services / a separate window will open in left pane click Services(Local) from the tree / Scroll down to Windows Audio service / if the service is Disabled or Manual right click > select Properties > under Startup Type change to Automatic > click Apply / click Start > OK Reboot. (Worked) But First The Quality Was Not As It Was Before And Then Sound Card Stopped Working Again.
    Try a System File Check
    go to Run - type "sfc /scannow" No Success.
    I have installed windows again but no success. :(
    Here Is The Detailed Model No. Satellite A110-195
    PSAB0E-00F00KAR
    Windows XP Home Edition SP2

    No It Appears In Device Manager And In Control Panel.
    This Method Worked But The Sound Level Was Not As Good As it Used To Be:
    tart / Control Panel / Administrative Tools / Component Services / a separate window will open in left pane click Services(Local) from the tree / Scroll down to Windows Audio service / if the service is Disabled or Manual right click > select Properties > under Startup Type change to Automatic > click Apply / click Start > OK Reboot.

  • I have a £50 gift voucher and I tried to buy something with it, but it tells me there was a billing problem with a previous purchase and makes me put in my debit card details. My debit card has no money atm, can't I just pay with my voucher?

    I have a £50 gift voucher and I tried to buy something with it, but it tells me there was a billing problem with a previous purchase and makes me put in my debit card details. My debit card has no money atm, can't I just pay with my voucher for the things that have a billing problem? I tried to put my voucher code in again but it won't let me do that.

    If the amount of the purchase is close to $21.07, then you need to take into account taxes may be added.
    If you go beyond the credit from a gift card the balance will be billed to your credit card account.

  • HT4436 My family has multiple iPhones.  Can we use one Apple ID for all of our phones?

    My family has multiple iPhones.  Can we use one Apple ID for all of our phones?

    If you use the same AppleID for iMessage and iCloud though, you will all be sharing the same message account and iCloud email account.  You can use a common AppleID for purchased content, but each create your own unique AppleID for iMessage and iCloud so you each have your own private accounts for those services.

  • How many devices can sync to one apple ID?

    How many devices can sync to one apple ID?  I need to get all my music from an old computer to my new computer.  I just purchased an album on my new computer and it's not syncing with my iPhone 5 and I don't want to pay $25 for the Cloud.

    You can sync as many idevices as you like to one computer/library
    The iphone will sync with one and only one computer at a time.  Syncing to another will erase the current content fro the iphone.

  • HT1495 how many devices can be on one itunes account

    How many devices can be on one itunes account ? Is there a maximum

    For syncing iPods and iOS devices, there's no limit.
    For iTunes Store authorization, the limit is 5 computers.
    For iTunes Match, the limit is 10 computers and iOS devices.
    (93256)

  • I want to install free app but my credit card has no money how can I do that?

    MMy credit card has no money right now but I still want to install free apps, how can I do that?

    You are going to have to get a different credit card, or purchase an iTunes gift card.

  • USB sound card has no so

    i just recently moved and when i went to connect everything back up to my lap top i found that my usb sound card
    (viewed here http://creative.com/products/product.asp?category=&subcategory=207&product=54&n av=2 was not putting out sound. i've tried everything to get it to work and i was wondering if there was more i could do. so far i have done system restore, uninstalled every sound driver and reinstalled them and the sound card seems to be working i just dont hear anything. the diaognostics checks ok. i need some help i need my music!!!Message Edited by Centrix on 09-0-2005 0:35 PM

    Centrix wrote:
    i just recently moved and when i went to connect everything back up to my lap top i found that my usb sound card
    (viewed here http://creative.com/products/product.asp?category=&subcategory=207&product=54&n av=2 was not putting out sound. i've tried everything to get it to work and i was wondering if there was more i could do. so far i have done system restore, uninstalled every sound driver and reinstalled them and the sound card seems to be working i just dont hear anything. the diaognostics checks ok. i need some help i need my music!!!Message Edited by Centrix on 09-0-2005 0:35 PM
    Which OS you are using (W2k or XP)?
    Have you tried to connect it "on the fly".
    Remove USB cable and restart you laptop. Then when Windoes is up and running, connect the cards USB cable back to laptops USB port.
    Now OS should give you an information 'bout Found/Installing New USB Device (or something like that) if your card is not properly set/installed before. If it asks for drivers let it look the best (since drivers are installed already). etc.
    .jtp

  • ITunes killed my sound card (code 52 in device manager)

    I am running Win 7 x64 and installed iTunes for the first time yesterday and today I have no sound. I looked in the device manager and I have a yellow exclamation mark next to my sound card (Asus Xonar DS PCI). In the error description it says:-
    'Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)'
    After googling I notice this is a known issue with iTunes. Normally this problem affects optical drives in which case it is fixed by deleting the UpperFilters somewhere in the registry.
    BUT what do I do in the case of a broken sound card?
    Grateful for any help!

    Sorry, when I said 'kill' i meant it stopped it from playing sound not actually damaging the hardware. I am guessing iTunes must be installing an unsigned driver which hooks into the sound card driver and hence windows believes the sound card driver is unsigned. And because 64-bit windows requires drivers to be signed it blocks the device from starting. Just my guess correct me if i'm wrong.
    To be honest, i cant see a different pci slot working as it seems more like a problem on the driver level rather than IRQ conflicts etc.
    Changing sound card may work because it would be using a different driver altogether (Realtek HD audio), but that would be £40 wasted on my new sound card. Actually I might be better off selling it and getting better speakers instead.
    If I get the time, I will try once more installing itunes with the Xonar and then with the Realtek.
    Will post results when i get them.

  • HOW TO GO ABOUT DISCONECTING OLD SOUND CARD ,SO THE NEW BLAALASTER CAN LO

    i HAVE A SONY VAIO AND I DO NOT SEE A CHIPBOARD FOR THE OLD SOUND CARD? HOE TO LOCATE THIS,WOULD STOP THIS INSSANNITY........PLEASE ANY HELP WOULD DOE A FELLA GOOD? IS THERE A SET PIN JUMPER SOMEWHERE?

    Whoah whoah fist of all cool down man, there's nothing to get so nervous about. And don't try prying the poor VAIO open and locating any soundboards, unless you usually go around desoldering stuff...the soundboard is just a chip, leave it alone. To disable it, all you need to do is turn off an option in the BIOS, no knifes, screwdrivers or solderers needed.
    Oh and uninstalling the windows drivers for the onboard sound would help, too.

  • How many devices can be under one Apple ID for using find my iPhone?

    I work for a school and we were told by an Apple representative that Find My iPhone works for only 10 devices under each Apple ID. Is this true? If I have 30 iPads under 1 apple ID will only 10 of them show up under "Devices" on iCloud? Will we only be able to locate 10 of them?

    Documentation related to the iTunes store indicates that a maximum of 10 devices can be associated with a single ID (see http://support.apple.com/kb/HT4627).  I'm not sure, however, if that applies to iCloud or not.  If it does, you could always assign a different Apple ID and associated iCloud account to each group of 10.  You could still track them all; you would just have to sign into each iCloud account separately to track the devices associated with that ID.  Apple may also have other enterprise solutions that would be available to your situation.  You should contact Apple directly to inquire about this.

  • How many Apple devices can connect to one account? If I get 2 iPads for my home can they get apps under the same account or different accounts?

    I am wanting to purchase an iPad for myself and kids but I am wondering if they need to be setup under a different Apple account or just one. What about my iPhone that is under that account? So how many devices can be linked to an account before it is maxed out?

    I'm not sure what the total limit is (or if there is one), but two iPads and one iPhone is no problem - you only need one account and you can have the same apps on all three devices if you want without any issues (I have an iPad, iPhone and iPod without problems). There was a thread a few weeks ago about a newspaper app (though it could have been a magazine), where the issue could only be downloaded to one device, but that is the only time I've heard about that limit.

  • How many devices can run from one library?

    How many Apple devices can be shared with one iTunes library?  We have two iPhones, two iPod touches, two Nanos, and thinking about an iPad.   Does Apple cut users off from using their own library (like with how they only authorize 5 computers)?  Thanks so much.

    As far as I'm aware there is no limit to the number of devices that you can sync to your library.
    There is a limit (10) to the number of iOS devices or computers that can be authorized for automatic downloads of your purchases at any one time, along with the limit of 5 computers that can be simultaneously authorized for the playback and transfer of protected content.
    tt2

  • KT3 ultra Onboard sound card has no sound on right channel. help me...

       oh my god.. i tried everything after i took out my sound blaster from Win2k.....
    i installed all the drivers that i have... restore computer from 2k to 98 back to 2k.....checked all BIOS and cables.... used differrent video card... i spent 2 days... and it still has no sound on the right channel
    i tried 4 channel, the back works fine(both channel works) but the front only has left audio....
    i really need help!
    please... thanks    X(  X(  X(  ?(  :O

    ok.. i know what know..
    most likely is the connector, cuz i play a mp3 and record with wave the same time and i burn that audio to Cd and i listened to it in my cd-player, both side were working. so it's the connector.. i guess
    so where i can get this fix with my wanrranty?

  • TS1292 my code on my itunes card has come off, how can i redeem it with =out the code,

    when trying to take the sticky off the back of the card all the code has come off. I do have receipt for it as i bought in a supermarket today, how can i redeem this itunes card now, as i paid 25pds.

    See this support article:
    http://support.apple.com/kb/TS1292
    If you can't get the card to work after perusing that page, as will obviously not be possible if the code has come completely off, contact the iTunes Store Support; instructions are at the bottom of that article.
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

Maybe you are looking for

  • Why doesn't the icon change when I go to different websites-example yahoo doens't change to the purpe circle with the y inside?

    When I pull up mozilla, I have a gray circle in front of the att homepage. When I go to yahoo, this icon doesn't change to the purple circle. The gray circle remains in the address bar before any website . -possibly only unsecured websites since I se

  • Large Data file problem in Oracle 8.1.7 and RedHat 6.2EE

    I've installed the RedHat 6.2EE (Enterprise Edition Optimized for Oracle8i) and Oracle EE 8.1.7. I am able to create very large file ( > 2GB) using standard commands, such as 'cat', 'dd', .... However, when I create a large data file in Oracle, I get

  • Material Provided by Customer table MKUB

    There is a table in SAP "MKUB Material Provided by Customer" My question is how is this table used? We currently manage material that our customer owns and have not yet found a good process. If there is a standard SAP process it would be great. Thank

  • OSB Java Callout, no methods shown when selecting jar

    Hi, I'm trying to invoke a Java method in OSB. I've already done this before with a simple static method. What this time is diffrent is that now my jar contains dependency to another jar, like Xerces. After I've imported my jar, and I'm trying to sel

  • 1.5 G4 powerbook left hinge going bad

    I'm thinking about buying a G4 powerbook with a 15" screen but the left hinge is starting to go bad. You have to push the back left corner of the screen while closing in order to get it to latch. I can see the hinge body starting to bend while moving