This excellent book, which was made into an excellent film Werckmeister Harmonies (2000), uses a metaphor of our flawed musical tuning system ("even-tempered tuning"), and relates it to the flawed systems of order we create for ourselves. The story is about a sleepy Hungarian town on the verge of a violent uprising.
Downloadable pdf here:
Melancholy of Resistance
Warning! This book isn't for the faint of heart. The writer László Krasznahorkai has a thing for long, long, loooong sentences that jump back & forth between different ideas, interrupting each other multiple times before you finally hit that eagerly awaited period.
Example: the opening sentence...
That's 175 words if anyone's counting.SINCE THE PASSENGER TRAIN CONNECTING THE
icebound estates of the southern lowlands, which extend
from the banks of the Tisza almost as far as the foot of the
Carpathians, had, despite the garbled explanations of a
haplessly stumbling guard and the promises of the
stationmaster rushing nervously on and off the platform,
failed to arrive (‘Well, squire, it seems to have
disappeared into thin air again …’ the guard shrugged,
pulling a sour face), the only two serviceable old wooden-
seated coaches maintained for just such an ‘emergency’
were coupled to an obsolete and unreliable 424, used only
as a last resort, and put to work, albeit a good hour and a
half late, according to a timetable to which they were not
bound and which was only an approximation anyway, so
that the locals who were waiting in vain for the eastbound
service, and had accepted its delay with what appeared to
be a combination of indifference and helpless resignation,
might eventually arrive at their destination some fifty
kilometres further along the branch line.
Anyway the metaphor of the ill-tuned piano is kinda brilliant and, as far as I know, has never been used in any other work of fiction. The author takes a mathematical quirk of music--the fact that our 12-tone scale is imperfect and 'fudged' to fit--and uses it as a metaphor to apply to all systems of human 'order' being flawed. Like the musical puzzle which has no solution, perhaps human society itself is doomed because there is no solution. At best we have a fudging of laws and customs which seem to work, but it will always be imperfect.
In music the flaw is so minute that we don't really hear it. The fudging is less than 1/4 of a semitone every octave, hardly noticeable when spread across 12 notes. So we accept it, we build grand compositions on this faulty foundation, we enjoy music and exalt its perfection on an emotional level. But mathematically it just doesn't add up.
The problem, which the book poses, is that a flawed system of order will eventually lead to a major catastrophe. Yet it implies that, like music, there is no solution to the problem. There is simply no way of creating order amongst humans because we just don't add up.