What does Harmonic Surprise, Shepard Tones and Musical Chills conclude, in numbers, about “Peaks of Violated Expectation: Deceptive Cadences, Chromatic Borrowing and the Five Responses of ITPRA”?
Answer: Chapter 2 uses Huron's ITPRA theory to explain why violation moves us and expresses the interaction of uncertainty and surprise as a saddle: the same vi gives 8.5 times the pleasure in a sharper context.
Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; it is not medical advice, claims no health effect, and is not marketing-compliance or legal advice. Chapter 1 writes harmony as a Markov chain: under an illustrative matrix a deceptive cadence carries 3.06 bits of surprisal and an authentic cadence only 0.51.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. printed values that match the answer: 8.5
| H \ S | 0.5 1.5 2.5 3.5 4.5 5.5 |
| 0.5 | -1.30 -0.65 0.00 0.65 1.30 1.95 |
| 1.0 | -0.80 -0.40 0.00 0.40 0.80 1.20 |
| 1.5 | -0.30 -0.15 0.00 0.15 0.30 0.45 |
| 2.0 | 0.20 0.10 0.00 -0.10 -0.20 -0.30 |
| 2.5 | 0.70 0.35 0.00 -0.35 -0.70 -1.05 |
| placed chord H S pleasure | |
| vi after V (order 1) | 1.500 3.06 0.08 |
| vi after IV,V (order 2) | 1.153 4.70 0.71 |
| vi after I | 2.295 2.74 -0.06 |
| IV after I | 2.295 1.74 0.19 |
| same vi, sharper context | 8.5 times the pleasure |
Show the full program
# Chapter 2. p23: a saddle-shaped pleasure surface in uncertainty H
# (entropy before the chord) and surprise S (surprisal of the chord),
# shaped after the interaction reported by Cheung et al. (2019):
# pleasure is high for low-H/high-S and for high-H/low-S chords.
# Form: pleasure = -c * (H - H0) * (S - S0). c, H0 and S0 are
# ILLUSTRATIVE; the four placed chords use H and S from p11 to p13.
C, H0, S0 = 0.5, 1.8, 2.5
HS = [0.5, 1.0, 1.5, 2.0, 2.5]
SS = [0.5, 1.5, 2.5, 3.5, 4.5, 5.5]
def pleasure(h, s):
return -C * (h - H0) * (s - S0) + 0.0
print("H \\ S " + "".join("{:>7.1f}".format(s) for s in SS))
for h in HS:
print("{:>5.1f} ".format(h)
+ "".join("{:>7.2f}".format(pleasure(h, s)) for s in SS))
CASES = [("vi after V (order 1)", 1.500, 3.06),
("vi after IV,V (order 2)", 1.153, 4.70),
("vi after I", 2.295, 2.74),
("IV after I", 2.295, 1.74)]
print("placed chord H S pleasure")
for name, h, s in CASES:
print("{:<24} {:>5.3f} {:>6.2f} {:>8.2f}".format(
name, h, s, pleasure(h, s)))
r = pleasure(1.153, 4.70) / pleasure(1.500, 3.06)
print("same vi, sharper context: {:.1f} times the pleasure".format(r))Single source and citation
Fan, Y. (2026). Harmonic-Expectation Violation Entropy in Orchestral Scoring, the Shepard-Tone Illusion and the Dynamics of Musical Chills (Version 1.0.0), Chapter 2: Peaks of Violated Expectation: Deceptive Cadences, Chromatic Borrowing and the Five Responses of ITPRA. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-163 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026163,
author = {Fan, Yafu},
title = {Harmonic-Expectation Violation Entropy in Orchestral Scoring, the Shepard-Tone Illusion and the Dynamics of Musical Chills},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Harmony as a Markov Chain: an Illustrative Transition Matrix, Surprisal and Entropy Rate
- Chapter 3 · Shepard Tones and the Endless Accelerando: Octave Partials, a Bell-Shaped Envelope and the Tritone Paradox
- Chapter 4 · The Dynamics of Chills: Skin-Conductance Delay, a Leaky Integrator with a Threshold, and Differences between Listeners
- Chapter 5 · The Loudness Ledger of a Crescendo: Phon, Sone and the Logarithmic Cost of Players
- Chapter 6 · The Surprisal of Persuasive Copy: Carrying the Harmonic Model over to Long Copy, and Drawing a Red Line against False Urgency
- Chapter 7 · The Classics Examined: Three Hearings of the Xianchi Music, Sound without Sorrow or Joy, and Hanslick's "Forms Moved in Sound"
- Chapter 8 · Practice and Falsification: the Persuasive-Copy Checker, a Pre-Registered Protocol and the Conditions of Refutation