Live data from Hacker News

Elevator.js

tholman.com

61–68 of 68 posts

Re: Elevator.js

#61

Who wrote this a 5 year old?! I'm very annoyed about the sudden blaring, jarring music. Got a few angry stares from colleagues. The polite thing to have done would at least put up a notice.

While I dislike websites playing sudden sounds as much as the next guy, it should serve as a reminder to keep your computer muted at all times or have a pair of headphones plugged in when you share office space. If I ever go postal in the open plan office here, then it's going to be over random noise (skype sounds being the worst culprit) escaping someone's unmuted laptop.

> it should serve as a reminder to keep your computer muted at all times or have a pair of headphones plugged in

This is so true... I learned it the hard (embarrassing) way.

Re: Elevator.js

#62
post #61

Earlier quoted context omitted.

While I dislike websites playing sudden sounds as much as the next guy, it should serve as a reminder to keep your computer muted at all times or have a pair of headphones plugged in when you share office space. If I ever go postal in the open plan office here, then it's going to be over random noise (skype sounds being the worst culprit) escaping someone's unmuted laptop.

> it should serve as a reminder to keep your computer muted at all times or have a pair of headphones plugged in This is so true... I learned it the hard (embarrassing) way.

"That awful moment when you're drawing a Powerpuff Girl in the toilets and your phone decides it should restart Test Match Special. Loud."

Re: Elevator.js

#63
post #44

Don't stop re-inventing things! I know there probably are hundreds of those scripts/plugins out there - but this one made me laugh! Well done!

Amen, brother. Some commenters take life too seriously.

Re: Elevator.js

#64
post #23

I know it would ruin the joke, but there should be some notice to turn up your volume. My speakers were muted, so I didn't realize I was missing anything until I saw the HN comments. Definitely made me chuckle once I got the full experience.

It would be nice if there was a way to check the system audio volume via the web audio API. Then you could display a notice only if the volume is too low or too high. Alas, no such functionality currently exists without browser plugins.

As others have stated, that's not necessarily going to do the trick, either. I'll make a huge leap here and guess that you're a primarily laptop user. Don't forget about desktop users.

I use an external amplifier connected through a front-panel IO port. Both the front panel and my amplifier have volume knobs. I don't use the system try to control my levels. I know I'm an odd case, but surely there many people out there with basic integrated speaker setups with volume knobs.

The simplest solution would be to visually indicate to your user as early as possible that your page uses audio. If it is designed to be particularly loud or quiet, you can mention that, too.

Re: Elevator.js

#65
post #31

Earlier quoted context omitted.

it's hardware dependent, but I was ruining my hearing until I realized that in fact I don't need to turn up the volume from those notifications. Ears can work much like eyes do in the dark/quiet and adapt. I wonder what the potential output volume range for unpowered headphones is for the volume set at, say, 40% in windows.

I have some cheap unpowered Sennheiser headphones, and 20% in Windows is plenty loud enough for gaming. At full volume I can have them sitting on my desk and still hear everything clearly :D

Percent of volume says nothing about the line level, which is hardware specific. Since audio jacks were invented before we had industry standards bodies, there is no specification that hardware manufacturers have to meet. Many provide around 1Vpp, or -10dbV, at max volume, but it's going to vary from device to device. The impedance of the headphones are going to affect the SPL as well, and none of it is likely calibrated to any high degree of certainty unless you're buying professional equipment.

Re: Elevator.js

#67

I don't see why you would create a javascript lib for such a simple task, perhaps a jQuery plugin would have been sufficient. Oh wait, it already exists. Perhaps you were just bored?

Maybe he was bored? Should creativity just cease at that moment?
Post reply on HN