{'fraction_non_alphanumeric': 0.01757469244288225, 'fraction_numerical': 0.00995899238429994, 'mean_word_length': 5.421052631578948, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Consonance and pitch.

To date, no consensus exists in the literature as to theories of consonance and dissonance. Experimental data collected over the last century have raised questions about the dominant theories that are based on frequency relationships between the harmonics of music chords. This study provides experimental evidence that strongly challenges these theories and suggests a new theory of dissonance based on relationships between pitch perception and recognition. Experiment 1 shows that dissonance does not increase with increasing numbers of harmonics in chords as predicted by Helmholtz's (1863/1954) roughness theory, nor does it increase with fewer pitch-matching errors as predicted by Stumpf's (1898) tonal fusion theory. Dissonance was strongly correlated with pitch-matching error for chords, which in turn was reduced by chord familiarity and greater music training. This led to the proposition that long-term memory templates for common chords assist the perception of pitches in chords by providing an estimate of the chord intervals from spectral information. When recognition mechanisms based on these templates fail, the spectral pitch estimate is inconsistent with the period of the waveform, leading to cognitive incongruence and the negative affect of dissonance. The cognitive incongruence theory of dissonance was rigorously tested in Experiment 2, in which nonmusicians were trained to match the pitches of a random selection of 2-pitch chords. After 10 training sessions, they rated the chords they had learned to pitch match as less dissonant than the unlearned chords, irrespective of their tuning, providing strong support for a cognitive mechanism of dissonance.