DSPRelated.com
Forums

Fwd: Re: Re: McBSP0 problem

Started by tArAng December 5, 2003



Note: Forwarded message attached

-- Orignal Message --

From: "chassaing" <c...@msn.com>
To: "tArAng" <t...@rediffmail.com>
Subject: Re: Re: [c6x]McBSP0 problem

Tarang Dadia
Graduate Student
Wireless Networking Lab
University of Texas at Arlington.
From:  "chassaing" <>
Date:  (Date Unavailable)
Subject:  Re: Re: [c6x]McBSP0 problem
To:  "tArAng" <>

Hi:
 
If you are trying to detect when speech is present, you need to set a threshold within your program.  When the speech level reaches that treshold, then you can proceed in your program (with speech present). 
 
Where are you from? Are you familiar with my book on the C6x?  What is your platform?
 
Rulph Chassaing
----- Original Message -----
From: tArAng
To: c...@yahoogroups.com
Sent: Wednesday, December 03, 2003 1:59 PM
Subject: Re: Re: [c6x]McBSP0 problem

can u give us more detail about what are the approximate values of the junk data that u r getting... i mean wht voltage level it corresponds to...Tarang Dadia
Graduate Student
Wireless Networking Lab
University of Texas at Arlington.

On Wed, 03 Dec 2003 sachin T wrote :
>Hi Tarang,
>
>    u r right in whatever u have told..but th eproblem is when I am taking th einput samples thru MIC in,even in total silence the sample values read by codec and McBSP are not zeroes but have some amplitude.this could be the DC bias,but sometimes if I dont connect anything to MIC in n try to read from it,it gives junk instead of zeroes..i want to know how to set the codec or the McBSP so that my input samples are zeroes when th eMIC in is left open....
>
>Thanks,
>Sachin>> From: "tArAng" <t...@rediffmail.com>
>>Reply-To: "tArAng" <t...@rediffmail.com>
>>To: c...@yahoogroups.com
>>Subject: Re: [c6x]McBSP0 problem
>>Date: 2 Dec 2003 19:02:47 -0000
>>
>>Hi sachin,
>>
>>What i assume from your mail is that you want to calculate the amount of threshold level in first 1 sec so that the code interprets it as zero voltage or no noise.
>>
>>whenever you reman silent there still is some input to mic that is  noise present in the room and that corresponds to the junk u see in DRR.
>>
>>I assume, the only reason u r watching the first second is to fix what the threshold level will be rite ?( by averaging it over 1 sec) .. so you can essentially subtract this average value from all your incoming samples and that will give you approximately zero voltage when you dont speak thru mic..
>>
>>Regards
>>
>>Tarang Dadia
>>Graduate Student
>>Wireless Networking Lab
>>University of Texas at Arlington.
>>
>>
>>On Sat, 29 Nov 2003 sachin T wrote :
>> >Hi,
>> >
>> >    I am using EVM 6701,I am reading the input through the MIC in of the
>> >EVM(Its codec is CS4231).. I am using the first 1 sec of input speech to
>> >calculate the threshold..and during that time I dont speak anything..I read
>> >the incoming data into a buffer using the DMA whose source is
>> >McBSP(DRR)..now my problem is..I was assuming if i stay silent the codec
>> >will have zeroes as the values for my input..but even when I am silent the
>> >data read has some junk values....this cud be whatever previous value that
>> >is their in DRR....can anyone tell me how do I reset the DRR to make it zero
>> >and also take care that the code gives zero amplitude values whenevr I dont
>> >speak thru MIC in...
>> >
>> >Sachin
>> >
>> >_________________________________________________________________
>> >Add photos to your messages with MSN 8. Get 2 months FREE*.
>> >http://join.msn.com/?pageatures/featuredemail
>> >
>> >
>> >
>> >_____________________________________
>> >Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.
>> >
>> >_____________________________________
>> >About this discussion group:
>> >
>> >To Join:  Send an email to c...@yahoogroups.com
>> >
>> >To Post:  Send an email to c...@yahoogroups.com
>> >
>> >To Leave: Send an email to c...@yahoogroups.com
>> >
>> >Archives: http://www.yahoogroups.com/group/c6x
>> >
>> >Other Groups: http://www.dsprelated.com
>> >
>> >
>> >
>> >
>> >
>>
>>
>>Argue about your limitation and sure enough they are yours
>
>_________________________________________________________________
>Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid963
>

Argue about your limitation and sure enough they are yours

inbox.htm@Bottom
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  Send an email to c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com


">Yahoo! Terms of Service.