On Sat, 12 Dec 2009 16:12:43 -0600, gct wrote:
> I've got some signed audio data (16 bit so -32768-32767) and I'd like to
> calculate a dynamic range figure for it, but obviously taking the
> logarithm of a negative number is a no-no, but neither shifting the
> scale so everything's positive or absolute value seem right to me. Is
> there a 'correct' way to do this?
What dynamic range?
In radio practice the dynamic range is the ability for a receiver to pick
out a small signal in the presence of one or more large nearby signals; a
receiver with a really large dynamic range would be one that you could
site right next to a high-power transmitter yet still hear signals from
across the world on flea-power transmitters.
Others may specify dynamic range to be the difference between the
quietest passages in a signal vs. the loudest -- I think this is what you
mean, and if it's audio then you want to shape your test to the
psychoacoustics involved.
Even with audio the term 'dynamic range' may mean something different --
a more 'radioish' use of the term would be reproduction that's so good
you can hear the valves of the oboe clacking*, or the guitarist's fingers
squeaking on the strings (or the traffic noise outside the studio, as
they found on some of the Beatles master tapes).
* Which led to an irritating fad in classical music recording for a while
-- 'sound so good you can hear the keys clacking' was supposed to mean
'when the clacking is really, really quiet', but someone with small
imagination must have said "Oh they want to hear clacking? We'll give
'em clacking". So all of a sudden you started hearing pieces where they
were obviously miking the wind players' keys, and the conductor's feet,
etc. It seems to be dying down, mercifully.
--
www.wescottdesign.com