Dear Alsa gurus I am using M-Audio Delta-44 Card. I have this card up and running using ICE-1712 module. I am doing speech processing in real time, in other words sending and receiving 64 samples of data at the same time at 11025Hz sampling frequency. I am processing incoming data, e.g doing FFT, peak finding, filtering, generating sine wave for each peak, seperating envelope and pitch, doing gaussian distribution and finally generating an output speech. The latency for this process should be 64*2/11025 = 11.6ms (but some times the no. of samples changes to keep up with the processing, varies from 64 - 90 samples). Even after patching the linux kernel with low latency patches I am getting variable latency.
I am relying on the code from latency.c which gives me time latency but I am not sure if I can rely on that, Now, my question is how can I say for sure how much time has elapsed between the input and the output. is there any other way I can find the time lapse between the input and the output. Also, why the latency is varying for each run between input and output. Would changing the sound card help because I know I can't use mmap with ICE1712. Please let me know, how should I address this problem. Is RTlinux a solution to this, but then I am not sure if ALSA driver will work with that or not. Thanks in advance. ===== Yours Truly Vineet Agrawal Staff Research Associate III University of San Francisco (UCSF) Ph: 415 5024456 (office) 415 3414664 (mobile) __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user