Sound: Get energy...

A query to the selected Sound object.

Return value

the energy. If the unit of sound amplitude is Pa (Pascal), the unit of energy will be Pa2·s.


Time range (s)
the time range (t1, t2). Values outside this range are ignored. If t1 is not less than t2, the entire time domain of the sound is considered.


The energy is defined as

t1t2 x2(t) dt

where x(t) is the amplitude of the sound. For stereo sounds, it is

t1t2 (x12(t) + x22(t))/2 dt

where x1(t) and x2(t) are the two channels; this definition ensures that if you convert a mono sound to a stereo sound, the energy will stay the same.

See also

For an interpretation of the energy as the sound energy in air, see Sound: Get energy in air. For the power, see Sound: Get power....

Links to this page

© ppgb, January 29, 2007