Comment author: gjm 12 April 2012 08:49:51PM 7 points [-]

I just tried some experiments and I find that if I take Brahms's lullaby (which I think is the one Eliezer means by "Lullaby and Goodnight") and flatten a couple of random notes by a quarter-tone, the effect is in most cases extremely obvious. And if I displace each individual pitch by a random amount from a quarter-tone flat to a quarter-tone sharp, then of course some notes are individually detectable as out of tune and some not but the overall effect is agonizing in a way that simply getting some notes wrong couldn't be.

I'm a pretty decent (though strictly amateur) musician and I'm sure many people wouldn't find such errors so obvious (and many would find it more painful than I do).

Anyway, I'm not sure what our argument actually is. The chapter says, in so many words, that Q. is humming notes "not just out of key for the previous phrases but sung at a pitch which does not correspond to any key" which seems to me perfectly explicit: part of what makes the humming so dreadful is that Q. is out of tune as well as humming wrong notes. And yes, the ability to sing accurate quarter-tones is rare and requires work to develop. So are lots of the abilities Q. has.

(Of course that doesn't require that the wrong notes be exactly quarter-tones.)

Python code snippet for anyone who wants to do a similar experiment (warning 1: works only on Windows; warning 2: quality of sound is Quirrell-like):

import random, time, winsound
for (p,d) in [(4,1),(5,1),(7,3),(None,1), (4,1),(5,1),(7,3),(None,1), (4,1),(7,1),(12,2),(11,2),(9,2),(9,2),(7,1),(None,1), (2,1),(4,1),(5,3),(None,1), (2,1),(4,1),(5,3),(None,1), (2,1),(5,1),(11,1),(9,1),(7,2),(11,2),(12,4)]:
if p is None: time.sleep(0.2*d)
else: winsound.Beep(int(440*2**((p+1*(random.random()-0.5))/12.)), 200*d)
Comment author: Schroedingers_hat 25 April 2012 05:39:44PM *  2 points [-]

I couldn't help myself. I had to have a go at making it, too.
http://jsfiddle.net/GVTk2/

Didn't check it on anything other than chromium, and I can't guarantee it won't eventually use all your memory and crash.
It's horrible in many ways: switches key, misses the frequency of notes, changes from 2^(1/12) ratio between semitones, pauses at random and changes note length.

Take a listen, there's always a chance it'll stop :D

/edit ambiguity. Come to think of it, skipping notes is the one thing I didn't do. Note that it starts reasonably close to being in tune and slowly degrades.