Dear ALSA users

Alsa is working fine in real time in full duplex mode,
I mean I can say and hear my speech at the same time
using latency.c provided by alsa with my Delta 44
card. But when I try to do speech processing, I get
wierd background noise with the actual signal.

I am doing

format=SND_PCM_FORMAT_U8
unsigned char *buffer;
buffer[i]=2*buffer[i];

I also tried:-
 
format=SND_PCM_FORMAT_S16_LE
short *buffer;
buffer[i]=2*buffer[i];

But got the same wierd back ground noise.
so can't I directly multiply it, or is there any
special way of processing speech data from the sound
card. I had similar problem with free OSS API.

Any suggestions, I really appreciate your help.

Thanks

regards
Vineet

=====
Yours Truly
Vineet Agrawal
Staff Research Associate III
University of San Francisco (UCSF)
Ph: 415 5024456 (office)      
      864 6504260 (mobile)

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to