Re: [Alsa-user] Laptop soundcard recommendations?

2008-02-23 Thread Florian
 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.

yeah, that might be a problem we'll have.

Thanks,
Florian


 
 Good luck,
 
 Lee
 
 

-- 
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?

2008-02-23 Thread Sergei Steshenko
On Sat, 23 Feb 2008 16:23:02 +0100
Florian [EMAIL PROTECTED] wrote:

  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.
 
 yeah, that might be a problem we'll have.
 
 Thanks,
 Florian
 

Well, you might consider small form factor PCs then.

Regards,
  Sergei.

-
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?

2008-02-23 Thread Florian
On 2/22/2008 3:47 PM, Jonathan Stowe wrote:
 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.

we use straight-forward ALSA lib in blocking mode, using device
hw:0,0. We use 2 periods per buffer -- in that example, each
period has 8 milliseconds. I don't know if that should be
declared a 16ms buffer, but this configuration only adds 8ms
delay (while one period is filled, the other is played).

Later,
Florian


 /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
 
 

-- 
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?

2008-02-22 Thread Andrei M. Zaparii
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


Re: [Alsa-user] Laptop soundcard recommendations?

2008-02-22 Thread Florian
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?

2008-02-22 Thread Florian
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?

2008-02-22 Thread Bill Unruh
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
PhysicsAstronomy  | 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?

2008-02-22 Thread Florian
 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?

2008-02-22 Thread Florian
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?

2008-02-22 Thread Bill Unruh
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
PhysicsAstronomy  | 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?

2008-02-22 Thread James Shatto
 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?

2008-02-22 Thread Florian
 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?

2008-02-22 Thread Florian
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?

2008-02-22 Thread Jonathan Stowe
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?

2008-02-22 Thread Lee Revell
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


[Alsa-user] Laptop soundcard recommendations?

2008-02-21 Thread Florian
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?

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?

2008-02-21 Thread Bill Unruh
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
PhysicsAstronomy  | 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