Back again,while am working in getting about 8KHZ voice sample, i heared that i can use ADCC componenet which include the function called ADCC.setSamplingRate(5) which proved about 8333hz sampling, i modified the XsenesortMTS300 voice packege and include that thing. Now i get code with setting the transmission rate about 50mSecond = 0.05 Second, so i can get data with good rate to be concatenated in PC as one stream then converted using a raw PCM to wav utility, to hear the results. But i think i have some wrong with reciving the 8khz sample or the sending rate is not suitable for what am doing. The wrong may be in :1) Dealing with the timing part & if i have to use array to collect data then send it as one sample each. ---call Timer.start(TIMER_REPEAT, 50);--- or/and 2) With how to made the data sampled direct using built in ADC call. -- MicADCControl.setSamplingRate(5);-- i included my codes the TestSensor.nc & TestSensorM.nc so that if anybody can help me in testing them or see how to modify them to samplecorrectly with good transmission rate to do what i talked about above. and i will be very thankf full for u all.
With My Regrads;
Mosab I. Messad
_________________________________________________________________
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack
now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
TestSensorM.nc
Description: Binary data
TestSensor.nc
Description: Binary data
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
