Any useful definition for power or energy in audio signals depends highly on context and application. While you can formally sum the squares of the samples and call it energy, the result isn't really useful for anything. It is NOT

  1. The energy delivered to the speakers
  2. The energy consumed by the amplifier
  3. Energy that the power supply needs to provide or that is drawn of the the wall outlet
  4. Acoustic energy radiated from the speaker
  5. Any measure on how loud it it.

All these are very different things and only loosely correlated. Without a specific goal of what you need "power" or "energy" for, it's difficult to properly define the term.

For example it's very easy to construct two signals, A and B, where A has twice the "energy" of B but is only half as loud as B.

Answer from Hilmar on Stack Exchange
🌐
Aalto University
speechprocessingbook.aalto.fi › Representations › Signal_energy_loudness_and_decibel.html
3.6. Signal energy, loudness and decibel — Introduction to Speech Processing
A commonly used unit for signal energy is decibel (dB). The formula to convert a signal energy value \( \sigma^2 \) to decibels is ... Decibel is thus a logarithmic measure of energy.

Any useful definition for power or energy in audio signals depends highly on context and application. While you can formally sum the squares of the samples and call it energy, the result isn't really useful for anything. It is NOT

  1. The energy delivered to the speakers
  2. The energy consumed by the amplifier
  3. Energy that the power supply needs to provide or that is drawn of the the wall outlet
  4. Acoustic energy radiated from the speaker
  5. Any measure on how loud it it.

All these are very different things and only loosely correlated. Without a specific goal of what you need "power" or "energy" for, it's difficult to properly define the term.

For example it's very easy to construct two signals, A and B, where A has twice the "energy" of B but is only half as loud as B.

Answer from Hilmar on Stack Exchange
🌐
Wikipedia
en.wikipedia.org › wiki › Energy_(signal_processing)
Energy (signal processing) - Wikipedia
1 week ago - {\displaystyle E_{s}(f)} would represent the signal's spectral energy density (in volts2·second2 per meter2) as a function of frequency f (in hertz). Again, these units of measure are not dimensionally correct in the true sense of energy density as defined in physics.
🌐
ResearchGate
researchgate.net › post › Power-and-Energy-of-an-Audio-file
Power and Energy of an Audio file? | ResearchGate
July 17, 2019 - ... It depends on unit of the signal. If the audio signal is measured in V across a resistor of R ohms and current through the resistor is in A, the power is for sure has the unit of Watt and energy of joules.
🌐
MathWorks
mathworks.com › matlabcentral › answers › 309648-how-can-i-calculate-the-energy-of-an-audio-file-audio-signal-that-i-imported-in-matlab
How can I calculate the energy of an audio file (audio signal) that I imported in Matlab? - MATLAB Answers - MATLAB Central
October 28, 2016 - Anyway, you should check if you really want the energy of the discrete signal then you should look for: ... That Parseval's theorem states will be equal to "sum(f.^2)". ... Hope this help. ... Sign in to comment. Sign in to answer this question. Signal Processing Audio Toolbox Simulation, Tuning, and Visualization
🌐
Stanford CCRMA
ccrma.stanford.edu › ~jos › st › Signal_Metrics.html
Signal Metrics
Power, in contrast, is a temporal energy density. The root mean square (RMS) level of a signal \(x\) is simply \(\sqrt{\Pscr_x}\). However, note that in practice (especially in audio work) an RMS level is typically computed after subtracting out any nonzero mean value.
Find elsewhere
Top answer
1 of 4
2
Garima, I'm not sure how you are determining the frequency range or what kind of equipment you have to measure the frequencies or sound output. The answer to you question will depend on if you are measuring the sound 3, 4, 5 and 6 Hz independently or whether you have a sound source that is the sum of the frequencies in the range you have specified. There are easy answers to your question depending on what you want to specify, where the sound is being measured, the altitude and humidity etc.  I'm going to assume that you somehow determined that you have a sound that you determined is composed of the specified frequencies. I am guessing that you have some sort of microphone that you can place at either the source of the sound or at whatever distance from the source needed to determine the sound 'energy'. Given this you have a few options. If you have a meter that measures the output of the microphone (typically a sound level meter that measure the output in decibels) and weights the levels according to the frequency content of the sound. If so then most would use a weighting of DbA to determine the sound pressure level. If not then the issue becomes more complicated and you are going to have to read the output from the microphone from some kind of instrumentation like an oscilloscope where you can measure the microphone output in voltage. You will need to compare the output of the microphone to a reference source (typically the sound that can just be heard in a very quiet room. In measures of Sound Pressure Level (SPL) this is typically 20 µN/m squared. Using this reference level the definition of sound pressure level (SPL) is = 20 log P/.00002 re 20 micronewtons / meter squared where P is the root -mean square sound pressure in newtons / meter squared for the sound you have. You can look up the dB level in tables just for this purpose.  If all of this is far more complicated that you care to research, fined a sound pressure level meter that can measure decibels with an A weighting or for each of the frequencies in your range…… The instrumentation will give you the energy in your spectrum in decibels.  Have a good day, Mill
2 of 4
2
I agree with the rather detailed answer of Dr  Millard F. Reschke.
🌐
ScienceDirect
sciencedirect.com › topics › engineering › short-time-energy
Short-Time Energy - an overview | ScienceDirect Topics
The energy of a signal is the square of the amplitude represented by the waveform. The power of a sound is the energy transmitted per unit time (second) [35]. Consequently, power is the mean-square of a signal. Sometimes the root of power (root-mean-square, RMS) is used in feature extraction.
🌐
Stack Overflow
stackoverflow.com › questions › 68339497 › how-to-find-energy-function-of-an-audio-file
python 3.x - How to find energy function of an audio file? - Stack Overflow
I want to find the rms energy of frames with a 20ms window. ... If you hope to get an energy function f(n) from the signal s(n) -- the louder the signal is then the more the energy, then you may take a look at https://musicinformationretrieval.com/energy.html
🌐
Medium
vtiya.medium.com › power-energy-and-spectrum-in-speech-22cb0cbd1faf
Power , Energy and Spectrum in speech. | by Dr.Tiya Vaj | Medium
August 26, 2023 - Power , Energy and Spectrum in speech. Energy could refer to the total energy contained in a sound wave or a vocal performance. Power, on the other hand, might relate to how quickly the vocal cords …
🌐
Aalto University Wiki
wiki.aalto.fi › display › ITSP › Signal+energy,+loudness+and+decibel
Signal energy, loudness and decibel - Introduction to Speech Processing - Aalto University Wiki
January 11, 2021 - A commonly used unit for signal energy is decibel (dB). The formula to convert a signal energy value \( \sigma^2 \) to decibels is \[ 10\,\log_{10}\sigma^2. \] Decibel is thus a logarithmic measure of energy.
Top answer
1 of 2
1

It seems to me that the energy carried by a sound wave should be proportional to frequency squared.

Why? What makes you think that this is the case ?

But in DSP they are all considered to have the same signal energy (integral of x(t) squared)

The concept of associating power or energy with a a digital signal is somewhat tricky. Digital signals are just a bunch of numbers so assigning actual physical properties to them doesn't really work unless you carefully define the context.

Mostly the concept is used assuming that the digital signal is an accurate representation of an analog signal that has actual physical properties. If this relationship is well defined and constant you can compare the sum-of-squares of two different digital signals and draw some conclusions on the energy difference of the actual analog situations. However, that really requires "all things being equal" and there are actually a lot of things that need to be equal for this to hold.

STEP 1: basic physics of power

Power, intensity or energy are typically defined or calculated as the product of two field quantities (not one). In electricity power is defined as the product of of voltage and current. Simple example: if your signals were defined as "voltage over a one Ohm resistor", than you can indeed calculate the power by summing the squares and it would be the same power for all of your three examples since the current is proportional to the voltage.

If it were the voltage over an ideal inductor or capacitor then the answer would be wrong. Average power over one of these would be zero in all cases. For an ideal inductor voltage and current are 90 degrees out of phase and the average power is therefore zero.

STEP 2: physics of sound

The two field quantities that make up a sound wave are sound pressure and particle velocity. First you need to define which one your digital signal actually represents. Most of the time it's pressure but many second order microphones (cardioid, dipoles) will create a signal that's proportional to the particle velocity. If you are far enough away from the sound source than pressure and velocity are in-phase and proportional to each other and the proportionality factor is the free field impedance of air (density times speed of sound). In this case you can actually calculate the intensity at the microphone position by simply squaring and scaling. If you are close to a sound source that doesn't work anymore and you actually need to measure both signals.

As others have said: per it's physical definition sound can't exist at 0 Hz. Sound pressure is a variation of pressure around a steady-state average and if there is no variation there is no sound.

Step 3: human perception

Sound energy and perceived loudness are only loosely related. Human perception is very dependent on frequency and its quite non-linear. Building good loudness models is quite difficult. Simple example: 1 Watt of sound at 1kHz radiated into a typical residential room would extremely loud and quite painful. At 50 kHz it would be utterly inaudible, even though it's the exact same amount of physical sound power.

2 of 2
0

your complete system, if you wanna consider your ear another microphone with it's own preamp is:

$\qquad \qquad x(t) \rightarrow$ loudspeaker $\rightarrow$ air $\rightarrow$ microphone

both the loudspeaker and microphone are transducers that convert between an electrical signal and an acoustic wave. as components, both of those devices have no gain (that is $-\infty$ dB) at DC. that is they're transfer function at DC is zero:

$$ H(j\omega) \Bigg|_{\omega=0} = 0 $$

$x(t) = \tfrac{1}{\sqrt{2}}$ is a purely DC signal. if you applied it to a resistor, energy would be transferred and dissipated in the resistor. but applied to a loudspeaker, all that does is move the piston away from its equilibrium position without wiggling it and generating an acoustic wavefront, which is what loudspeakers, as transducers, are supposed to do.

🌐
Encyclopedia Britannica
britannica.com › science › signal-energy
Signal energy | sound | Britannica
The term signal energy indicates that the electrical energy has a specific form, corresponding, for example, to speech, music, or any other signal in the range of audible frequencies (roughly 20 to 20,000 hertz).…Read More
🌐
Wlu
erickson.academic.wlu.edu › files › courses2020 › sigproc_s2020 › readings › Kaiser-IEEE19990.pdf pdf
On a simple algorithm to calculate the 'energy' of a signal
cess that generated this signal; this energy nieasure is equal to the · product of the square of the amplitude and the square of the fre-
🌐
ScienceDirect
sciencedirect.com › topics › engineering › audio-signal
Audio Signal - an overview | ScienceDirect Topics
The fundamental frequency is usually the lowest frequency component of the signal; it represents the vibration frequency of the vocal cords during sound production. The formant is a concentration of acoustic energy around a particular frequency in the speech wave; each formant corresponds to ...
🌐
Stack Exchange
physics.stackexchange.com › questions › 630927 › how-do-i-find-the-energy-of-sound-from-audacity
acoustics - How do I find the energy of sound from Audacity? - Physics Stack Exchange
April 21, 2021 - So, given nature of your project I would either connect small speaker on Arduino or buzzer to battery, measure current and voltage using multi-meter, and calculate power used, and say, that this is energy of sound waves. I would put microphone directly next to reference speaker/buzer and calibrate scale in audacity in units of pressure amplitude (can be calculated back from power used to drive speaker). Then I would found the lowest frequency of your sound (generally is the loudest) and assume, that you have only signal of that frequency, and calculate energy from frequency and pressure amplitude.