Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: making something happen in real time

by zentara (Archbishop)
on Nov 07, 2005 at 13:49 UTC ( [id://506337]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://506337]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-16 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found