The first thing that I would suggest is making any test tones be wavs, not mp3s, in order to not have to worry about encoding issues.

Beyond that, you're over my head.
_________________________
Bitt Faulk