[Alsa-user] Cannot capture from Docking Mic
I have a Inter HDA device and my problem is that I want to capture input (e.g. in Ekiga for VOIP) from the mic port of my dock (Thinkpad T61p withAdvanced mini dock) While I can listen to the input from this port, It seems to me that I cannot capure from it. The reason might be that I can select Mic, Internal Mic and Mix,as input sources but not Docking Mic, however, I do have the Docking mic available for playback. btw, this is my sound card, and the problem appeared with several versions of alsa including the 1.16 as in ubuntu hardy alpha5. 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) I hope this is the right place/way for that problem... Thanks Christian -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] No sound with on-board CM6501 USB
I did some googling and it looks like other people have gotten sound working on this motherboard (Asus M2N-E SLI). The driver seems to load but I get no sound. I've tried plugging the speakers into every sound jack. Here's the output from the ALSA info script: http://pastebin.ca/914731 I rebuilt ALSA with verbose printk and got this output: ALSA sound/usb/usbaudio.c:2762: 3:1:1: add audio endpoint 0x6 ALSA sound/usb/usbaudio.c:2762: 3:1:2: add audio endpoint 0x6 ALSA sound/usb/usbaudio.c:2762: 3:1:3: add audio endpoint 0x6 ALSA sound/usb/usbaudio.c:2762: 3:1:4: add audio endpoint 0x6 ALSA sound/usb/usbaudio.c:2762: 3:1:5: add audio endpoint 0x6 ALSA sound/usb/usbaudio.c:1279: current rate 30464 is different from the runtime rate 96000 ALSA sound/usb/usbaudio.c:2762: 3:2:1: add audio endpoint 0x85 ALSA sound/usb/usbmixer.c:988: [9] FU [Mic Playback Switch] ch = 1, val = 0/1/1 ALSA sound/usb/usbmixer.c:988: [9] FU [Mic Playback Volume] ch = 2, val = -6144/1921/1 ALSA sound/usb/usbmixer.c:988: [14] FU [CD Playback Switch] ch = 1, val = 0/1/1 ALSA sound/usb/usbmixer.c:988: [14] FU [CD Playback Volume] ch = 2, val = -6144/1921/1 ALSA sound/usb/usbmixer.c:988: [11] FU [Speaker Playback Switch] ch = 1, val = 0/1/1 ALSA sound/usb/usbmixer.c:988: [11] FU [Speaker Playback Volume] ch = 2, val = -6144/1921/1 ALSA sound/usb/usbmixer.c:988: [13] FU [Speaker Playback Switch] ch = 1, val = 0/1/1 ALSA sound/usb/usbmixer.c:405: cannot set ctl value: req = 0x4, wValue = 0x201, wIndex = 0xd00, type = 4, data = 0x18/0x0 ALSA sound/usb/usbmixer.c:988: [13] FU [Speaker Playback Volume] ch = 8, val = -9456/0/48 ALSA sound/usb/usbmixer.c:988: [8] FU [Mic Capture Switch] ch = 1, val = 0/1/1 ALSA sound/usb/usbmixer.c:988: [8] FU [Mic Capture Volume] ch = 2, val = -4096/2832/1 ALSA sound/usb/usbmixer.c:988: [2] FU [PCM Capture Switch] ch = 1, val = 0/1/1 ALSA sound/usb/usbmixer.c:988: [2] FU [PCM Capture Volume] ch = 2, val = -4096/2832/1 ALSA sound/usb/usbmixer.c:988: [16] FU [CD Capture Switch] ch = 1, val = 0/1/1 ALSA sound/usb/usbmixer.c:988: [16] FU [CD Capture Volume] ch = 2, val = -4096/2832/1 ALSA sound/usb/usbmixer.c:988: [15] FU [PCM Capture Switch] ch = 1, val = 0/1/1 ALSA sound/usb/usbmixer.c:988: [15] FU [PCM Capture Volume] ch = 2, val = -4096/2832/1 ALSA sound/usb/usbmixer.c:1571: [7] SU [PCM Capture Source] items = 4 usbcore: registered new interface driver snd-usb-audio The output from "lsusb -v" is here: http://pastebin.ca/914734 Regards, Neil - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] hda_intel no microphone
On Fri, Feb 22, 2008 at 4:54 PM, Ferry Toth <[EMAIL PROTECTED]> wrote: > SW > Linux version 2.6.22-3-686 (Debian 2.6.22-6.lenny1) > alsa 1.015-4 Please try newer ALSA, either 1.0.16 or (ideally) the latest HG snapshot. Lee - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] hda_intel no microphone
Hi all, My hda_intel alc662 sound card works fine, except for the microphone. I have a front and back plug, but both give no results. Strange: microphone sliders are only shown in the output tabs of the mixer (kmix), not on the input. Is there a configuration problem here? dmesg shows the following sound related message: hda_codec: Unknown model for ALC662, trying auto-probe from BIOS I'm using: HW 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) SW Linux version 2.6.22-3-686 (Debian 2.6.22-6.lenny1) alsa 1.015-4 Any solutions? Thanks Ferry - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] intel-hda alc888 problem
Hi, I am having constant problems with alsa and my sound card. The hardware in question is an Asrock 4coredual-sata2 motherboard, which houses an VIA High Definition Audio Controller (rev 10) that uses the alc888 codec. The main problem is that either by random chance (which is usually frequently) or on an alsasound restart, alsa seems improperly recognize my sound card, usually trying to probe for an alc883 codec instead of an alc888 codec. This leads to me not being able to use the alsamixer, stating that there are improper channels defined. I've also added pci=noacpi to my grub.conf to see if that fixed any of the dmesg errors i get, but to no avail. I've included the pastebin link to alsa-info , and included in this email my relevant dmesg and lspci info. I am using gentoo linux, and the alsa-driver package (alsa-driver 1.0.16_rc1, alsa-lib 1.0.16_rc2, alsa-util 1.0.16_rc1) The built in kernel driver for the 2.6.24 kernel also has the same problem, so i upgraded to the latest stable alsa driver to see if that would fix the problem. pastebin link for alsa-info: http://pastebin.ca/914405 relevant dmesg: hda_codec: num_steps = 0 for NID=0xd (ctl = Surround Playback Volume) PCI: Setting latency timer of device :80:01.0 to 64 ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.16_rc1/work/alsa-driver-1.0.16rc1/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:587: hda_intel: azx_get_response timeout, switching to polling mode: last cmd=0x129f0009 ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.16_rc1/work/alsa-driver-1.0.16rc1/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:594: hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x129f0009 hda_codec: Unknown model for ALC883, trying auto-probe from BIOS... hda-intel: Invalid position buffer, using LPIB read method instead. lspci 00:00.0 Host bridge: VIA Technologies, Inc. PT894 Host Bridge 00:00.1 Host bridge: VIA Technologies, Inc. PT894 Host Bridge 00:00.2 Host bridge: VIA Technologies, Inc. PT894 Host Bridge 00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge 00:00.4 Host bridge: VIA Technologies, Inc. PT894 Host Bridge 00:00.5 PIC: VIA Technologies, Inc. PT894 I/O APIC Interrupt Controller 00:00.7 Host bridge: VIA Technologies, Inc. PT894 Host Bridge 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge 00:02.0 PCI bridge: VIA Technologies, Inc. PT890 PCI to PCI Bridge Controller 00:0f.0 IDE interface: VIA Technologies, Inc. Unknown device 5372 00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07) 00:10.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev b0) 00:10.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev b0) 00:10.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev b0) 00:10.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev b0) 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237S PCI to ISA Bridge 00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c) 00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge 00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge 01:00.0 VGA compatible controller: nVidia Corporation G73 [GeForce 7600 GS] (rev a2) 80:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10) Thanks for your help and time -Mark - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
On Fri, Feb 22, 2008 at 5:55 AM, Florian <[EMAIL PROTECTED]> wrote: > > But the laptop is not running realtime linux is it? It has > sure it is... > > > > loads of potential latencies and stuff demanding the system's > > attention-- page swapping, program swapping, etc. So why would > > you think that it would work on Linux without underruns? If > > you wnat 1ms latencies, your computer must be feading the > > beast at least every .1ms with no interruptions longer than > > 1ms. That is not many samples in your buffer. I have no idea > > if alsa can be made to work that way. > > basically we have that setup working on a workstation, so why > shouldn't it work on a laptop? Actually, my collegues here > "think" in guaranteed time slices in the microsecond or even > nanosecond range. For them, 1 millisecond is an eternity where A > LOT can be done on modern processors :) Because laptops often use SMM traps to poll battery and fan status which can tie up the CPU for several milliseconds. The vast majority of laptops are simply not designed for low latency work. Good luck, Lee - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
On Fri, 2008-02-22 at 13:59 +0100, Florian wrote: > we manage to get "down" to 8 milliseconds buffer size at CD > quality without glitches with the onboard soundcard (Intel HDA). > However, we would like to use sub-millisecond buffer sizes. Any chance you could share your setup for that? I struggle to get below 20ms on my laptop with the HDA soundcard. /J\ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
On 2/22/2008 1:40 PM, James Shatto wrote: > The USB bus speed probably isn't going to ensure low latency. > Most USB soundcards seem limited to two channels and 48kHz. > I'd recommend a PCCard/Cardbus or Firewire device. yes, I assumed that. > Is there any reason you're wanting to use something other than > the onboard soundcard? Aside from most of them sounding about we manage to get "down" to 8 milliseconds buffer size at CD quality without glitches with the onboard soundcard (Intel HDA). However, we would like to use sub-millisecond buffer sizes. > as low end as one can get. I'm gonna assume that your java is > compiled, and not interpreted at run time. And that you've no, the whole point is that we're running an actual Java VM. Modern VM's don't interprete Java byte code anymore, it's compiled at runtime (JIT) and even dynamically optimized at runtime, which is why Java can be faster than C/C++...(despite what most people believe). But the problem for realtime systems is the garbage collector which normally interferes. The research group I'm working for is developing a VM with a garbage collector that allows realtime behavior of the Java app. An old version of that system is illustrated here: http://domino.research.ibm.com/comm/research_projects.nsf/pages/metronome.harmonicon.html > stripped your system down to ensure low latency. No autofs, > dbus, avahi, apache, mysql, exim, cups, proftp, cron, atd, > portmap, nfs, running while you're making said demo. And > that audio has been given realtime permissions at the user > level. Plus a low latency kernel. pretty much all of the above :) Thanks, Florian > > - > This SF.net email is sponsored by: Microsoft Defy all > challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ Alsa-user > mailing list Alsa-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/alsa-user > > -- Florian Bomers Bome Software --- Music Software, Development Tools: http://www.bome.com Java Sound extensions, plugins: http://www.tritonus.org The Java Sound Resources:http://www.jsresources.org --- Please quote this email in your reply. Thanks! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
> very good sound reproduction) but I certainly have never > tested its latency. Not sure how you would do so, since your > ear certainly cannot hear time differences on the level of > msec. the beauty (and the whole idea of using real-time audio for showcasing realtime systems) is that you WILL hear if there is an i/o problem anywhere in the path from user app to hardware: even 4 samples "missing" (i.e. an underrun) will cause a very sharp transient in the outgoing signal, which is audible as a click. You can try that with any ALSA app that lets you set the buffer size to arbitrary values. And, as you suggest, the signal's frequency spectrum will contain very high frequencies, so we've created a tool to automatically detect underruns from the recorded audio output of the soundcard, (and to correlate that with the underruns reported by ALSA). Later, Florian > More like 100ms. I suppose you could measure it-- eg a > loopback with sound out going right back into the intput, -- > or even setting up a feedback loop and seeing what freq it > howls at. Never tried it. > > >> >> Later, Florian >> Thanks, Florian On 2/22/2008 1:48 AM, Bill Unruh wrote: > On Fri, 22 Feb 2008, Florian wrote: > >> Hi, >> >> on our IBM/Lenovo T60 laptop, we want higher audio >> quality than the built-in HD-Audio, especially low >> latency - in the range of 1 millisecond or lower. >> >> Can anyone recommend a PCCard/Cardbus soundcard, or >> possibly a USB card supported by alsa and which >> you've been able to run with low latency? > > The usb audio maudio transit I have been quite pleased > by, esp now that the alsa has stabilised for this > card. Latency it sseems to me is more a matter of the > buffer size that is used than anything else. At 1ms > you can only have at most 20 samples in the buffer. > That runs the danger of underruns, since something > could distract the computer for that length of time. > > >> >> Thanks, Florian >> >> >> > >>> >> >> > -- Florian Bomers Bome Software --- Music Software, Development Tools: http://www.bome.com Java Sound extensions, plugins: http://www.tritonus.org The Java Sound Resources:http://www.jsresources.org --- Please quote this email in your reply. Thanks! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
> Can anyone recommend a PCCard/Cardbus soundcard, or possibly a > USB card supported by alsa and which you've been able to run with > low latency? The USB bus speed probably isn't going to ensure low latency. Most USB soundcards seem limited to two channels and 48kHz. I'd recommend a PCCard/Cardbus or Firewire device. I also have some M-Audio devices. They sound good and have linux drivers. My Mobile Pre which is USB doesn't sound as good as my Delta 44 which is PCI. But still sounds loads better than the onboard soundcard of my laptop. Is there any reason you're wanting to use something other than the onboard soundcard? Aside from most of them sounding about as low end as one can get. I'm gonna assume that your java is compiled, and not interpreted at run time. And that you've stripped your system down to ensure low latency. No autofs, dbus, avahi, apache, mysql, exim, cups, proftp, cron, atd, portmap, nfs, running while you're making said demo. And that audio has been given realtime permissions at the user level. Plus a low latency kernel. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
On Fri, 22 Feb 2008, Florian wrote: >> But the laptop is not running realtime linux is it? It has > sure it is... > >> loads of potential latencies and stuff demanding the system's >> attention-- page swapping, program swapping, etc. So why would >> you think that it would work on Linux without underruns? If >> you wnat 1ms latencies, your computer must be feading the >> beast at least every .1ms with no interruptions longer than >> 1ms. That is not many samples in your buffer. I have no idea >> if alsa can be made to work that way. > > basically we have that setup working on a workstation, so why > shouldn't it work on a laptop? Actually, my collegues here > "think" in guaranteed time slices in the microsecond or even > nanosecond range. For them, 1 millisecond is an eternity where A > LOT can be done on modern processors :) I agree with that. OK, so you are saying that you believe that the software side is under control-- from the system on up, and you want to know if there exists a card which itself on the hardware side does not itself introduce latencies in the msec range. I suspect few have tested the cards that way, so it may be up to you to do so. As I said I have liked the maudio transit (it is cheap, usb, and has very good sound reproduction) but I certainly have never tested its latency. Not sure how you would do so, since your ear certainly cannot hear time differences on the level of msec. More like 100ms. I suppose you could measure it-- eg a loopback with sound out going right back into the intput, -- or even setting up a feedback loop and seeing what freq it howls at. Never tried it. > > Later, > Florian > >>> >>> Thanks, Florian >>> >>> >>> >>> On 2/22/2008 1:48 AM, Bill Unruh wrote: On Fri, 22 Feb 2008, Florian wrote: > Hi, > > on our IBM/Lenovo T60 laptop, we want higher audio > quality than the built-in HD-Audio, especially low > latency - in the range of 1 millisecond or lower. > > Can anyone recommend a PCCard/Cardbus soundcard, or > possibly a USB card supported by alsa and which you've > been able to run with low latency? The usb audio maudio transit I have been quite pleased by, esp now that the alsa has stabilised for this card. Latency it sseems to me is more a matter of the buffer size that is used than anything else. At 1ms you can only have at most 20 samples in the buffer. That runs the danger of underruns, since something could distract the computer for that length of time. > > Thanks, Florian > > > >>> >>> >> > > -- William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | [EMAIL PROTECTED] Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
On 2/22/2008 11:55 AM, Florian wrote: >> But the laptop is not running realtime linux is it? It has > sure it is... to clarify: this is not a "full" realtime or embedded linux, it's Redhat's RHEL 5 with their realtime kernel. Florian >> loads of potential latencies and stuff demanding the system's >> attention-- page swapping, program swapping, etc. So why would >> you think that it would work on Linux without underruns? If >> you wnat 1ms latencies, your computer must be feading the >> beast at least every .1ms with no interruptions longer than >> 1ms. That is not many samples in your buffer. I have no idea >> if alsa can be made to work that way. > > basically we have that setup working on a workstation, so why > shouldn't it work on a laptop? Actually, my collegues here > "think" in guaranteed time slices in the microsecond or even > nanosecond range. For them, 1 millisecond is an eternity where A > LOT can be done on modern processors :) > > Later, > Florian > >>> Thanks, Florian >>> >>> >>> >>> On 2/22/2008 1:48 AM, Bill Unruh wrote: On Fri, 22 Feb 2008, Florian wrote: > Hi, > > on our IBM/Lenovo T60 laptop, we want higher audio > quality than the built-in HD-Audio, especially low > latency - in the range of 1 millisecond or lower. > > Can anyone recommend a PCCard/Cardbus soundcard, or > possibly a USB card supported by alsa and which you've > been able to run with low latency? The usb audio maudio transit I have been quite pleased by, esp now that the alsa has stabilised for this card. Latency it sseems to me is more a matter of the buffer size that is used than anything else. At 1ms you can only have at most 20 samples in the buffer. That runs the danger of underruns, since something could distract the computer for that length of time. > Thanks, Florian > > > >>> > -- Florian Bomers Bome Software --- Music Software, Development Tools: http://www.bome.com Java Sound extensions, plugins: http://www.tritonus.org The Java Sound Resources:http://www.jsresources.org --- Please quote this email in your reply. Thanks! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
> But the laptop is not running realtime linux is it? It has sure it is... > loads of potential latencies and stuff demanding the system's > attention-- page swapping, program swapping, etc. So why would > you think that it would work on Linux without underruns? If > you wnat 1ms latencies, your computer must be feading the > beast at least every .1ms with no interruptions longer than > 1ms. That is not many samples in your buffer. I have no idea > if alsa can be made to work that way. basically we have that setup working on a workstation, so why shouldn't it work on a laptop? Actually, my collegues here "think" in guaranteed time slices in the microsecond or even nanosecond range. For them, 1 millisecond is an eternity where A LOT can be done on modern processors :) Later, Florian >> >> Thanks, Florian >> >> >> >> On 2/22/2008 1:48 AM, Bill Unruh wrote: >>> On Fri, 22 Feb 2008, Florian wrote: >>> Hi, on our IBM/Lenovo T60 laptop, we want higher audio quality than the built-in HD-Audio, especially low latency - in the range of 1 millisecond or lower. Can anyone recommend a PCCard/Cardbus soundcard, or possibly a USB card supported by alsa and which you've been able to run with low latency? >>> >>> The usb audio maudio transit I have been quite pleased by, >>> esp now that the alsa has stabilised for this card. >>> Latency it sseems to me is more a matter of the buffer >>> size that is used than anything else. At 1ms you can only >>> have at most 20 samples in the buffer. That runs the >>> danger of underruns, since something could distract the >>> computer for that length of time. >>> >>> Thanks, Florian >>> >> >> > -- Florian Bomers Bome Software --- Music Software, Development Tools: http://www.bome.com Java Sound extensions, plugins: http://www.tritonus.org The Java Sound Resources:http://www.jsresources.org --- Please quote this email in your reply. Thanks! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
On Fri, 22 Feb 2008, Florian wrote: > Hi Bill, > > thanks for the replies. Yes, we are doing research on "ultra-low" > latencies with accompanying realtime Linux and realtime software. > With good PCI cards, our test synthesizer can run quite stable at > 8 samples per period (and 2 periods per buffer) at 192KHz. Now > for presentations we need to show that on a laptop... And, btw, > our software synthesizer is running on realtime Java :) But the laptop is not running realtime linux is it? It has loads of potential latencies and stuff demanding the system's attention-- page swapping, program swapping, etc. So why would you think that it would work on Linux without underruns? If you wnat 1ms latencies, your computer must be feading the beast at least every .1ms with no interruptions longer than 1ms. That is not many samples in your buffer. I have no idea if alsa can be made to work that way. > > Thanks, > Florian > > > > On 2/22/2008 1:48 AM, Bill Unruh wrote: >> On Fri, 22 Feb 2008, Florian wrote: >> >>> Hi, >>> >>> on our IBM/Lenovo T60 laptop, we want higher audio quality than >>> the built-in HD-Audio, especially low latency - in the range of 1 >>> millisecond or lower. >>> >>> Can anyone recommend a PCCard/Cardbus soundcard, or possibly a >>> USB card supported by alsa and which you've been able to run with >>> low latency? >> >> The usb audio maudio transit I have been quite pleased by, esp now that the >> alsa has stabilised for this card. Latency it sseems to me is more a matter >> of the buffer size that is used than anything else. At 1ms you can only >> have at most 20 samples in the buffer. That runs the danger of underruns, >> since something could distract the computer for that length of time. >> >> >>> >>> Thanks, >>> Florian >>> >>> >>> >> > > -- William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | [EMAIL PROTECTED] Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
Hi Bill, thanks for the replies. Yes, we are doing research on "ultra-low" latencies with accompanying realtime Linux and realtime software. With good PCI cards, our test synthesizer can run quite stable at 8 samples per period (and 2 periods per buffer) at 192KHz. Now for presentations we need to show that on a laptop... And, btw, our software synthesizer is running on realtime Java :) Thanks, Florian On 2/22/2008 1:48 AM, Bill Unruh wrote: > On Fri, 22 Feb 2008, Florian wrote: > >> Hi, >> >> on our IBM/Lenovo T60 laptop, we want higher audio quality than >> the built-in HD-Audio, especially low latency - in the range of 1 >> millisecond or lower. >> >> Can anyone recommend a PCCard/Cardbus soundcard, or possibly a >> USB card supported by alsa and which you've been able to run with >> low latency? > > The usb audio maudio transit I have been quite pleased by, esp now that the > alsa has stabilised for this card. Latency it sseems to me is more a matter > of the buffer size that is used than anything else. At 1ms you can only > have at most 20 samples in the buffer. That runs the danger of underruns, > since something could distract the computer for that length of time. > > >> >> Thanks, >> Florian >> >> >> > -- Florian Bomers Bome Software --- Music Software, Development Tools: http://www.bome.com Java Sound extensions, plugins: http://www.tritonus.org The Java Sound Resources:http://www.jsresources.org --- Please quote this email in your reply. Thanks! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
Hi Andrei, yes, I know that USB (especially 1.x) may transfer data in time slices of 1 ms or larger. I don't know exactly about USB 2.0, so I didn't want to rule it out. > Myself I tried several solutions, including terratec usb xs > sound card, and ended with echo indigo io. I think You should > give it a try. At least take a look at it's specs at > http://www.echoaudio.com/Products/CardBus/IndigoIO/index.php yes, that's exactly what we needed: a positive assertion that this card works fine... :) Thanks, Florian > > > > -- > > Regards, > > Andrei > > -- Florian Bomers Bome Software --- Music Software, Development Tools: http://www.bome.com Java Sound extensions, plugins: http://www.tritonus.org The Java Sound Resources:http://www.jsresources.org --- Please quote this email in your reply. Thanks! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Laptop soundcard recommendations?
22.02.08, 02:42, "Florian" <[EMAIL PROTECTED]>: > Hi, > on our IBM/Lenovo T60 laptop, we want higher audio quality than > the built-in HD-Audio, especially low latency - in the range of 1 > millisecond or lower. > Can anyone recommend a PCCard/Cardbus soundcard, or possibly a > USB card supported by alsa and which you've been able to run with > low latency? I'm not an expert in low latency sound processing, but still should warn you about usb sound cards. It's not that their design cause them to be problematic, but way of connection instead. You have to keep in mind following limitation: a) You'll have to make sure that no 1.1 or 1.0 usb devices resides on the same bus, and this can be problematic, specially with laptops, b) usb as it is may not guarantee you low latency operations since it is essentially designed to provide exclusive access to one device at a time. While one can use usb hubs with switching and buffering capabilities it is still a cumbersome way to connect sound. Myself I tried several solutions, including terratec usb xs sound card, and ended with echo indigo io. I think You should give it a try. At least take a look at it's specs at http://www.echoaudio.com/Products/CardBus/IndigoIO/index.php -- Regards, Andrei - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user