This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Audio part in DM6446 demo

Hey group,

I am a newbie of TI audio.

When I ran DM6446 /dvevm_1_20/demos/encode program, I saw the raw audio data is saved in 'short *rawBuffer' in file speech.c
What is the data inside 'rawBuffer'? Is it the amplitude of the audio? What is the data range of 'rawBuffer'? From my test, the data ranges from -32767~32767, so basically it is the 'short' type range. But when I made a low noise to microphone, the data of 'rawBuffer[i]' will reach the max value of 32767 easily. So how can I threshold the low and high volume.

From my experience of Matlab ( y = wavread('filename.wav') ), the amplitude is -1.0~1.0 for audio data.