Re: [linux-audio-dev] Sequencer Sync Woes

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Sequencer Sync Woes
From: Billy Biggs (bbiggs_AT_DIV8.NET)
Date: Tue Feb 06 2001 - 19:18:22 EET


  I guess I just want to make sure that I don't have to install any
kernel patches to run my sequencer. Ideally, I need to be able to run
my sequencer on whomever's laptop we have when we're going to do a show.
And you know how linux laptops are always getting re-installed . . .

> you could also use the cycle timer - using the RTC is (currently)
> intel only anyway, so adding calls to rdtscl() shouldn't hurt. its
> about 12 usecs instead of 60-200usecs for gettimeofday.

  Scary. I'd love to throw it in, but I can't find any documentation on
how to make calculations based on rdtscl. Is there an easy way to
calculate cycles/msec? Do I need to?

> > [...] I can only make it skip by ls -lR'ing my drive [...]
>
> IDE ? are the drivers tuned "correctly" ?

  I turn on using_dma when I'm recording TV shows (otherwise the drive
can't keep up), but otherwise that's off. It was off when I was doing
my tests. What else need I tune?

> > Would it be worthwhile to create a new kernel module for doing a
> > sequencer intermediary? Just an interface to /dev/midi* with
> > timestamps.
>
> don't go there :) sounds like a nice simple step right ? next thing
> you know, you'll have reinvented the ALSA sequencer, [...]

  Should I just ditch my code and use the ALSA sequencer instead of
/dev/midi? I'm just scared that it won't have drivers for my cards:
(es1371, es1370, i8x0 onboard, mpu-ipc-t (mpu401), sb16pnp, dude's
laptop joystick port...)

  Ideally, I need to be able to run my sequencer on whomever's laptop we
have when we're going to do a show. And you know how linux laptops are
always getting re-installed.....

-- 
Billy Biggs                     bbiggs_AT_dumbterm.net
http://www.billybiggs.com/      wbiggs_AT_uwaterloo.ca


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Feb 06 2001 - 19:40:13 EET