[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Obtain actual volume of sample being played



Wyatt Olson wrote:
I would want to be able to return an approximation of the actual dB value at the given time.

This is getting into the realm of signal processing, and
is outside the scope of an audio output library, whose
purpose is just to produce sound, not analyse it.

I think you'll have to do some processing of your own
on the sound waveform. I'm not aware of anything in
the pygame mixer that will do this.

--
Greg