in reply to Re^2: making something happen in real time
in thread making something happen in real time

If latenecy is your problem, you probably want to patch your kernel to be low latency. Go to Con Kolivas kernel patch , and do groups.google searches for discussion about it. It is widely used for people using their computers for audio work.

But I also agree with sgifford that your should try to streamline your playing of the audio. I would try to put the audio in a format that you can store in memory and write directly to /dev/dsp, the Audio::DSP module works well.


I'm not really a human, but I play one on earth. flash japh
  • Comment on Re^3: making something happen in real time

Replies are listed 'Best First'.
Re^4: making something happen in real time
by bcrowell2 (Friar) on Nov 08, 2005 at 00:59 UTC
    Ah, thanks, I hadn't known about Audio::DSP -- I'll look into that.

    I know that, e.g., the gtick metronome app avoids this problem without the need for a kernel patch. Maybe I'll take a look at that code, although my C++ is weak.