News for hackers. Stuff that matters.
Re:Scroll Slow. Have Fun by Aardwolf on Thursday January 08, 2015 @10:59AM (#8856930)
This somehow manages my monitor to make a high pitched sound. It's an LCD monitor. It's the actual monitor making the sound. Switching to a different window or tab makes the sound top. Taking a screenshot of the tab, and closing the tab but viewing the screenshot, produces the sound.
Re:Scroll Slow. Have Fun by drivers99 on Thursday January 08, 2015 @11:47AM (#8857209)
"Some surface-mount capacitors exhibit acoustic noise when operated at frequencies in the audio range." [1]

I see that this screen has alternating black and white lines. I count 43 black lines on my monitor. Assuming 60 Hz refresh rate, that is 2580 Hz in terms of the pixels being off or on, which is a perfectly audible frequency. Even with 120 Hz refresh rate, that would be 5160 which is still easily audible. Without knowing anything else, I guess that there may be a capacitor somewhere that is charging and discharging along with the brightness of the screen as it is refreshed from top to bottom, which is causing it to flex in a way that produces an audible noise.

I am curious is Aardwolf can produce different frequencies by varying the width (and therefore the quantity) of black and white lines on the screen. If so, you should be able to play some music on it.

[1] http://www.edn.com/design/components-and-packaging/4364020/R...

Re:Scroll Slow. Have Fun by trishume on Thursday January 08, 2015 @06:24PM (#8859728)
I mocked up a quick JS canvas page that varies the bar width and I do indeed hear the tone changing:

http://thume.ca/screentunes

I also put some ideas on the Github Readme including using feedback from the microphone to calibrate a width->pitch mapping to play music using your screen.

Re:Scroll Slow. Have Fun by marek995 on Friday January 09, 2015 @09:45AM (#8862390)
Hey, I forked your repo and added tuning, so that everyone can adjust it for their display

http://genabitu.github.io/screentunes/

Maybe I'll get to get it play music (a json with timings and notes would suffice, I suppose?)

Re:Scroll Slow. Have Fun by mistercow on Friday January 09, 2015 @01:28AM (#8861022)
You shouldn't even need the microphone. Assuming that doubling the line frequency doubles the audio frequency, you can play music by just choosing a note to call "A" and varying the frequency from there. It won't be in tune, but that doesn't really matter.
Re:Scroll Slow. Have Fun by marek995 on Friday January 09, 2015 @04:40PM (#8864705)
Hey, I have done some work on my fork, and now it plays NYAN CAT (didn't have any better idea...)

http://genabitu.github.io/screentunes/

You have to calibrate it before it starts playing.

Re:Scroll Slow. Have Fun by aw3c2 on Friday January 09, 2015 @08:02AM (#8862038)
Please make a Show HN post. Also prepare for a lot of hits from the random internet. This is amazing.
Re:Scroll Slow. Have Fun by korethr on Thursday January 08, 2015 @08:46PM (#8860277)
I can hear the result of this, but it's barely audible, and only near the top of the range, at bar widths thinner than the OP.

I'll have to find some other monitors to test this on. It would be awesome if there were some commplace model that's relatively loud for a wide pitch range. Said model might then be useful for musical hacks in the same vein as driving the stepper motors in old floppy drives.

Re:Scroll Slow. Have Fun by marek995 on Friday January 09, 2015 @07:28AM (#8861947)
Hey! For me, this produces sound for the whole range of heights/frequencies! It plays a bit more silent for high frequencies, but for the lowest ones, the sound is quite loud (given it's produced by a screen...) and I think, it could easily go for an even lower pitch. I am using a modified SyncMaster 203B (I replaced some of the electrolytic capacitors after the lighting ceased to work, so that may be it...)
Re:Scroll Slow. Have Fun by trishume on Friday January 09, 2015 @07:49AM (#8862007)
My monitor plays the whole range as well, that's what I calibrated the height sweep to.
Re:Scroll Slow. Have Fun by ColinDabritz on Thursday January 08, 2015 @07:54PM (#8860088)
Neat. I don't notice anything/much for most of the cycle, but somewhere in the middle I can hear a brief "zwip" rising tone, for part of a second. I happen to have three "identical" monitors, and it's similar on each one, although I believe I can hear the tone for a somewhat longer range on one of them.
Re:Scroll Slow. Have Fun by virtualswede on Thursday January 08, 2015 @10:54PM (#8860665)
I can verify that I hear noise from this on my Macbook Air, faintly, and it also creates a buzzing sound on my iPhone 5s!
Re:Scroll Slow. Have Fun by sreejithr on Friday January 09, 2015 @12:09AM (#8860870)
I'm on a Macbook Pro. Can't hear anything. Sad :(
Re:Scroll Slow. Have Fun by JoshTheGeek on Friday January 09, 2015 @06:49AM (#8861810)
Also on an older iPad
Re:Scroll Slow. Have Fun by Theodores on Thursday January 08, 2015 @08:18PM (#8860173)
I enjoyed that. no noise on my chromebook will try on big monitor in the morning.
Re:Scroll Slow. Have Fun by maaarghk on Friday January 09, 2015 @10:34AM (#8862603)
That's so cool! I can hear it on my Nexus 5 if I put it right up to my ear!
Re:Scroll Slow. Have Fun by drivers99 on Thursday January 08, 2015 @09:52PM (#8860474)
Awesome! I can hear it perfectly on one monitor at home, but not the other.
Re:Scroll Slow. Have Fun by elwell on Friday January 09, 2015 @01:47AM (#8861052)
This is amazing. Yes, add a song or I will.
Re:Scroll Slow. Have Fun by userbinator on Thursday January 08, 2015 @12:18PM (#8857416)
If so, you should be able to play some music on it.

Also makes for a nice covert channel... similar tricks with "listening" to the noises a computer makes have been shown to be possible to use for extracting information like encryption keys:

https://news.ycombinator.com/item?id=6927905

Re:Scroll Slow. Have Fun by hamiltonkibbe on Thursday January 08, 2015 @12:56PM (#8857715)
Inductors do this as well. The changing magnetic field causes the windings to vibrate, creating an audible sound. The sound my work monitor makes sounds like an inductor to me.
Re:Scroll Slow. Have Fun by matthewmcg on Thursday January 08, 2015 @02:18PM (#8858283)
Right--or more commonly the cores of old power transformers will softly buzz at 60 hz.
Re:Scroll Slow. Have Fun by hamiltonkibbe on Thursday January 08, 2015 @06:32PM (#8859757)
You'll find it a lot in switching DC-DC converters as well. The pass inductors that help filter out the switching frequency can make quite a bit of noise, especially at higher loads.
Re:Scroll Slow. Have Fun by ajcarpy2005 on Thursday January 08, 2015 @05:35PM (#8859494)
My dimmable touch lamp makes an annoying high-pitched sound that is loudest on the dimmest mode. I searched for an explanation and apparently some light bulbs have filaments that are flimsy or light-weight enough that they vibrate audibly.
Re:Scroll Slow. Have Fun by jloughry on Friday January 09, 2015 @05:12PM (#8864824)
The power supply on the old Apple II "chirped" when switched off. I always understood it to be the oscillator decaying down from 20 KHz to DC in half a second or so.
Re:Scroll Slow. Have Fun by ashmud on Thursday January 08, 2015 @12:08PM (#8857350)
Zooming in and out does produce different audible frequencies on my screen.
Re:Scroll Slow. Have Fun by lultimouomo on Thursday January 08, 2015 @04:43PM (#8859212)
Something quite different, but it reminds me of Tempest for eliza: http://www.erikyyy.de/tempest/

That was a cool hack!!

Re:Scroll Slow. Have Fun by stygiansonic on Thursday January 08, 2015 @02:38PM (#8858408)
I'm getting this as well, on an older dell 2407wfp.

Zooming in (i.e. making the width greater) results in a lower-pitched sound.

Zooming out (i.e. making the width narrower) results in a higher-pitched sound.

Great catch/explanation of this anomaly.

Re:Scroll Slow. Have Fun by mentos on Thursday January 08, 2015 @01:19PM (#8857873)
reminds me of how top gear was able to do similar with an F1 Engine https://www.youtube.com/watch?v=5BaR1Kc62Pk
Re:Scroll Slow. Have Fun by userbinator on Thursday January 08, 2015 @11:52AM (#8857236)
It doesn't happen to mine but I can see how it could - the liquid crystal is driven with a high-frequency signal whose voltage basically corresponds to the intensity of the pixel, and when images containing repetitive content are displayed, that signal will follow the content of the image; the current that drives the display also follows that signal, and if the signal contains frequencies that happen to excite resonances in the audible range in some components of the hardware, you can hear it.

http://en.wikipedia.org/wiki/Coil_noise

http://www.ukgamingcomputers.co.uk/capacitor-squeal-coil-whi...

http://electronics.stackexchange.com/questions/34806/what-mi...

Re:Scroll Slow. Have Fun by phaker on Thursday January 08, 2015 @11:57AM (#8857274)
It's because of these horizontal bars, you can get the same effect with similar graphics:

All video interfaces we use transmit data serially, line by line, pixel by pixel. The bars are 16px tall (black + white) so at 60Hz and 1920×1080px they'll produce a tone with fundamental frequency of 4.05kHz (60Hz × 1080 lines / 16 lines) and harmonics.

Re:Scroll Slow. Have Fun by tlrobinson on Thursday January 08, 2015 @11:08AM (#8856984)
This is way more fascinating than the site itself...
Re:Scroll Slow. Have Fun by HCIdivision17 on Thursday January 08, 2015 @02:30PM (#8858353)
I'll confirm a tone shift on an HP ZR2740w as well. It's quiet, and I have to put my ear to the back of the monitor to notice as I alt-tab the window. But it's certainly there.

(I'm trying to get a recording, but I work in a plant and it's a bit full of white-ish noise...)

Re:Scroll Slow. Have Fun by dfragnito on Thursday January 08, 2015 @11:26AM (#8857079)
May be your age. Higher pitched frequencies are often heard by you youngsters but not us old folk.
Re:Scroll Slow. Have Fun by JackuB on Thursday January 08, 2015 @11:50AM (#8857222)
Can confirm same high pitched sound on 27 iMac.

Plus: open developer toolbars, find styles for .bars, change margin-bottom and sound changes frequency.

Re:Scroll Slow. Have Fun by alextgordon on Thursday January 08, 2015 @11:18AM (#8857032)
Damn you for making me look like a fool with my ear up against the screen.

(No sound here)

Re:Scroll Slow. Have Fun by tricolon on Thursday January 08, 2015 @12:12PM (#8857376)
Same here on my Monoprice 27" IPS LED monitor: http://www.monoprice.com/Product?p_id=10489
Re:Scroll Slow. Have Fun by thepumpkin1979 on Thursday January 08, 2015 @11:47AM (#8857213)
Does this work for for anybody on MBP or Retina displays? I tried mouse-wheel, trackpad and scroll bar, can't hear anything. anybody?
Re:Scroll Slow. Have Fun by michaelchum on Thursday January 08, 2015 @12:24PM (#8857470)
Nothing for me either with a rMBP
Re:Scroll Slow. Have Fun by ashmud on Thursday January 08, 2015 @12:02PM (#8857310)
Same on my work LCD. Dell E207WFP.

I also tried test patterns at http://www.lagom.nl/lcd-test/ and http://www.testufo.com/. None of those made caused my screen to make an audible sound.

Re:Scroll Slow. Have Fun by pandringa on Thursday January 08, 2015 @11:37AM (#8857152)
Same sound here - only on my external monitor though, not on my MBP's own screen.
Re:Scroll Slow. Have Fun by poopchute on Thursday January 08, 2015 @11:34AM (#8857135)
My monitor also makes a high pitched noise. Sony KDL-32EX400 (using HDMI connection). Neither of my other monitors produce the noise (VGA, & Displayport connections if it matters)
Re:Scroll Slow. Have Fun by aw3c2 on Thursday January 08, 2015 @11:05AM (#8856961)
Same here, I first thought it was the gfx card's capacitors. They usually like doing that when I use things with pixel shaders (obviously a different thing but it reminded me).
Re:Scroll Slow. Have Fun by _sigma on Thursday January 08, 2015 @01:05PM (#8857774)
Furmark always does it to my cards. Perhaps of interest. http://www.hardwarecanucks.com/forum/hardware-canucks-review...
Re:Scroll Slow. Have Fun by fauria on Thursday January 08, 2015 @11:07AM (#8856980)
Same here on a MBP.
Re:Scroll Slow. Have Fun by lukashed on Thursday January 08, 2015 @11:29AM (#8857096)
Mine doesn't (Retina without ghosting).

Though, when scrolling on the site, _something_ (it's not the screen) is making weird noises, almost like the sound when accessing a HDD. I have an SSD though.

I had the same issues with other sites / applications when scrolling in general as well. Even more noticeable with the MacBook Air I had before. Is there any rational explanation for this?

Re:Scroll Slow. Have Fun by userbinator on Thursday January 08, 2015 @12:03PM (#8857318)
The first thing to know is that the power consumption of modern CPUs varies hugely between idle and full-speed; from a few watts to several dozen.

When you are just looking at the screen, and the machine is otherwise idle, the CPU is not doing much, so it goes into low-power low-frequency mode and "sleeps" until some event occurs. When you put fingers on the trackpad and scroll, it sends an "interrupt" to the CPU, telling it that a scroll event has occurred; in a few microseconds the CPU goes from idle to full power to process that scroll event, then goes back to sleep again. The GPU might also be involved in the same way. Every little scroll movement results in an interrupt, so when you are scrolling at a constant rate interrupts occur at a fixed frequency, and the system is going from idle to full power many times a second. The pulses of power draw that this creates, happening at audible frequencies, causes various components like inductors and capacitors to emit sound.

Re:Scroll Slow. Have Fun by chc on Thursday January 08, 2015 @11:58AM (#8857278)
I used to have a computer that did that a long while back. It made a whistle whenever I'd scroll. IIRC I decided it was the video card, though I'm not sure I ever confirmed it.
Re:Scroll Slow. Have Fun by danielweber on Thursday January 08, 2015 @11:17AM (#8857024)
I've got a MacBook Pro, but slightly older, and I'm not hearing it. Mine still has the ghosting issue, which makes me wonder if that issue is stopping this issue.
Re:Scroll Slow. Have Fun by knd775 on Thursday January 08, 2015 @11:30AM (#8857107)
Mine too. What is this sorcery?
Re:Scroll Slow. Have Fun by frik on Friday January 09, 2015 @10:48AM (#8862677)
I recently tested my new TFT (TN-panel) monitor with a monitor test application, and noticed an high pitched sound on a very specific blue line pattern too. I turned down the brightness from 100% to 80% and that reduced it.
Re:Scroll Slow. Have Fun by monochromatic on Thursday January 08, 2015 @11:16PM (#8860719)
I have two identical monitors. One of them makes a high pitched sound on this page, and the other is perfectly fine.

Weird.