| View previous topic :: View next topic |
| Author |
Message |
Franck C Guest
|
Posted: Mon May 22, 2006 1:14 pm Post subject: Wav sample energy |
|
|
Hello,
I would like to know what does "energy" mean for wav samples.
For a stereo wav 16 bits file, does it mean that sample's energy equals to :
square(Left16bits) + square(Right16bits) ?
Franck |
|
| Back to top |
|
 |
Atmapuri Guest
|
Posted: Mon May 22, 2006 1:14 pm Post subject: Re: Wav sample energy |
|
|
Hi!
| Quote: | I would like to know what does "energy" mean for wav samples.
For a stereo wav 16 bits file, does it mean that sample's energy equals to
:
square(Left16bits) + square(Right16bits) ?
|
That would mean combined energy of left and right channel :)
Regards!
Amtapuri |
|
| Back to top |
|
 |
Thaddy Guest
|
Posted: Thu May 25, 2006 7:14 pm Post subject: Re: Wav sample energy |
|
|
Atmapuri wrote:
| Quote: | Hi!
I would like to know what does "energy" mean for wav samples.
For a stereo wav 16 bits file, does it mean that sample's energy equals to
:
square(Left16bits) + square(Right16bits) ?
That would mean combined energy of left and right channel :)
Regards!
Amtapuri
The way you put the question is rather awkward. Sound energy is normally |
referred to in the context of single frequencies or frequency bands
and can be calculated by means of a (probably FFT) fourier or a discrete
cosine transform transform for example (i.e. from the time domain to the
frequency domain). If you mean a sample like a small piece of music (
i.e.: not a single sound sample as in 1/44.100 for CD quality) you are
most likely referring to overall level. Then again you could be
referring to a sound's density which is equivalent to the first. In all
cases, without further, your formula makes no sense to me  |
|
| Back to top |
|
 |
Franck C Guest
|
Posted: Fri May 26, 2006 1:57 pm Post subject: Re: Wav sample energy |
|
|
Thaddy a écrit :
| Quote: | The way you put the question is rather awkward. Sound energy is normally
referred to in the context of single frequencies or frequency bands and
can be calculated by means of a (probably FFT) fourier or a discrete
cosine transform transform for example (i.e. from the time domain to the
frequency domain). If you mean a sample like a small piece of music (
i.e.: not a single sound sample as in 1/44.100 for CD quality) you are
most likely referring to overall level. Then again you could be
referring to a sound's density which is equivalent to the first. In all
cases, without further, your formula makes no sense to me
|
I have got some precisions : energy is the square of the sound
amplitude. How can I have the sound amplitude ? |
|
| Back to top |
|
 |
Thaddy Guest
|
Posted: Fri May 26, 2006 4:17 pm Post subject: Re: Wav sample energy |
|
|
Franck C wrote:
| Quote: | Thaddy a écrit :
The way you put the question is rather awkward. Sound energy is
normally referred to in the context of single frequencies or
frequency bands and can be calculated by means of a (probably FFT)
fourier or a discrete cosine transform transform for example (i.e.
from the time domain to the frequency domain). If you mean a sample
like a small piece of music ( i.e.: not a single sound sample as in
1/44.100 for CD quality) you are most likely referring to overall
level. Then again you could be referring to a sound's density which is
equivalent to the first. In all cases, without further, your formula
makes no sense to me :)
I have got some precisions : energy is the square of the sound
amplitude. How can I have the sound amplitude ?
Download the pdf from the first page at www.musicdsp.org and look for |
DFT. (There are more usefull tips in there, with sourcecode) |
|
| Back to top |
|
 |
|