Summation 2008 - A Publication of the Ripon College Math and Computer Science Department

Page 1

Summation May 2008, pp. 1-7 http://ripon.edu/macs/summation

Using Mathematics to Write Music: A Study of Stochastic Transformations Erin K. Beggs Department of Mathematics and Computer Science – Ripon College Abstract—It is a well-known fact that mathematics and music have many connections. In this paper we discuss some of the different ways that one can write music using mathematics. We also test two of these methods as well as a new one created from them to see if they create enjoyable music. We use logistic regression to test the songs and compare them to two published songs. It turns out that there is evidence to support the claim that these methods do create enjoyable music. Key Words—Mathematics and music, logistic regression, stochastic transformations.

M

I. INTRODUCTION

and music are two professional fields that have a lot in common. Many people know that patterns are the big connection between the two, however they do not realize that mathematics can actually be used to write music. This can be done in many ways. The primary methods discussed in this paper will be stochastic transformations. Composers have been writing music using stochastic transformations for years, sometimes without even realizing it. Since I enjoy both mathematics and music I am hoping to find ways that an educator can use both of them in the classroom. This paper will discuss a general background of the connections between mathematics and music, followed by different ways that mathematics can be used to write music. Both of these topics will be discussed in section II. In section III the study that I performed will be presented along with a model used to analyze the data. Section IV presents the results and analysis of the study. Finally, section V will discuss the conclusions made from this study along with recommendations for future work and connections to the realm of education. ATHEMATICS

II. MATHEMATICS RELATIONSHIPS IN MUSIC A. Background Before one can fully understand the methods of writing music using mathematics, there are a few details that should be covered, the first of these is pitch. Pitch is the pattern of air pressure movements created from the sounds waves. We can see two examples of these patterns in Figure 1. Figure 1a Work presented to the college March 20, 2008 as the first paper in the Mathematics and Computer Science in a Professional World series E. K. Beggs plans to continue her education at Ripon College, Ripon, WI 54971 USA (email: beggse@ripon.edu).

shows the pattern created by a clarinet, whereas Figure 1b shows the pattern created by the white noise of a television set. It is easy to see from these figures that the clarinet makes a repeating pattern, whereas the white noise has a more stochastic pattern [1]. Pitch is commonly referred to as frequency and is measured in Hertz, abbreviated Hz. A Hertz is determined by the inverse of the time in seconds, or 1/s for the pattern to repeat. As humans, we can hear a range of frequencies from 20-20,000 Hz. We have very sensitive ears and can hear a wide range of frequencies [1]. In order to move from one frequency to another, one must move semitones. The number of semitones is directly related to the number of keys on a piano that one must move to get to another note. That number of keys is the number of semitones. Figure 2 shows the correspondence between semitones and the keys on a piano. The ratios of the frequencies of notes give harmonics. We refer to some of the common ratios as intervals. For example, a third, a fourth, and an octave are all ratios of frequencies. Table I shows some different intervals, their corresponding frequency ratios, and the number of semitones need to be moved in order to move that interval [2]. Any combination of these intervals can be used. However, not every combination will work the way it is expected to. For example, if we start with an original frequency f, and go up a fourth to (4/3) f, then go up another sixth to (4/3)(5/3) f, or (20/9) f, we have then moved a total of fourteen semitones. However, if we start at the same original frequency f, and go up a fifth to (3/2) f, then go up another fifth to (3/2)(3/2) f, or (9/4) f, then we again have moved a total of fourteen semitones, however, the final frequencies are not the same, (20/9)≠(9/4), thus the two notes would be different, even though the number of semitones moved was the same. Situations like this necessitate the practice of tuning. When musicians tune an instrument they are manipulating the

TABLE I FREQUENCY INTERVALS Interval

Frequency

Semitones

Third 5/4 4 Fourth 4/3 5 Fifth 3/2 7 Sixth 5/3 9 Octave 2/1 12 The relationship between common ratios, frequencies and semitones used in music.

1


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.