Você está na página 1de 15

Elizabeth Hellmuth Margulis∗

and Andrew P. Beatty†


Musical Style,

201 Music Building,
University of Arkansas
Psychoaesthetics,
Fayetteville, Arkansas 72701 USA
ehm@uark.edu
and Prospects for Entropy

Pioneer Hi-Bred International
7200 NW 62nd Avenue, P.O. Box 184 as an Analytic Tool
Johnston, Iowa 50131 USA
apbeatty@gmail.com

Information theory as formulated by Shannon (1948) sections within a piece (Hiller and Fuller 1967). It
has been intermittently pursued as a potential tool is relatively straightforward to think about entropy
for musical analysis; however, significant problems as a measure of the freedom with which musical
have prevented it from coalescing into a fruitful elements are strung together in a specific style,
theoretical approach. Papers examining music from but it is less clear how to conceptualize entropy’s
the perspective of information theory are widely relationship with listener perceptions. What sorts
distributed among journals from different fields of statistics do listeners track, and for what sorts
(Nettelheim 1997) and do not show a steady, cumu- of items? What are the behavioral, cognitive, or
lative trajectory in time. Rather, a cluster of papers affective consequences of perceiving high or low
in the late 1950s and 1960s (Pinkerton 1956; Meyer entropy in a piece, style, or section?
1957; Youngblood 1958; Krahenbuehl and Coons In addition to the difficulty of establishing a
1959; Cohen 1962; Hiller and Fuller 1967), another conceptual framework for relating entropy to music,
in the 1980s (Knopoff and Hutchinson 1981, 1983; the practical obstacle of extracting and tabulating
Snyder 1990), and a few contemporary studies the musical items whose entropy is of interest has
(Huron 2006; Temperley 2007) represent the primary stymied progress in the musical application of in-
efforts. formation theory. Early researchers, such as Young-
Three challenges have hindered the development blood, recorded frequencies by hand—a painstaking
of information-theory applications in music: first, process that necessitated a small sample from var-
obscurities in the framing of the musical questions ious styles (melodies from eight songs by Schubert,
that information theory might answer; second, six by Mendelssohn, and six by Schumann, in the
practical obstacles to tabulating the musical entities case of his study). Yet Knopoff and Hutchinson (1983)
needed for information-theoretic analysis; and third, showed that to disambiguate noise from statistically
uncertainties regarding the type of musical entity significant characterizations requires pools of at
that should serve as the unit of analysis. least 7,900 characters. Hand tabulating samples of
For music, information has been understood to this size seems a quixotic enterprise, and this practi-
refer “to the freedom of choice which a composer cal barrier may partially account for the decline of in-
has in working with his materials or to the degree of terest in information theory as a music-analytic tool.
uncertainty which a listener feels in responding to Large corpuses of musical data exist in three
the results of a composer’s tonal choices” (Young- commonly available forms: graphic (musical scores),
blood 1958, p. 25). This conceptual framework aural (sound recordings), and symbolic (e.g., MIDI).
has led to studies that appropriate information Despite some effort (e.g., Poliner et al. 2007), no re-
theory as a compositional tool (Pinkerton 1956), liable technology yet exists to automatically extract
as an identifier of musical style (Youngblood pitches, rhythms, and other musical quanta from
1958; Knopoff and Hutchinson 1981, 1983), and printed scores or sound recordings. Some excellent
as a mechanism for the analytical comparison of tools exist for the manipulation of MIDI data (e.g.,
Eerola and Toiviainen 2004), but they are not yet
Computer Music Journal, 32:4, pp. 64–78, Winter 2008 sophisticated enough to extract the units desirable

c2008 Massachusetts Institute of Technology. for information-theoretical analysis. Only one form

64 Computer Music Journal


of symbolic data (scores in the ∗∗ kern format) is (albeit implausible) composer who wrote melodies
associated with a set of tools, the Humdrum Toolkit that could have been Mozart’s except for one
(Huron 1993), that allows for the extraction and quality: The composer chose freely from all playable
manipulation of the kinds of data likely to be useful registers, so that where Mozart might have written
in a perception-based account of entropy. Although C3, B2, A2, G2 (four adjacent pitches), this composer
the amount of music encoded in the ∗∗ kern format wrote C3, B6, A1, G4 (the same pitch classes, but
(4,290,411 notes in 20,318 files) is substantially wildly distributed among registers). In this case, an
smaller than the corpus of music available in the information-theoretic account eliminating register
MIDI format, it is still large enough to permit might miss important distinctions.
information-theoretic analysis (by the standards of In the time since information theory has fallen
Knopoff and Hutchinson 1983); moreover, unlike out of favor as a music-analytic tool, a new approach
MIDI, the ∗∗ kern representation preserves many has emerged in psychology and the learning sciences:
elements present in actual scores: key signatures, statistical learning (for a review, see Saffran 2003).
staves, and stem directions, for example. Although Statistical learning refers to the hypothesized ability
Huron has used Humdrum to perform many of learners to exploit statistical regularities in
fascinating statistical analyses (e.g., Huron 2006), their environment to abstract structure. Infants
no published study has yet used the toolkit for a have been shown to exploit statistical properties
dedicated information-theoretic analysis. to learn about their visual (Fiser and Aslin 2002),
In addition to the challenges inherent in linguistic (Saffran, Aslin, and Newport 1996), and
constructing a conceptual framework for the musical (Saffran et al. 1999) environments. Empirical
information-theoretic analysis of music and in gain- evidence that humans can track complex statistical
ing access to a format that permits the automatic properties in numerous domains makes information
computation of information-theoretic measures, a theory newly interesting from the perspective of
further challenge exists in selecting an available and psychology and suggests that information theory
appropriate unit of representation (pitches, chords, could be useful not merely in characterizing styles,
phrase segments, etc.) to successfully answer the but also in addressing questions in music cognition.
question posed by the conceptual framework. This potential link between information theory
Youngblood, interested in the differentiation of and music perception was made in a literature
musical styles, tabulated melodic pitches with contemporaneous with but largely peripheral to
reference to the notated key; he coded the tonic as 1, music-theoretical work on the subject: the psy-
the supertonic as 3, and the raised-first and lowered- choaesthetics literature—concerned with empirical
second scale degree as 2 (reflecting their enharmonic investigations of aesthetics—epitomized by Berlyne
equivalence). But a slightly different perspective (1971) and also Smets (1973). Berlyne theorizes about
could reconstitute the basic alphabet from which a link between “quantitative uncertainty” and “pref-
elements are drawn. For example, melodies might erences and emotional reactions” but is careful to
be understood to be composed not of twelve pitch note that any relationship would be mitigated by
classes oriented around a tonic, but rather of raw other subjective factors (p. 46). In summarizing the
pitches, or of durations, or of scale degrees with work of Attneave (1954), he proposes that geometri-
specific durations, or of pitches at specific metric cal configurations regarded as “good,” or regular and
positions. Perhaps one composer makes more liberal well-organized, tend to be those that are identifiable
use of the raised-fourth scale degree than another, from only a small part of the pattern: those, Berlyne
but only at certain highly restricted metric posi- explains, featuring “little uncertainty” (p. 46).
tions. An information-theoretic analysis in which But the most substantial link Berlyne offers
scale degree and metric position were uncoupled between information theory and perception is me-
might result in a misleading account. Or, for the diated by the Wundt curve (see Figure 1), first
purposes of illustration, consider a hypothetical presented in 1874 by psychologist Wilhelm Wundt.

Margulis and Beatty 65


Figure 1. The Wundt
Curve, adapted from
Wundt (1874) and Berlyne
(1960).

Fred Lerdahl (1988) makes a related connection


between complexity and aesthetic value. He offers
two aesthetic claims: first, “the best music utilizes
the full potential of our cognitive resources” (i.e.,
the best music is to a certain extent complex), but
second, “the best music arises from an alliance
of a compositional grammar with the listening
grammar” (i.e., the complexity must be understand-
able, or capable of being processed—it cannot be
too complex or complex in the wrong way). These
claims can be thought of as related to Berlyne’s
claims about aesthetic perception centered around
the Wundt curve. Information theory can be under-
stood as relevant in this context insofar as entropy
might be a valid measure of novelty, surprise, or
complexity.
Wundt used the curve to describe a relationship Accepting for the moment an “optimal com-
between stimulus intensity and perceived pleasure; plexity” theory of aesthetic value, how might it
according to the figure, neither too little nor too contribute to the development of the multiplicity
much intensity are pleasurable, but a “sweet spot” of styles in the Western musical tradition? The
between these extremes—a stimulus of moderate pursuit of an explanation for stylistic change has
intensity—affords a pleasing experience. Berlyne been a central enterprise in music theory (e.g.,
adapted the curve to describe the relationship not Ratner 1980; Meyer 1989; Temperley 2004). It is
merely between stimulus intensity and perceived commonly thought that as expressive deviations be-
pleasure, but more broadly between “arousal poten- come overused and thus normative, pressure exists
tial” and perceived pleasure. Here, arousal potential for new deviations to develop, fueling the evolution
is defined as “the ‘psychological strength’ of a stim- of new musical styles. If Berlyne’s interpretation of
ulus pattern, the degree to which it can disturb the Wundt curve is valid, then at some perceptually
and alert the organism,” something partially predi- significant level of analysis, all of these styles should
cated on “properties such as novelty, surprisingness, facilitate some optimal level of arousal potential.
and complexity” (Berlyne 1971, p. 70). Accord- Building on this premise, this article pursues an
ing to Berlyne’s adaptation, people prefer stimuli investigation of entropy and musical style centered
of moderate novelty and complexity. Naturally, around three assumptions: (1) arousal potential can
what constituted novelty and complexity would be approximated (although primitively) by entropy;
vary from person to person; for example, imagine (2) different styles encourage attention to different
two hypothetical individuals listening to Pierrot musical parameters; and (3) the optimal level of
Lunaire—one a non-musician and one a Schoenberg entropy (arousal potential) might accordingly reside
scholar. Many things that would be new, surprising, in different parameters for different styles. Thus,
and complex to the first listener would be less so the central hypothesis of this study is that an ex-
to the second. Nevertheless, Berlyne would argue amination of the entropy of different parameters
that his adapted Wundt curve could apply to both in different musical styles might reveal shifts from
of them; it would simply shift along the x-axis to style to style, with the highest entropy pooling
reflect the experience level of various listeners. The in particular parameters for particular styles. For
Schoenberg scholar’s curve would shift to the right, example, as entropy decreased in tonal content, it
and the neophyte’s to the left. A similar shifting might increase in rhythmic content, reflecting a
could account for the effect of other factors, such as shift in orientation from the tonal to the rhythmic
personality traits. in that particular style.

66 Computer Music Journal


Methods or reconfigure the identity of an element closer to
the surface. For example, a C sounds like the tonic
Materials within a C-major context. But the very prevalence of
C pitches may have been instrumental in generating
Databases of scores in the ∗∗ kern format (see that sense of key. In a D-flat context, C functions
kern.humdrum.net and www.musedata.org) repre- as the leading tone. If pitch is understood to signify
senting eight styles were used: 38 Bach chorales, 48 an event in a network of tonal relations (so that C
Bach preludes and fugues from the Well-Tempered in a C-major context is not the same event as C in
Clavier (WTC) Books 1 and 2, 33 barbershop quar- a D-flat major context), then key, one important ar-
tets, 12 Corelli trio sonatas (including 43 individual biter of tonal relatedness, is not only a phenomenon
movements), 12 Handel trio sonatas (including 49 emergent from the context of pitches, but also one of
individual movements), 12 Telemann solo sonatas the inputs feeding into the determination of pitches.
for violin (including 49 individual movements), Or consider that the endpoints of phrases are
5 Haydn string quartets (including 20 individual determined by the combination of pitches and
movements), and 7 Mozart string quartets (includ- durations. Yet these endpoints serve to sever (or at
ing 22 individual movements). These styles were least suppress) the relationship between pitches and
selected because the encoded database for each durations before and after the endpoint (Margulis
was large enough to permit informative measures 2005). Such subtleties are not incorporated into
according to Knopoff and Hutchinson (1983). the parameter definitions of this exploratory study.
The parameters of interest were extracted from Parameters were chosen purely pragmatically in an
the ∗∗ kern files using the Humdrum toolkit (Huron effort to capture as various a snapshot of musical
1993) in conjunction with a series of custom Perl dimensions as possible within the constraints of the
scripts. The Humdrum toolkit and a separate measures that were automatically extractable from
program written in C++ read in the data and the ∗∗ kern representation.
performed the statistical calculations.
Pitch
Procedures The ∗∗ kern format represents pitches using letters,
sharps, and flats. Before analyzing pitch, one ab-
Eight parameters automatically calculable from the straction was employed. All letters and accidentals
∗∗
kern representation were selected for analysis. As were converted to numbers, eliminating the dis-
described earlier, selecting the alphabet from which tinction between enharmonic equivalents (such as
musical elements should be drawn is a complex C-sharp and D-flat) that denote the same frequency
enterprise. What constitutes a musical element? in twelve-tone equal temperament. (Performance-
Candidates include (among many others) pitches, based nuances in pitch, such as a slight elevation in
durations, pitches with durations, rhythms, metric frequency of C-sharp in comparison to D-flat, were
positions, motives, chords, phrases, keys, contra- necessarily excluded.)
puntal figures, schemas, and gestures. But music
is a hierarchically structured phenomenon, and
Registrally Centered Chromatic Scale Degree
it can be observed that rhythms are composed of
(RCCSD)
durations within meters, and chords are composed
of pitches within contrapuntal figures. A reasonable Scale degree relates pitches to the referential tonic
approach might be to extract the smallest decom- pitch class. The registrally centered chromatic scale
posable elements first: pitches and durations. Larger degree (RCCSD) relates pitches to a specific tonic
structures, however, are not straightforwardly built pitch (versus an abstract tonic pitch class). For
out of smaller ones. In many cases, the identity of pieces with the tonic C (i.e., those in C major or
an element deep within the hierarchy can constrain C minor), middle C was considered to be 0. Pitches

Margulis and Beatty 67


above it were assigned to increasingly large positive analysis. However, both of these potential confounds
numbers, and pitches below it to increasingly large were at least partially addressed in the analysis, as
negative numbers, in units of semitones. For pieces described in the Results and Discussion.
in other keys, the tonic pitch closest to middle C
was reinterpreted as 0, and the same procedure was
followed. The sum effect of this transformation was Texture
to abstract scale degree (a representation that relates The texture measure examined the ∗∗ kern score at
pitches to a tonal center) from raw pitch information every moment a new event occurred to determine
without eliminating register. how many voices were active at that moment. The
resultant representation assessed the fluctuations in
Chromatic Scale Degree (CSD) texture across the course of the music.

The set of values for RCCSD was reduced modulo


12, producing a representation that preserved scale Directed Melodic Intervals
degree but eliminated register. For example, in The distance between adjacent pitches in the melody
D major, the RCCSD for the D next to middle was calculated to produce a list of melodic interval
C was 0, and for the D an octave above middle successions. Ascending intervals were positive, and
C it was 12. Under the chromatic scale degree descending intervals were negative.
(CSD) representation, both Ds were represented as
0s. There were twelve possible CSD values, each
encapsulating a relation to the tonic; 0 represented Undirected Melodic Intervals
the tonic, 7 the dominant, 11 the leading tone, and
so on. The undirected melodic intervals measure took
Two problems affected the encoding of the the absolute value of the numbers for the directed
RCCSD and CSD parameters. First, no allowance melodic intervals, resulting in a measure of raw
was made for the modality. Therefore, repertoires (undirected) interval size. From the perspective of
with a more even distribution between pieces in this parameter, a leap of six semitones was the same
major and in minor may have garnered misleadingly whether it moved up or down.
large information measures for RCCSD and CSD.
For example, the minor third scale degree might Contour
occur rarely in pieces in the major mode, but often
in pieces in minor. An even distribution between The contour measure reduced all positive directed
pieces in the major and minor mode would tend to melodic intervals to 1, all negative directed melodic
even out frequency differences for versions of the intervals to –1, and assigned 0 to lateral motion
third, sixth, and seventh scale degrees, yielding a (i.e., pitch repetitions). Contour assessed the raw
higher H related simply to modality distribution in (interval-size independent) directedness of the
the corpus. Second, no allowance was made for key melodic intervals. From the perspective of this
changes across the course of a movement (because parameter, any move up would be equivalent,
this was not straightforwardly calculable from the whether it ascended by a semitone or an octave.
∗∗
kern representation). Accordingly, repertoires with
more key changes might possess artificially inflated
Duration
information measures for the same two parameters.
Rather than allow key changes to confound these The rhythmic values of each melodic pitch—
parameters, it would be ideal to track key changes, including rests—were treated as a sequence of
constantly adjusting RCCSD and CSD measures elements. However, rests of a specific duration were
to the local tonic. Key (and perhaps key duration) counted as separate elements from pitches of that
could then function as an additional parameter for duration.

68 Computer Music Journal


Statistical Measures the first-order entropy for CSD changes less from
repertoire to repertoire than most other measures;
For each parameter in each repertoire, the first-order the standard deviation for CSD entropies is 0.10,
entropy, conditional entropy, and normalized en- versus a mean standard deviation of 0.36 for all
tropy were calculated according to the formulations parameters. Across all repertoires, the first-order en-
of Shannon (1948). First-order entropy H is defined as tropy for CSD is roughly 3.3. The CSD parameter’s
 constancy likely stems in part from the fact that it
H= − pi log2 pi (1) measures tonal relatedness, a property of the system
i of Western tonality more than a property of any
where pi signifies the probability that the ith particular repertoire. Additionally, the repertoires
symbol will occur, given i unique symbols from investigated in this study stem from a relatively nar-
which to choose. H reaches a maximum value when row time period—namely, the 18th century (except
each symbol is equally likely to occur (i.e., all pi ’s the barbershop quartets, which are relatively tradi-
are equal). This implies that musical pieces with tional in terms of tonal content)—and it is possible
higher entropy values are those that have more that 19th- and 20th-century tonal repertoires would
freedom in choosing their symbols. produce different CSD values.
For two events x and y, the conditional entropy is Another explanation for the similarity in CSD
defined as readings implicates statistical noise created by key
 changes within pieces. For example, the lower en-
Hx(y) = − p(i, j) log2 pi( j) (2) tropy for the CSD parameter in the Bach chorales
i, j may be attributable to the fact that they are shorter
where pi( j) signifies the probability that event y will and presumably modulate (change key) less fre-
have value j, assuming x has value i. Conditional quently than the other pieces. To investigate this
entropy takes into account not just the likelihood of hypothesis, the frequency counts for each CSD class
a particular symbol, but also its likelihood given the were tallied in each repertoire. Figure 3 illustrates
identity of the preceding one. For example, D may the frequency counts for each CSD in the reper-
be rather likely in a C-major piece, but especially toire of Bach chorales and the frequency counts
likely immediately after a C-sharp. for each CSD in the repertoire of Haydn string
Normalized entropy is defined as quartets, which are longer and might be presumed
to modulate more frequently. Modulating amounts
Hactual to shifting 0 to a different spot on the x-axis. Be-
Hnorm = (3)
Hmax cause key changes are not accounted for in the
current measures, many modulations should result
where Hmax signifies the maximum entropy for i
in a more uniform distribution and thus a higher
unique symbols. Normalized entropy assesses the
entropy value.
entropy of a particular corpus as a percentage of the
First-order CSD entropies constitute a measure
maximum entropy possible for a corpus with its
of chromaticism—the extent to which a composer
number of distinct symbols.
draws freely from all twelve possible pitch classes.
The similarity between the distribution of frequency
counts for pitch classes in the two repertoires
Results shown in Figure 3 suggests that differences in
modulation frequency have not distorted the
First-Order and Conditional Entropy
measures. Moreover, the similarity between these
distributions and the key profiles of Krumhansl and
Pitch-Based Measures
Kessler (1982) suggests that modulations were not
Table 1 lists the entropy value produced by each frequent enough to prevent the emergence of the
parameter in each repertoire. As shown in Figure 2, frequency patterns associated with the home key.

Margulis and Beatty 69


Table 1. First-Order, Conditional, and Normalized Entropies for Each Parameter in Each Style
Directed Undirected
Melodic Melodic
Pitch RCCSD CSD Texture Interval Interval Contour Duration

Bach Chorales
First-order 3.68 3.97 3.05 0.13 2.96 2.13 1.45 1.43
Conditional 2.57 2.31 2.28 0.13 2.49 2.07 1.44 1.19
Normalized 0.85 0.83 0.85 0.13 0.64 0.74 0.91 0.45
Bach Well-Tempered Clavier
First-order 4.31 4.43 3.37 1.67 3.51 2.65 1.38 2.42
Conditional 3.37 3.10 2.86 0.66 2.98 2.54 1.36 1.51
Normalized 0.84 0.84 0.94 0.60 0.59 0.67 0.87 0.49
Barbershop Quartets
First-order 3.33 3.89 3.34 0.62 2.80 2.23 1.56 2.47
Conditional 2.53 2.40 2.44 0.43 2.60 2.13 1.53 1.93
Normalized 0.73 0.81 0.93 0.27 0.56 0.59 0.98 0.62
Corelli Trio Sonatas
First-order 4.08 4.09 3.25 1.27 3.37 2.54 1.41 2.60
Conditional 2.97 2.79 2.62 0.76 2.85 2.44 1.39 1.85
Normalized 0.83 0.80 0.91 0.55 0.59 0.64 0.89 0.62
Handel Trio Sonatas
First-order 4.19 4.35 3.32 1.30 3.76 2.92 1.42 2.69
Conditional 3.36 3.22 2.93 0.76 3.18 2.77 1.39 1.58
Normalized 0.82 0.80 0.93 0.50 0.64 0.70 0.90 0.55
Telemann Violin Sonatas
First-order 4.12 4.36 3.31 0.67 3.99 3.07 1.27 2.43
Conditional 3.54 3.43 3.00 0.54 3.25 2.85 1.24 1.57
Normalized 0.87 0.84 0.92 0.42 0.75 0.70 0.80 0.54
Haydn String Quartets
First-order 4.84 4.72 3.33 2.15 3.76 2.93 1.46 3.08
Conditional 3.48 3.25 2.99 1.17 3.20 2.72 1.40 1.55
Normalized 0.88 0.85 0.93 0.68 0.58 0.65 0.92 0.60
Mozart String Quartets
First-order 4.48 4.53 3.23 1.94 3.70 2.86 1.42 2.92
Conditional 3.29 3.07 2.78 1.25 3.10 2.66 1.37 1.82
Normalized 0.86 0.82 0.90 0.56 0.61 0.67 0.90 0.61

Furthermore, the distribution of frequency counts properties of the tonal system rather than properties
for CSDs between the Bach chorale and Haydn of individual styles.
string quartet repertoires are significantly correlated Styles are better distinguished from one another
(r = 0.95, p < 0.001); the frequency counts for CSDs by conditional entropies for CSD (see Figure 4).
in all repertoires, in fact, are significantly correlated In Bach chorale melodies (which were not usually
(Cronbach’s Alpha [8 items] = 0.981). Although written by Bach; he set preexisting church tunes), the
first-order entropy measures suggest that soprano conditional entropy for CSD is quite low, indicating
lines from Bach’s Well-Tempered Clavier feature the that given a pitch x, certain other pitches y and z are
most chromaticism, and Bach chorale melodies the likely to follow, and certain other pitches a and b are
least, the difference from repertoire to repertoire is unlikely to follow. Barbershop quartets also possess
minimal. First-order CSD entropies seem to reflect a relatively low value for the conditional entropy

70 Computer Music Journal


Figure 2. First-order Figure 3. Frequency of each
entropies for chromatic CSD in the repertoire of
scale degree (CSD). Bach chorale melodies and
Haydn string-quartet
melodies as a percentage
of total number of pitches.

Figure 2

of CSD. It is noteworthy that, of the repertoires


studied here, only these two feature vocal melodies.
The voice is more limited in its range and mobility
than other instruments; it is easier to play a leap
on the violin than to sing one. This could partially
account for the comparatively low joint entropies for
Bach chorales and barbershop quartets for not only
the parameter of CSD, but also the parameters of
pitch, RCCSD, and directed and undirected melodic
intervals. Other repertoires showed freer transitions Figure 3
from one note to the next, particularly Haydn string
quartets and Telemann violin sonatas.
The CSD measure differs from the pitch measure CSD values (see Figure 4), when these factors are
by acknowledging octave equivalence (transforming accounted for, the barbershop quartets actually
pitch to pitch class) and acknowledging tonal reveal a higher entropy than the Bach chorales.
center (transforming pitch class to scale degree). Pitch entropies for the string quartets and for the
The pitch measure, taken before any of these music from the Well-Tempered Clavier are highest
transformations, reveals radically different entropies because their instruments permit movement across
from repertoire to repertoire that disappear when a wide range, and because the individual pieces
the transformations into the CSD measure are made are written in a wide variety of keys. The measure
(see Figure 5). As discussed earlier and as shown in for RCCSD controls for tonal center (like the CSD
Figure 2 and Table 1, first-order entropies for CSD in measure), but also for range. Under this measure,
all the repertoires cluster around 3.3, but first-order the entropies for the barbershop quartets and the
entropies for pitch range from 3.3 (in the barbershop Bach chorales come into much closer alignment.
quartets) to 4.8 (in the Haydn string quartets).
Entropies for pitch reflect two basic characteristics:
Duration
the diversity in keys among the pieces making up
a repertoire, and the range employed. For example, Entropy measures for the parameter of duration are
the vocal repertoires (Bach chorales and barbershop lowest for the Bach chorale melodies (see Figure 6).
quartets) are limited by the range of the human These melodies are largely isochronous, simplifying
voice, and both exhibit lower pitch entropies than synchronization for a congregation of non-expert
any other repertoire. Between those two repertoires, singers. First-order entropy for durations in Haydn
Bach chorales seem to have a higher pitch entropy and Mozart string quartets is higher than first-order
because they are written in a wider variety of keys entropy for duration in other repertoires (see Table 1)
than the barbershop quartets. As reflected by the because Haydn and Mozart string quartets use a

Margulis and Beatty 71


Figure 4. Conditional Figure 5. First-order Figure 6. First-order
entropies for CSD. entropies for pitch. entropies for duration.

Figure 4

Figure 5

Figure 6

larger repertoire of rhythmic elements, including closely regimented, predictable ways. The entropy
32nd-note rests, etc. However, once a particular values for CSD, contrastingly, are higher for Haydn
rhythmic element is employed in a Haydn string than for Mozart, suggesting that Haydn may have
quartet, its continuation is more closely prescribed been more flexible with pitch and Mozart with
than in a Mozart string quartet; although Haydn rhythm in the string-quartet genre.
string quartets have a slightly higher first-order
entropy than Mozart string quartets, the conditional
Contour-Based Measures
entropy of Mozart string quartets is notably higher
than of Haydn. Melodies in the string quartets of With respect to the contour parameter, Telemann’s
Mozart and Haydn, in other words, draw from a first-order and conditional entropies are notably
comparably wide range of durations, but Haydn lower than other repertoires, and entropies for
melodies seem to use those durations in more barbershop quartets are notably higher. The

72 Computer Music Journal


Figure 7. Ratio of Figure 8. Lateral motion as
ascending to descending a percentage of all melodic
melodic motion in each motion in each repertoire.
repertoire.

Figure 7

Figure 8

contour parameter takes three possible values: horizontally; it is also analyzable in terms of the
ascending, descending, and lateral. The distribution size of the leaps and dips (see Figure 9). The vocal
of ascending and descending motion is remarkably repertoires (Bach chorales and barbershop quartets)
consistent from repertoire to repertoire; in every have lower entropies than other repertoires for
case, ascending motion is slightly more common directed and undirected melodic intervals; limits of
than descending motion (mean ratio of ascending to vocal production proscribe large leaps. Telemann
descending motion = 1.17, SD = 0.08; see Figure 7). violin sonatas are distinguished by the highest
The differences emerge in the use of lateral motion entropy when interval size is taken into consider-
(see Figure 8). For all repertoires except Telemann ation, despite the fact that they are distinguished
and barbershop quartets, between 11 percent and by the lowest entropy when only the direction of
15 percent of motion is lateral, but in Telemann, interval is considered. Telemann violin sonatas,
only 6 percent of melodic motion is lateral, and in other words, freely move from one interval
in barbershop quartets, fully 42 percent of it is. size to another, even as they are relatively more
The use of repeated notes, in other words, proved constrained in terms of whether that movement
a better stylistic marker for these repertoires than proceeds up, down, or laterally. The relative order
other aspects of melodic contour. This is interesting of entropies in the various repertoires remained
in light of the ambiguous place repeated notes have the same (or in one case—first-order entropies for
had in theories of melody (Narmour 1990). Bach chorales and barbershop quartets—nearly the
But contour is analyzable not only in terms of same) whether contour was measured in terms of
whether the melody ascends, descends, or moves undirected or directed intervals. There did not seem

Margulis and Beatty 73


Figure 9. First-order Figure 10. First-order
entropies for directed and entropies for texture.
undirected melodic
intervals.

Figure 9

Figure 10

to be a systematic difference, in terms of entropy, in and resting in both parts less than 1 percent of the
composers’ treatments of ascending intervals versus time. However, this measure reflects only the no-
descending ones of the same size. tated bass line and not the fuller texture that would
be realized by the continuo performer improvising
upon the figured bass.
Texture
Haydn string quartets, on the other hand, possess
Unsurprisingly, because the genre is almost com- the highest first-order textural entropy, followed
pletely texturally uniform, the Bach chorales possess closely by Mozart string quartets. In both these
by far the lowest textural entropy: 98 percent of the repertoires, the available textural configurations are
time, all four voices are participating, and 2 percent drawn from more evenly, with many instances where
of the time, all four voices are resting (see Figure 10). all voices are participating, but many instances
The entropy for texture in the Barbershop quartets where only some of them are. Interestingly, when
is the next lowest: 90 percent of the time, all four conditional entropy is considered, Mozart string
voices are participating, and 2 percent of the time, quartets supersede the Haydn string quartets for
all four voices are resting. An additional 6 percent of a slightly higher textural entropy. Haydn seems
the time, the texture thins to just one voice, and for to use different textures slightly more frequently
the remaining 2 percent of the time (approximately than Mozart in his string quartets, but Haydn uses
1 percent each), the texture thins to two or three them in more standardized ways; however, Mozart
voices. But these textures are rare and particularly uses different textures slightly less frequently but in
salient when they occur. The entropy for texture in more various ways. Similarly, the first-order textural
the Telemann violin sonatas is similar to that for entropy for Bach’s Well-Tempered Clavier is quite
barbershop quartets but here reflects the relative high (although not as high as the string quartets),
constancy of the violin-continuo texture—dropping but its conditional textural entropy is notably low,
to one of the two parts only 1 percent of the time, dropping below the values for even other repertoires

74 Computer Music Journal


with substantially lower first-order entropies. This with the notable exception of the Bach chorales,
reflects the strict treatment of texture in the fugues; the diatonicism of which resulted in a normalized
most often one voice is followed by two, which is entropy of only 85 percent.
followed by three, and so on as the voices enter Although accounting for the size of the available
systematically. So the progression from texture alphabet preserves the pattern of CSD entropies, it
to texture may be more predictable in the Well- alters the pattern for pitch entropies. Bach chorales
Tempered Clavier, but this is very different from the exhibit the second-lowest first-order entropy for
chorales, in which no other textures aside from full pitch (after barbershop quartets), but their normal-
or absent were employed. ized entropy for pitch jumps to fourth-highest. In
other words, although the range for chorale melodies
Normalized Entropy is small, the melodies make relatively free use of
that range. The same transformation occurs for
The entropies reported in the previous section RCCSD; Bach chorales possess a much higher en-
express the freedom with which the various tropy once the measure has been normalized to
repertoires move among the available options for account for the small size of the alphabet.
each parameter; however, the alphabet of available The normalized entropy measure for texture
options is not uniform from repertoire to repertoire. distinguishes better between similar repertoires than
For example, the largest separation between two first-order entropy. For example, the normalized
consecutive melodic pitches in Bach chorales is 12 entropy for texture shows much higher textural
semitones, but in Haydn string quartets, it is 39 freedom in Haydn than in Mozart string quartets,
semitones. The larger alphabet of available options and higher textural freedom in Corelli than in
makes the entropies for Haydn string quartets Handel trio sonatas. The repertoires whose standings
higher, even if the Bach chorales draw relatively fell when entropy was normalized seem to have
more evenly from their smaller alphabet. Normal- used a unique texture rarely for special effect. The
ized entropy, by contrast, calculates the entropy repertoires whose standings rose used the more
exhibited by a particular repertoire as a percentage common textures more evenly.
of the maximum entropy possible in a system Trends for undirected and directed melodic
with that size of alphabet. In other words, given its intervals changed similarly when the measures
smaller alphabet, normalized entropy can determine were normalized. Most notably, for each of these
whether Bach chorales explored that alphabet more interval measures, normalizing them elevates Bach
freely than Haydn string quartets explored its chorales from one of the lowest entropies to the
larger alphabet. Perceptually, normalized entropy highest. This change seems to reflect the particular
could reflect the stylistic knowledge that vocal rarity of rare intervals in chorale melodies; for
melodies will draw from a smaller range of pitches example, in the chorale melodies there are only
than instrumental melodies and the corresponding two instances of intervals that appear fewer than
shift in focus to the freedom with which that five times in the corpus (leaps of nine and twelve
range is explored. Or, in the case of a violin sonata semitones), but in Haydn string quartet melodies,
and a string quartet, normalized entropy would there are twelve instances (leaps of 21, 22, 23, 25,
acknowledge the more limited textural options in 27, 29, 31, 32, 34, 38, 39, and 41 semitones)—
the first genre and characterize the freedom with mostly occurring across phrase boundaries or in
which available textural configurations were used. fugal textures, when the melody moves from part
The normalized entropies for CSD remain consis- to part. This reflects a problem in the measure
tent with the entropies reported above, because the of normalized entropy when applied to musical
alphabet for each repertoire is the same: the twelve styles: If a repertoire does something ever—even
available pitch classes in the chromatic scale. On only once—this becomes a member of the alphabet
average, the repertoires use about 91 percent of the and a contributor to maximum entropy. If a style
available entropy for an alphabet of that size, again draws freely from many other options but not from

Margulis and Beatty 75


that one, than it is punished with a low normalized Clavier showed the highest normalized entropy for
entropy, because that rare option has elevated the contour but low normalized entropies for other pa-
maximum entropy so much higher. Rare occurrences rameters. In contrast, barbershop quartets exhibited
elevate entropy but diminish normalized entropy. the highest normalized entropy for duration but the
Because all repertoires had three contour options lowest normalized entropy for melodic intervals.
to choose from—ascending, descending, or lateral The string quartet genres exhibited the highest
motion—normalizing the entropy measure made no normalized entropy for texture. However, there
difference; all repertoires were measured against the seemed to be another factor at work: As time passed
maximum entropy of a three-choice system. between the historical origins of styles, entropy in
The order of durational entropies roughly follows most parameters seemed to gradually increase. In
chronology, with the two repertoires of J. S. Bach (b. other words, music from the second half of the 18th
1685) the lowest, then Telemann (b. 1681), Corelli century exhibited generally higher entropies than
(b. 1653) and Handel (b. 1685), and then Mozart (b. music from the first half of the century in most pa-
1756) and Haydn (b. 1732), suggesting that rhythmic rameters. When only the repertoires with composers
freedom might be a key indicator of stylistic born in the 17th and 18th centuries were considered
evolution. But the barbershop quartet (a style (i.e., when barbershop quartets were excluded),
that coalesced in the middle of the 20th century) the average first-order entropy for each repertoire
interrupts this pattern, exhibiting a durational across all parameters is significantly correlated
entropy that places it between Telemann and with the order of composer birth dates (r = 0.862,
Corelli, about three hundred years too early. But p < 0.05). The average normalized entropy for each
when normalized durational entropy is considered, of these repertoires is also significantly correlated
barbershop quartets fall into their appropriate with the order of composer birth dates (r = 0.757,
chronological place after Haydn and Mozart. The p < 0.05).
chronological exception in this reading is Corelli, The finding of a gradual accrual of entropy
whose music now supersedes both the 18th-century across time is consistent with standard accounts
string quartets and the 19th-century barbershop of stylistic evolution (by which deviations become
quartets in normalized durational entropy. Once gradually standardized through overuse), and the
again, this appears to be a consequence of Corelli’s finding regarding the concentration of entropy in
avoidance of rare durations; whereas Corelli uses particular parameters is consistent with standard
only one durational value fewer than five times psychoaesthetic accounts of listening, according
in the entire corpus, Haydn uses eight durational to which people prefer some optimal level of
values fewer than five times. These rare durations in complexity. This optimal level would simply be
the Haydn corpus elevated the maximum possible housed in different parameters from repertoire
entropy for duration and correspondingly reduced to repertoire. However, this model assumes that
the normalized entropy. this optimal level of complexity is a feature of a
particular parameter for an entire corpus. A more
realistic account may be that different amounts
General Discussion and Future Work of complexity are housed in different parameters
at different points within an individual piece, and
Entropy, when applied to individual musical pa- that listeners fluctuate their attention according
rameters, can indeed capture rough characteristics to these changes. But an investigation of this
of musical styles. To a certain extent, the central hypothesis would require a more dynamic measure
hypothesis that most styles would “specialize” in a than entropy.
certain parameter, concentrating much of their en- As discussed in the introduction, a problem with
tropy in a particular dimension, was partially proven. the use of entropy in connection with music is the
Bach chorales exhibited the highest normalized selection of the alphabet from which events are
entropy for melodic intervals; the Well-Tempered drawn. The rare-interval problem that complicated

76 Computer Music Journal


measures of normalized entropy is emblematic of reality. For example, what repertoires do listeners
this complication. It is also possible that even if a perceptually link together? But in conjunction with
repertoire never uses a particular token (a leap of these technological, methodological, and theoretical
a major seventh, for example), that listeners still developments, it is conceivable that entropy could
identify this as a possibility. Entropy as defined here, reemerge as a useful tool in musical analysis.
however, considers only tokens that are represented
within a particular corpus.
A related problem is whether an individual References
corpus can be equated with psychological reality.
Do listeners evaluate Haydn’s choices in light of the Attneave, F. D. 1954. “Some Informational Aspects of Vi-
choices he made in his string quartets (the measure sual Perception.” Psychological Review 61(3):183–193.
employed here), or in all of his works, or in all Berlyne, D. E. 1960. Conflict, Arousal, and Curiosity.
18th-century music, or in all tonal music? This New York: McGraw-Hill.
decision might depend on the prior experience and Berlyne, D. E. 1971. Aesthetics and Psychobiology. New
stylistic knowledge of the listener. Cross-entropy, York: Appleton-Century-Crofts.
which incorporates probabilities for each symbol Cohen, J. E. 1962. “Information Theory and Music.”
based not on the corpus under evaluation, but Behavioral Science 7(2):137–163.
on some kind of model (which could represent Conklin, D., and I. H. Witten. 1995. “Multiple Viewpoint
Systems for Music Prediction.” Journal of New Music
the expectations of the listener) might serve as a
Research 24(1):51–73.
more psychologically valid measure. For example,
Eerola, T., and P. Toiviainen. 2004. “MIDI Toolbox:
cross-entropy could identify the predictability of MATLAB Tools for Music Research.” Kopijyvä,
Haydn’s music for a listener trained on 18th-century Jyväskylä, Finland: University of Jyväskylä. Available
music by other composers. Probabilistic methods— online at www.jyu.fi/musica/miditoolbox.
Bayesian reasoning in particular—have recently been Fiser, J., and R. N. Aslin. 2002. “Statistical Learning
applied to a range of musical problems (Sadakata, of New Visual Feature Combinations by Infants.”
Desain, and Honing 2006; Temperley 2007). Some Proceedings of the National Academy of Sciences
of these models provide elegant ways of modeling 99(24):15822–15826.
cross-entropy and offer powerful potential for Hiller, L., and R. Fuller. 1967. “Structure and Information
measuring perceived complexity and expectation. in Webern’s Symphonie, Op. 21.” Journal of Music
Theory 11(1):60–115.
The multiple-viewpoints approach (Conklin and
Huron, D. 1993. “The Humdrum Toolkit.” Available
Witten 1995; Pearce and Wiggins 2006) also possesses
online at music-cog.ohio-state.edu/Humdrum/index.
potential in adapting information-theoretic ideas html.
to more complex and psychologically realistic Huron, D. 2006. Sweet Anticipation: Music and the
problems. Psychology of Expectation. Cambridge, Massachusetts:
Whatever the approach, it remains challenging MIT Press.
to identify parameters that both have psychological Knopoff, L., and W. Hutchinson. 1981. “Information
reality and are automatically analyzable from avail- Theory for Musical Continua.” Journal of Music
able databases. For example, it would be interesting Theory 25(1):17–44.
to study entropy in harmonic progressions, but Knopoff, L., and W. Hutchinson. 1983. “Entropy as a
until better tools for automatic harmonic analysis Measure of Style: The Influence of Sample Length.”
Journal of Music Theory 27(1):75–97.
become available, there will be practical barriers to
Krahenbuehl, D., and E. Coons. 1959. “Information as a
implementing such a study.
Measure of Experience in Music.” Journal of Aesthetics
Future work might concentrate on providing bet- and Art Criticism 17(4):510–522.
ter automation tools to permit more sophisticated Krumhansl, C. L., and E. J. Kessler. 1982. “Tracing the
choices of musical parameters for analysis. It also Dynamic Changes in Perceived Tonal Organization in a
might focus on using categorization studies to bet- Spatial Representation of Musical Keys.” Psychological
ter understand which corpuses have psychological Review 89(4):334–368.

Margulis and Beatty 77


Lerdahl, F. 1988. “Cognitive Constraints on Com- Sadakata, M., P. W. M. Desain, and H. Honing. 2006.
positional Systems.” In J. Sloboda, ed. Generative “The Bayesian Way to Relate Rhythm Perception and
Processes in Music: The Psychology of Performance, Production.” Music Perception 23(3):267–286.
Improvisation, and Composition. Oxford: Oxford Saffran, J. 2003. “Statistical Language Learning:
University Press, pp. 231–259. Mechanisms and Constraints.” Current Directions in
Margulis, E. H. 2005. “A Model of Melodic Expectation.” Psychological Science 12(4):110–113.
Music Perception 22(4):663–714. Saffran, J., R. N. Aslin, and E. L. Newport. 1996.
Meyer, L. 1957. “Meaning in Music and Information “Statistical Learning by 8-Month-Old Infants.” Science
Theory.” Journal of Aesthetics and Art Criticism 274:1926–1928.
15(4):412–424. Saffran, J., et al. 1999. “Statistical Learning of Tone
Meyer, L. 1989. Style and Music: Theory, History, and Ide- Sequences by Human Infants and Adults.” Cognition
ology. Philadelphia: University of Pennsylvania Press. 70(1):27–52.
Narmour, E. 1990. The Analysis and Cognition of Basic Shannon, C. E. 1948. “A Mathematical Theory of Commu-
Melodic Structures. Chicago, Illinois: University of nication.” Bell Systems Technical Journal 27:379–423.
Chicago Press. Smets, G. 1973. Aesthetic Judgment and Arousal. Leuven,
Nettelheim, N. 1997. “A Bibliography of Statistical Belgium: Leuven University Press.
Applications in Musicology.” Musicology Australia Snyder, J. L. 1990. “Entropy as a Measure of Musical
20:94–106. Style: The Influence of A Priori Assumptions.” Music
Pearce, M. T., and G. A. Wiggins. 2006. “Expectation Theory Spectrum 12(1):121–160.
in Melody: The Influence of Context and Learning.” Temperley, D. 2004. “Communicative Pressure and
Music Perception 23(5):477–405. the Evolution of Musical Styles.” Music Perception
Pinkerton, R. C. 1956. “Information Theory and Melody.” 21(3):313–337.
Scientific American 194(2):77–86. Temperley, D. 2007. Music and Probability. Cambridge,
Poliner, G. E., et al. (2007). “Melody Transcription Massachusetts: MIT Press.
from Music Audio: Approaches and Evaluation.” Wundt, W. M. 1874. Grundzüge der Physiologischen
IEEE Transactions on Audio, Speech, and Language Psychologie [Foundations of Physiological Psychology].
Processing 15:1247–1256. Leipzig: Engelmann.
Ratner, L. 1980. Classic Music: Expression, Form, and Youngblood, J. E. 1958. “Style as Information.” Journal of
Style. New York: Schirmer. Music Theory 2(1):24–35.

78 Computer Music Journal

Você também pode gostar