[Alsa-user] Tracking down sources of latency (xruns)

2009-05-24 Thread Michael Bourgeous
Does anybody on this list have a lot of experience identifying sources of scheduling latency in the kernel? I've got an old laptop that I'm trying to make realtime audio safe, and I've run into a wall. I'm running Gentoo with 2.6.29.4-rt15, and no matter how large I make my audio buffers, I still

Re: [Alsa-user] Query about Tascam us 122 USB soundcard

2007-05-24 Thread Michael Bourgeous
On 5/23/07, Nigel Henry <[EMAIL PROTECTED]> wrote: > An update: > > Jaime. He is running Kubuntu, and has tried to follow the instructions at. > http://www.bxlug.be/articles/306 There is a complete HOWTO for the Tascam line here: http://ubuntuforums.org/showthread.php?t=30891 The original HOWTO i

Re: [Alsa-user] Jackd dies with snd-usb-usx2y (DRIVER NT error)

2007-04-26 Thread Michael Bourgeous
eturn -EPIPE" after that error message, and now jackd doesn't crash. There are noticeable audio clicks whenever one of these errors occurs, but the driver seems to have no problem recovering, as audio continues. Mike On 4/26/07, Michael Bourgeous <[EMAIL PROTECTED]> wrote: .

[Alsa-user] Jackd dies with snd-usb-usx2y (DRIVER NT error)

2007-04-26 Thread Michael Bourgeous
Hi, I recently upgraded my system from 32-bit Ubuntu Edgy, with a custom hard-realtime-enabled 2.6.19 kernel, to 64-bit Ubuntu Feisty, with a hard-realtime-enabled 2.6.20 kernel. I also switched from an Athlon XP 2600 to an Athlon 64 X2 4600. In every way my new system should be faster, but jack

Re: [Alsa-user] Lexicon Lambda having USB problems

2007-04-18 Thread Michael Bourgeous
I would suggest sending this to Lexicon. I doubt they'd do anything about it, but they might want to know. Lexicon has long been an effects/audio processing company, so their first entry into the world of USB may have been a learning experience for their engineers. They may have used the same co

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-09 Thread Michael Bourgeous
You may look for settings like "playback buffer" or "buffer size". One option you might try is running jackd with a buffer size of 512 or 1024, and using an .asoundrc file in your home directory to create a jackd PCM and set it as the default PCM. Mike Bourgeous On 4/8/07, Jason Heeris <[EMAIL PR

Re: [Alsa-user] Encode PCM S16LE

2007-04-03 Thread Michael Bourgeous
Try testing your program by reading a raw PCM file from disk, to see if it is ffmpeg's encoding routines (which seems likely if the S16_LE format is working). If you are able to record flawless raw audio with your program, then you'd probably get better answers by asking on the ffmpeg list. Mike

Re: [Alsa-user] USB speakers: a suggestion

2007-03-23 Thread Michael Bourgeous
Ingo's solution gets my vote. I AM a programmer, and I have written kernel code, hotplug scripts, etc. Nobody is taking those away. The default is simply being made more sensible. Writing a new script for every sound card, or figuring out a nice regex to write one script for multiple cards, is

[Alsa-user] Fwd: Home Theatre PC to Decode Digital Input

2007-02-28 Thread Michael Bourgeous
-- Forwarded message -- From: Michael Bourgeous <[EMAIL PROTECTED]> Date: Feb 28, 2007 1:30 AM Subject: Re: [Alsa-user] Home Theatre PC to Decode Digital Input To: "Dustin C. Hatch" <[EMAIL PROTECTED]> You could probably do some research on how AC3-wavs and

Re: [Alsa-user] Tascam-428 - does anyone have one fully working?

2007-02-24 Thread Michael Bourgeous
Sorry, that should be 2.67ms. However, Windows only allows selection down to 5.33ms. The realtime preemption patches are required to reach that. On 2/23/07, gtrfree <[EMAIL PROTECTED]> wrote: > Michael Bourgeous gmail.com> writes: > > > > > Hi Michael, thank you for

Re: [Alsa-user] Tascam-428 - does anyone have one fully working?

2007-02-21 Thread Michael Bourgeous
My US-428 works great, but with the following caveats: - After using jack with the 4-channel input, I have to power cycle the device to use it with anything else. - In order to get latency below 10-20ms without noise, I have to change the priority of my IRQ handler with chrt. I can then get 1.67m

Re: [Alsa-user] USB and 8000 Hz

2007-02-13 Thread Michael Bourgeous
that requires a lower sample rate? (my intuition always tells me I want a higher sample rate, unless I need to match a certain standard (i.e. 44.1 for CDs)). Mike On 2/13/07, Vladimir Mosgalin <[EMAIL PROTECTED]> wrote: > Hi Michael Bourgeous! > > To answer original post: my M

Re: [Alsa-user] USB and 8000 Hz

2007-02-13 Thread Michael Bourgeous
What's the application? Resampling from 8k to 48k wouldn't be good enough? On 2/13/07, Tobias Söreling <[EMAIL PROTECTED]> wrote: > > > > Hi everyone, I have managed to get my USB soundcard to work fine with > alsa-utils but unfortunately it is only possible to open it in 44100 and > 48000 Hz. >

Re: [Alsa-user] trouble getting spdif passthru with anything but mplayer - using SB Live

2007-02-11 Thread Michael Bourgeous
Try looking for a setting called "IEC958 Optical Raw Playback" in alsamixer or amixer, and disable it. That usually does the trick when Dolby Digital/DTS passthrough works, but raw PCM doesn't. Mike On 2/11/07, Rick Warner <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm having trouble getting sp

Re: [Alsa-user] Is ALSA resampling all my playback to 48KHz?

2007-01-30 Thread Michael Bourgeous
The best place to put your stuff is in ~/.asoundrc. There are global files, but they're wiped out with new releases of the alsa tools. If you want all your system's users to have the same settings, put the .asoundrc file in /etc/skel/ and it will be copied into all new users' home directory. for

Re: [Alsa-user] Tascam US-428 Inputs C/D

2007-01-29 Thread Michael Bourgeous
On 1/29/07, Matt Savigear <[EMAIL PROTECTED]> wrote: > On Sun, 28 Jan 2007 19:09:44 -0700 > "Michael Bourgeous" <[EMAIL PROTECTED]> wrote: > > I've been trying this for a while, but I've been unable to get > > anything to record from inputs C an

[Alsa-user] Tascam US-428 Inputs C/D

2007-01-28 Thread Michael Bourgeous
I've been trying this for a while, but I've been unable to get anything to record from inputs C and D on my Tascam US-428. Currently I'm using the 1.14-rc alsa driver. I've finally managed to get down to 5.33 ms latency using Ingo Molnar's realtime kernel patches and setting the USB interrupt han