Atte André Jensen wrote: > echo "csound 0 0 direct" > /proc/asound/card1/pcm0p/oss > > Which produces noisefree audio on the edirol (available still on > /dev/dsp1). But.... The audio is delayed about 1/2 second. Since I > use csound as a realtime synthesizer controlled from midi > keyboards I need as low latency as possible. Any ideas how to > achieve this??? > > I have my eyes on the fragments fragment_size parts of the call, but I > don't know what values to use...
fragments is number of fragments in the buffer. fragment_size is the number of bytes transmitted between two audio interrupts. This must be greater than 16 and a power of two. For low latency, both values should be as low as possible. Try "3 128". If you get underruns, double the second value. HTH Clemens ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user