Hello,
We're working on integrating the AAC library into one of our products, but many of the output files have several beeps in them. Beeps tend to occur at the start of the file, and when a word is spoken after a short pause and are centered around 3200 Hz. Some occurrences result in a series of beeps. I am running CCSv3.3 with CGTv4.3.6 and AAC encoder 1.00.00.003 production. This has been tested using the example TestAppEncoder on data with a sample rate of 8000. I've tried all bit-rates from 8000 to 40000 with little luck. A bit-rate of 8000 resulted in output without beeps, but the sound quality does not meet the needs of the project. All other bit-rates yielded output that still contained beeps.
I also tried hard-coding different sample rates into the example program (12000 and 16000), which resulted in files without beeps. Of course at the higher sample rates the input is sped up and barely intelligible once encoded, but it leads me to suspect that there is an issue with encoding files with a sample rate 8000.
Another interesting data point is the output bit-rate. Though I have specifically configured a bit-rate in the TestVecs.cfg file, the resulting file rarely matches that bit-rate exactly. 8 kHz input configured for 8 kbps results in 9 kbps output, and continues in a similar progression for each bit-rate configuration (one additional kbps for every eight). So configuring for 40 kbps results in 45 kbps output. I've tested various combinations of sample rate and bit-rate, and the only combination that resulted in the expected bit-rate was 16 kHz configured for 8 kbps.
I'd like to get this working with 8 kHz input at a bit-rate better than 8 kbps. Is this possible? What might be causing the beeps in the output? Any suggestions would be helpful.
Thanks,
James