Re: real-time threaded IO with low latency (audio)

Ove Ewerlid (Ove.Ewerlid@syscon.uu.se)
Sat, 24 Jul 1999 16:44:43 +0200


David Olofson wrote:
>
> ... about linux ability to perform flanging ...
>
> No, Linux doesn't stand a chance here. RTLinux OTOH, is designed for it.

Linux as it is can perfectly handle flanging at a one sample delay!
If you have flanging with intersignal delays in the range from 1 sample
to 1024 samples the overall delay must be at least 1024 samples to be
able to
implement flanging (adding the signal to itself with a variable delay).

Only if flanging is to be done directly from a microphone to a
loadspeaker
does the problem become interresting iff you need to minimize the delay
the signal spends in the computer. Here you must work very close to the
hardware,
eg, mmap and I do not think RTlinux helps here.

I think flanging is a bad example in this discussion as flanging is not
very CPU-intensive. Try running a 1024 point FIR filter instead :-)

Ove

-- 
Ove Ewerlid
Ove.Ewerlid@syscon.uu.se or Ove.Ewerlid@signal.uu.se
Phone: +46 70 666 23 63, Fax: +46 18 503 611, +46 18 555 096

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/