BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wav sample energy

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia
View previous topic :: View next topic  
Author Message
Franck C
Guest





PostPosted: Mon May 22, 2006 1:14 pm    Post subject: Wav sample energy Reply with quote



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





PostPosted: Mon May 22, 2006 1:14 pm    Post subject: Re: Wav sample energy Reply with quote



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





PostPosted: Thu May 25, 2006 7:14 pm    Post subject: Re: Wav sample energy Reply with quote



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 Smile
Back to top
Franck C
Guest





PostPosted: Fri May 26, 2006 1:57 pm    Post subject: Re: Wav sample energy Reply with quote

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 Smile

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





PostPosted: Fri May 26, 2006 4:17 pm    Post subject: Re: Wav sample energy Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.