<< Chapter < Page | Chapter >> Page > |
The sample rate on the 6-channel DSP boards is fixed at kHz, so decimate by a factor of to achieve the sample rate of kHz, which is more appropriate for speech processing.
Compute the autocorrelation or
autocovariance coefficients of
-sample blocks of input samples from a function
generator for time shifts
(
The next step is to use a speech signal as the input to your system. Use a microphone as input to the original thru6.asm code and adjust the gains in your system until the output uses most of the dynamic range ofthe system without saturating. Now, to capture and analyze a small segment of speech, write code that determines the startof a speech signal in the microphone input, records a few seconds of speech, and computes the autocorrelation orautocovariance coefficients. The start of a speech signal can be determined by comparing the input to some noise threshold;experiment to find a good value. For recording large segments of speech, you may need to use external memory. Refer to Core File: Accessing External Memory on TI TMS320C54x for more information.
Finally, incorporate your code which computes autocorrelation or autocovariance coefficients with the code which takesspeech input and compare the results seen on the oscilloscope to those generated by MATLAB.
In order to implement the Levinson-Durbin algorithm, you
will need to use integer division to do
Step 1 of the
algorithm. Refer to the
Applications
Guide and the
subc
instruction
for a routine that performs integer division.
Notification Switch
Would you like to follow the 'Dsp laboratory with ti tms320c54x' conversation and receive update notifications?