Re: Is there a quick, not much processing time needed, way to make the same volume on a 16 signed int stream in real time?
Hi Jon,
> I don't have enough time to tell you how to exactly accomplish what you
> want--it's actually non-trivial. But the basic process, as has been
> mentioned before, is to create an automatic gain control or compressor
that
> takes into account the frequency sensitivity of the human ear. The gain
> control logic needs to see the signal filtered by something that is
> approximately the ear's response, like say an a-weighting filter.
> If you have a PC, how about just using a compressor software plug-in? I'm
> sure there's some Direct X stuff or something that works in real-time. Or
> do you really want to do this yourself as an educational/hobby project?
What is a compressor? How would it help? I just want some code that makes
both of the wav's I posted sound roughly the same volume in realtime... It
seems like it may be too complicated to be easily done however.
Thanks for the help,
SA Dev
|