News for hackers. Stuff that matters.
Re:Installing VLC Media Player voids your speaker warranty by astral303 on Sunday February 09, 2014 @01:23PM (#7206416)
A square wave has twice the power of a sine wave of identical amplitude.

This is why distorting the amplifiers (especially digital clipping) is so much worse for speakers than overpowering the speakers. This is a very well known fact in audio circles.

Playing metal at full volume is not as damaging as playing anything intensely digitally clipped at full volume.

Yes, Dell is putting on shitty speakers on their laptops, (what else is new), but VLC should be amplifying the output using level-limiting (hard-limiting), which would effectively bring all the quiet parts to be just as loud as the loud parts, instead of just digitally clipping the output.

Re:Installing VLC Media Player voids your speaker warranty by fnordfnordfnord on Sunday February 09, 2014 @01:50PM (#7206551)
>A square wave has twice the power of a sine wave of identical amplitude.

1.41 x

>Playing metal at full volume is not as damaging as playing anything intensely digitally clipped at full volume.

The output of the amplifier really ought to be bandwidth limited either as a natural consequence of the components used or explicitly with a filter. It is silly to spend power on things that can't be heard.

Re:Installing VLC Media Player voids your speaker warranty by gamache on Sunday February 09, 2014 @03:37PM (#7207107)
Assuming the parent is talking about equal maximum amplitude of the sine and square waves, the square wave RMS voltage will be sqrt(2), or 1.4, times the sine wave RMS voltage. And since power is proportional to voltage squared, the square wave will carry sqrt(2)^2, or 2, times the sine wave power.
Re:Installing VLC Media Player voids your speaker warranty by lutusp on Sunday February 09, 2014 @07:39PM (#7208318)
Actually, if we look at two half-cycle waveforms, one sine and one square, like this:

http://i.imgur.com/oE5NFZ9.png

(Just the left 1/2 of the graph for this example)

The integral of the sine waveform with a peak value of 1, on the interval 0 x < pi, is :

http://www.wolframalpha.com/input/?i=integrate%28sin%28x%29%...

= 2

The integral of the square wave on the same interval is = pi

So the ratio increase in average voltage at the speaker (comparing the sine to the square) is pi/2 = 1.57. The increase in speaker power is (pi/2)^2 = 2.46.

Re:Installing VLC Media Player voids your speaker warranty by dpe82 on Tuesday February 11, 2014 @01:30AM (#7216154)
It also assumes a speaker's reactance is purely resistive. It's not.
Re:Installing VLC Media Player voids your speaker warranty by fnordfnordfnord on Sunday February 09, 2014 @07:29PM (#7208261)
Derp, thanks to both for the correction.
Re:Installing VLC Media Player voids your speaker warranty by lutusp on Sunday February 09, 2014 @04:07PM (#7207240)
>> A square wave has twice the power of a sine wave of identical amplitude.

> 1.41 x

Yes, for a voltage of x, but remember that the speaker is a resistance, for which the power varies as x^2/r (Ohm's law: p = e^2/r), So the original claim is correct.

Re:Installing VLC Media Player voids your speaker warranty by malandrew on Sunday February 09, 2014 @02:43PM (#7206802)
Most metal released these days is digitally clipped. Even classic old 80s "remastered" records are digitally clipping all over the place. The loudness wars has ruined most metal through remasters.
Re:Installing VLC Media Player voids your speaker warranty by 72deluxe on Monday February 10, 2014 @05:22AM (#7210141)
Ah yes, the death of dynamics in music! One horrendous offender that I own is Paul McCartney's Memory Almost Full. I think he remastered it and rereleased it but there isn't a chance that I'm spending my money on it again! I think the mastering engineer discovered the joys of gain and hard knee in compressors.
Re:Installing VLC Media Player voids your speaker warranty by KaiserPro on Sunday February 09, 2014 @01:31PM (#7206459)
Its well known if you are over pumping your speakers.

You shouldn't be able to blow up your speakers if your amp, speakers and limiters are setup correctly.

After all, if you're busting out £20k on a set of decent speakers, you don't want to burn them out because your idiot producer "turned it up to 11"

Re:Installing VLC Media Player voids your speaker warranty by coldtea on Sunday February 09, 2014 @02:41PM (#7206786)
>but VLC should be amplifying the output using level-limiting (hard-limiting), which would effectively bring all the quiet parts to be just as loud as the loud parts, instead of just digitally clipping the output.

That's compression, not hard-limiting. Hard limiting would leave the quiet parts quiet relative to the loud parts. It would only crush them if they were not enough dynamics in the first place.

Re:Installing VLC Media Player voids your speaker warranty by astral303 on Sunday February 09, 2014 @04:35PM (#7207379)
So would compression. The implication is that after you hard limit, you also increase the overall volume, such that the limit threshold of -Xdb is now 0db. Otherwise, there is no point to hard limit.
Re:Installing VLC Media Player voids your speaker warranty by guard-of-terra on Sunday February 09, 2014 @01:33PM (#7206466)
I actually never seen VLC clip sound that much on volumes > 100%.

Maybe if your speakers are very quiet and crappy and you have to get every control to 100% (hardware, system, vlc) in order to hear anything - maybe in this case it will.

Hard clipping is very noticeable for the listener so not many people will set it to the maximum if they have choice.

Anyway, you can protect from this either in hardware or in the driver.