Вы находитесь на странице: 1из 5

example, by running our computer at

a rate of 30,000 numbers per second,


we can generate sound waves with fre-
quencies from 0 to 15,000 cycles per
second. Waves in this frequency range
are about the only ones the human ear
The Digital Computer can perceive.
The signal-to-quantizing-noise ratio
as a Musical Instrument of the sound wave depends on the ac-
curacy with which the amplitudes of
the pulses are represented. Computers
A computer can be programmed to play "instrumental" deal with a finite number of digits and,
hence, have limited accuracy. However,
music, to aid the composer, or to compose unaided. the computer limits are more than suf-
ficient acoustically. For example, am-
M. V. Mathews plitudes represented by four-digit deci-
mal numbers, are accurate to within 1
part in 10,000, an accuracy which rep-
resents a signal-to-noise ratio of 80
decibels; this is less noise than the ear
With the aid of suitable output equip- chine for composing music. It can eith- can hear, and less noise than would be
ment, the numbers which a modern dig- er compose pieces based entirely on introduced by any audio equipment,
ital computer generates can be directly random numbers generated by itself or such as the best tape recorder.
converted to sound waves. The process it can cooperate with a human com- The sampling process just described
is completely general, and any perceiv- poser. It can play its own compositions. is theoretically unrestricted, but the gen-
able sound can be so produced. This Here I first describe the process for eration of sound signals requires very
potentiality of the computer has been converting numbers to sounds, then I high sampling rates. The question
of considerable use at the Bell Tele- describe a program for playing music. should immediately be asked, "Are
phone Laboratories in generating stim- Next I consider a psychoacoustic prob- computers of the type now available
uli for experiments in the field of lem which is typical of those posed in capable of generating numbers at these
hearing, and for generating speech attempts to make mnore interesting rates?" The answer is "Yes," with
sounds and connected speech in inves- sounds. Finally, I look to the future, some qualifications. A high-speed ma-
tigations of the factors which contribute to the time when the computer is itself chine such as the I.B.M. 7090, using
to the intelligibility and naturalness of the composer. the programs described later in this
speech. article, can compute only about 5000
The quality of sound is of great im- numbers per second When generating a
portance in two fields-that of speech Sound from Numbers reasonably complex sound. However,
and communication and that of music. the numbers can be temporarily stored
Our studies at the Bell Laboratories in How can the numbers with which a on one of the computer's digital mag-
the first of these fields have led us, computer deals be converted into netic tapes, and this tape can subse-
over the past few years, to related sounds the ear can hear? The most quently be replayed at rates up to
studies in the production of musical general conversion is based upon the 30,000 numbers per second (each
sounds and their organization into mu- use of the numbers as samples of the number being a 12-bit binary number).
sical compositions. I believe that this sound pressure wave. A schematic dia- Thus, the computer is capable of gen-
by-product of our work on speech and gram of this process is shown in Fig. 1. erating wideband musical sounds. Be-
hearing may be of considerable value Here a sequence of numbers from the cause of the cost of computer time,
in the world of music, and that further computer is put into an analog-to-dig- we often limit our studies to those for
work in this direction will be of sub- ital converter, which generates a se- which the computer is run at lower
stantial value in furthering our under- quence of electric pulses whose am- rates, such as 10,000 numbers per sec-
standing of psychoacoustics. plitudes are proportional to the num- ond-a rate which yields a bandwidth
There are no theoretical limitations bers. These pulses are smoothed with a of 5000 cycles per second.
to the performance of the computer as filter and then converted to a sound The direct conversion of numbers to
a source of musical sounds, in contrast wave by means of an ordinary loud- sound is only one of the ways in which
to the performance of ordinary instru- speaker. Intuitively, we feel that if a the computer can generate sounds. An
ments. At present, the range of com- high enough pulse rate is used and the alternate procedure is to use the num-
puter music is limited principally by amplitudes of the pulses are generated bers from the computer to control elec-
cost and by our knowledge of psycho- with sufficient precision, then any sound tronic apparatus such as oscillators and
acoustics. These limits are rapidly re- wave can be closely approximated by filters, which,- in turn, generate the
ceding. this process. Mathematically, it has sounds. These processes have been car-
In addition to generating sound, the been established (1) that this conclu- ried out by the Radio Corporation of
computer can also function as a ma- sion is correct. A sound wave with fre- America music synthesizer (2) and by
quencies from 0 to B cycles per second a machine constructed at the Univer-
The author is director of the Behavioral Re- can be generated from a sequence of
search Laboratory, Bell Telephone Laboratories, sity of Illinois (3). This procedure has
Murray Hill, N.J. two B pulses per second. Thus, for the advantage that a much lower rate
1 NOVEMBER 1963
553
:AKER in computer language, the character-
istics of a set of musical instruments.
The program unit that represents the
instrument (or the "instrument unit")
may be as simple or as complex as he
desires. He then prepares a score con-
sisting of a list of notes to be played
SEQUENCE OF SEQUENC-E OF SOUPSJD PRESSURE on the instrument-units he has created.
NUMBERS FROM PULSES'WITH WAVE OBTA INED The samples of sound wave are gen-
COMPUTER AMPLIT UDE BY S
MEMORy PROPORITIONAL PUL'SES erated by putting the score, in a form
MMRTO NUMIBERS

:1
the machine can read, into the com-
r
puter, together with the instrument-
0 to 20 6 13 16 12 11 15-- 2
units, and turning on the computer.

:
Zu -
uL U
L 10
..
N/wo
.. .. --L
.. II
.. .. IlNJ r 11 . .. - ~
The numerical output is recorded on
a digital magnetic tape for subsequent
conversion to acoustic form.
The interconnected blocks of pro-
_JO gram which make up the instrument-
< ; -10 unit are called unit generators. There
.n 0o
a -20 -
0 2
are a number of different types of unit
generators, each of which has a spe-
0. TIME (MILLISECONDS) cific function. A typical instrument-
unit is shown in Fig. 2. This instru-
Fig. 1. Schematic diagram depicting the conversion of a sequence of n
in a computer memory to a sound pressure wave form. The sampling umtbers 10oe0d ment-unit is composed of five unit
numbers per second to yield a bandwidth of 5000 cycles per second for tbie sound wave, generators; three of them are oscilla-
tors, one is a random-number gener-
ator, and one is a summing circuit.
of output is required from the com- devised for computing the samples Each oscillator has two inputs and one
puter, and hence the computation costs from a simple set of parrameters. The output. The upper input specifies the
are less. The disadvantage is that the central contribution of t]he Bell Tele- amplitude of the output; the lower in-
only sounds that can be generated are phone Laboratories to co ,mputer music put specifies the frequency of the out-
those produced by the particular elec- is a program for computing the many put. The wave shape of the output
tronic apparatus employed, and hence samples in a note from thLe few param- need not be sinusoidal and can, indeed,
the generality of the sampling process eters characterizing it. T'he details of be any one of 20 arbitrary functions
is not attainable. the program determine the limits of stored in the computer memory. In
The work described here, which was the sounds now obtainab le (from the the example given, the wave shapes are
done at the Bell Telephone Laborator- standpoint of practicality) with a com- sketched on the oscillators, oscillator 1
ies, is based entirely on the sampling puter. The program repr esents a com- producing a damped sinusoid, oscillator
method. promise between a generral procedure, 2, a triangular attack-and-decay func-
through which any sou Lnd could be tion, and oscillator 3, a sinusoid.
produced but which wouild require an This particular instrument-unit pro-
Playing a Computer inordinate amount of wor k on the part duces notes with controlled attack and
of the composer, and a very simple decay and with a frequency variation
To specify individually 10,000 to procedure, which would too greatly or vibrato. Oscillator 1 produces the
30,000 numbers for each second of limit the range of music,al sounds ob- main frequency, which, for example,
music is inconceivable. Hence, the tainable. In order to give the composer for note A of the musical scale would
numbers-to-sound conversion is useless flexibility between these Itwo extremes, be about 440 cycles per second. The
musically unless a suitable program the program is divided irito two parts. amplitude of the output of oscillator 1
(set of computer instructions) can be In the first part the comp)oser specifies, is modified by oscillator 2, which im-
poses a desired attack-and-decay func-
tion. The frequency of oscillator 2 is
Table 1. A typical computer score. The corresponding conventional score is sshown in Fig. 3. such that it goes through exactly 1
Loud- Periodic vibrato I
cycle of oscillation per note. Such low
S
Opera- Instru- tart- Dura- ness Fre- frequency operation is quite feasible
tion ment time tion (arbi- quency Ampli- Fre- Ampli- Band- for oscillators used in computer pro-
code No. (sec) (sec) trary (cy/sec) tude quency tude width grams. The amplitude of the note is
units) (cy/sec) (cy/sec) cy/sec) (cy/sec)
controlled by the upper input to oscil-
Play 1 0.0 0.25 1 466 0 0 7.0 6 lator 2, and this amplitude is one of
Play 1 .5 .25 3 698 0 0 10.5 7
Play 1 1.0 .125 5 698 0 0 10.5 7.5 the input parameters which the com-
Play 1 1.5 .125 7 698 0 0 10.5 8 poser must specify for each note. The
Play 1 2.0 .25 9 932 0 0
Play 1 2.25 .125 10 784 0 0 14.7 95 frequency of oscillator I is the sum of
Play 2 0.5 .50 1 116.5 1.7 6 0 0 three components, one being the center
Play 2 1.5 .25 5 156 2.3 7 0 0 frequency of the note (an input param-
Play 2 2.0 .125 10 233 3.5 8 0 0
eter), the other two being a periodic
554 SCIENCE, VOL. 142
and a random vibrato, respectively. no more complicated than drawing a
The amplitudes and frequencies of the diagram such as that of Fig. 2. About 60
periodic and the random vibratos can ten different types of generators are IA I * 4

be controlled separately, and thus these available, and new ones may easily be -
'bp^ U u et-c-
amplitudes and frequencies constitute defined. However, the generators most
four additional input parameters. The
random generator is a unit whose aver-
frequently used are those shown sche-
matically in Fig. 2. Most composers
. A

age amplitude is controlled by its upper wish to use a number of instrument-


input, and whose bandwidth, or aver- units, and these are distinguished sim-
age rate of variation, is controlled by ply by identifying numbers. If two or
its lower input. more instrument-units are to play si- Fig. 3. A conventional score, correspond-
ing to the computer score of Table 1.
Each of the unit generators consists multaneously, the samples they gener-
of a block of a few computer instruc- ate are simply added together. This
tions. By assembling particular groups operation corresponds to the addition
of generators, almost any desired prop- of the sound pressure waves from quired by the instrument-unit. Both the
erties of the output sound wave may several sources in air. number of these parameters and their
be achieved and controlled. The com- arrangement depend entirely upon the
putation time is roughly proportional specifications the composer has sup-
to the number of generators, and the The Score plied.
number of input parameters tends to To play the music, the computer
increase with the number of genera- Once the composer has supplied reads a line from the score, at the ap-
tors. Thus, complexity of the instru- specifications for the orchestra, he propriate time inserting the parameters
ment-unit is paid for both in terms of must prepare a score giving the param- given in the score into an instrument-
computer time and in terms of the eters of the notes he wishes played. An unit and activating the instrument-unit
number of parameters the composer example of a score is given in Table 1. so that it may generate numbers equiv-
must supply for each note. In general, It corresponds to the conventional mu- alent to the duration of the note. The
the complicated instrument-units pro- sical score of Fig. 3. Two instrument- entire sequencing process is automat-
duce the most interesting sounds, and units, of the type shown in Fig. 2, are ically taken care of by the program
the composer must make his own com- assumed to be available; these are des- and need not concern the composer.
promise between interest, cost, and ignated instrument 1 and instrument 2.
work. Column 1 of Table 1 is an operation
In supplying specifications for an code which indicates that a note is to Musical Examples
instrument-unit, the composer does not be played; column 2 designates the
have to be concerned with the com- instrument-unit on which the note is to The best way to form an opinion
puter instructions represented by each be played; column 3 gives the .starting about computer music is to listen to
unit generator. A simple language is time of the note; column 4 gives the some. A commercial record is now
available by means of which he can duration of the note; and columns 5 available (4). However, a certain
supply the specifications in a manner to 10 supply the input parameters re- amount of discussion may be useful.
A large number of compositions have
now been produced by computer. They
Osc2 range from 16th-century music for the
AMPLITUDE------ recorder to 12-tone music; from classi-
cal to popular music; from serious
I compositions by professional compos-
DURATION OF NOTE ers to acoustic experiments by psychol-
ogists; from pieces formed entirely of
FREQUENCY-- ---- conventional tones to pieces formed
entirely of random noise.
MAXIMUM FREQUENCY OSC3 An outstanding advantage is the
DEVIATION OF -
precision of the computer. Effects are
PERIODIC VIBRATAO
exactly reproducible. Very complex ef-
RATE OF fects, such as simultaneous synchro-
PERIODIC VIBRATO
nous tremolo and vibrato of two notes,
can be obtained. Exact rhythmic pat-
MAXIMUM FREQUENCY
DEVIATION OF terns, such as the playing of seven
RANDOM VIBRATO notes in one voice against five notes in
RATE OF --
another voice, are as easy to produce
RANDOM VIBRATO as any other note sequence. Chords
can be shifted in frequency with a glis-
sando while the frequency ratios of the
Fig. 2. Schematic diagram of a typical instrument-unit in the computer orchestra. The various voices are maintained.
diagram represents a section of the computer program. In order for the computer to
produce a note, numerical values for the note parameters shown at the left of the The computer is also very flexible.
diagram are stored in the program. The program then generates samples of the sound When sufficient effort has been ex-
pressure wave form. pended in supplying specifications for
1 NOVEMBER 1963 555
2.5, stead, one writes down and gives the surprise is the dominance of the rates
\ o1.S MILLISECONDS computer a sequence of numbers. of attack and decay in determining the
\ . DIFFERENCE IN The computer has proved to be of character of a sound. These rates are
r ISE TIMES
2.0 more use to the composer who wishes a much more significant factor than
to produce new compositions with new the harmonic composition. Thus, a
wX sounds than to the performer who "violin," if artificially given the attack-
2
- Ie 1.5S wishes to duplicate existing music. It and-decay characteristic of a piano,
/ is difficult and expensive to copy all sounds much more like a piano than
IS s I MTO 3/2
the acoustic details of conventional a "piano" does when it is given the
CZO1
I o
1.01- instruments well enough to produce attack-and-decay characteristic of a
0z excellent instrumental sounds. Hence, violin.
xiy
the playing of pieces already written Another unexpected result is the im-
0.5 for existing instruments seems better portance of suitable random variations
left to the-instrumental performer. in almost all parameters of a note for
The most apparent limitation in the introducing richness and interest. A
l
0
I
10 20 30 40 field of computer music results from sound which is otherwise quite plain
RISE-TIME (MILLISECONDS) lack of adequate knowledge of the can be greatly improved by introducing
Fig. 4. Ratios of two rise times that are
sound of a given pressure wave. The a random variation of up to 50 percent
just discriminable (discriminable 75 per- computer sounds are described in in its amplitude, at an average rate of
cent of the time) as a function of the terms of the waveshapes produced by something between 8 and 20 cycles per
shorter of the two rise times. For times the unit generators in the instrument- second, and by introducing a random
greater than 5 milliseconds, the ratio of units. This method for describing variation of perhaps 1 percent in its
discriminability is about 3/2. For times sound is quite different from the meth- frequency, at a similar rate.
shorter than about 5 milliseconds, the
ratio corresponds to a difference of 1.5 od of ordinary music, in which the
milliseconds in rise times. sound is specified by the instrument
which produces it, when certain in- Psychoacoustic Questions
structions have been received by the
the instrument-unit, almost any sound performer. Musicians have had a great Our musical studies with the com-
effect can be produced, provided the deal of experience in listening to the puter indicate that, in this area, the
wave form of the sound can be de- sounds produced by violins, oboes, major problem to be overcome by a
scribed. horns, and other instruments and are composer concerns the relation of the
It is very easy to use the computer well able to predict the contribution physical description of the sound
in this way. The electronic equipment of these instruments to the total sound. waves to the psychoacoustic effects
(computer and output equipment) has By comparison, computer musicians which he desires. Contrary to the sit-
been constructed once and for all. have had very little experience in try- uation with conventional instruments,
There are no soldering irons, tape- ing to predict the effect of a given har- with the computer the composer him-
splicings, or even knob-twistings in- monic-composition factor or a given self is solely responsible for the sound.
volved, as there are with other elec- attack-and-decay function on the tim- He has no conductor to interpret his
tronic equipment for producing music. bre of a note. composition. He himself must give
No manual dexterity is required. In- An example of a psychoacoustic careful consideration to even such a
simple matter as the relative loudness
of the instruments in a group.
z
Our experience has shown how little
we now know about the relation of
I- U)
< the quality of sound to various features
OL) of waveform. A new body of psycho-
or
W y)
acoustic data is necessary. These data
0
W should relate the properties of the
z acoustic waves of music to perceived
qualities of sound. Part of the task of
assembling these data can, of course,
be given to the composer, and part of
cU) the data can be supplied by interested
U)
W
z
psychologists. An increase in knowl-
0 edge in this field is bound to be of
0
-j
value and interest in other fields, in-
cluding those of speech and hearing.
Typical of the sort of new knowl-
edge that is needed is knowledge con-
180 240 cerning the rate of attack of a note.
TIME (SECONDS) As already noted, this parameter has
a strong influence on the timbre, and
Fig. 5. Section of a score prepared for a study by J. C. Tenney. The average values if the composer is to make use of it
for note-duration and loudness are shown by the solid lines as functions of playing
time. The allowable range of variation of these parameters is shown by the dashed he must know how small a change in
lines surrounding the solid lines. rate is perceptible. Not being able to
556 SCIENCE, VOL. 142
find these data in the literature, J. C. Furthermore, the theme can be modi- avoid having to write out all the indi-
Tenney made a small study. The re- fied in simple ways: it can be trans- vidual notes in a piece of music in order
sults are shown in Fig. 4. Here the posed to another pitch range or played to express his ideas-that he will be
just-detectable difference in the rise upon a different instrument; its tempo able, rather, to write directly in param-
times of two tones is shown as a func- can be changed or its loudness modi- eters that are much more closely re-
tion of the shorter of the two rise fied. Harmonization of the theme ac- lated to his musical objectives, letting
times. These data indicate that, for cording to simple rules is possible. the machine generate the individual
rise times longer than about 5 milli- Other means of modifying or develop- notes. Whether this objective can be
seconds, a ratio of 3 to 2 is just detect- ing a theme in interesting ways may attained remains to be seen.
able. For times shorter than 5 millisec- be forthcoming. The composer could,
onds, a difference of 1.5 milliseconds perhaps, form a composition from a
is necessary. Using these data, the com- set of thematic material, which he sup- The Future of Computer Music
poser can select a "scale" of attack plied, and a set of fixed transforma-
functions which are separated by inter- tions. I have indicated how almost any
vals that are equal in terms of the At present, the music-playing pro- sound can be produced by treating the
listener's ability to differentiate be- gram has been modified so as to make numbers generated by a computer as
tween the attack functions. Such data transformational development of a samples of the sound pressure wave.
are typical of those required by a theme possible. Certain of the sim- A very high sampling rate is required,
composer. plest transformations have been pro- and, if this process is to be useful
grammed. These include all those men- musically, programs for generating
tioned above, with the exception of samples from the parameters of notes
Composing with the Computer harmonization. As yet not enough must be written. A broad set of these
music has been generated to assess the programs is now available and has
So far I have described use of the significance of this approach. been used for playing, on an experi-
computer solely as a musical instru- A slightly different method has been mental basis, a wide range of music.
ment. The composer writes one line of tried by Tenney. His approach is a Additionally, studies are being made
parameters for each note he wishes compromise between a purely random on possible uses of the computer as an
played and hence has complete control and a completely specified composi- aid in composing. In such studies the
of the note. He is omnipotent, except tion. The parameters of the individual computer usually plays its own compo-
for lack of control over the noise pro- notes of the composition are generated sitions and constitutes a composer-
duced by the random-number unit gen- as a sequence of independent random player team.
erators. Here a minor liberty is allowed numbers by a random-number routine. Computer music appears to be very
the computer. However, the average value and the promising technically. However, the
However, composing-programs are variance of these parameters are speci- method will become significant only if
a reasonable area of computation, and fied by the composer as functions it is used by serious composers. At
work in this direction has already been which change slowly throughout the present, our goal is to interest and
done by Hiller (5), Olson (6), Brooks composition. The "score" of a section educate such musicians in its use. We
(7), and others. A number of different of one of Tenney's works is shown in believe that competent work in the
approaches can be taken toward com- graphic form in Fig. 5. The means and field can benefit not only music but the
position by computer. At one extreme, variances of the note-durations, loud- whole field of psychoacoustics.
the computer can be given a set of ness, and other parameters of the vari-
rules, plus a random-number genera- ous voices are controlled. Indeed, the References and Notes
tor, and can simply be turned on to number of voices playing at a given 1. C. E. Shannon, Bell System Tech. J. 27, 379
generate any amount of music. Hiller's (1948).
time is controlled. By this relatively 2. H. Olson, H. Belar, J. Timmens, J. Acoust.
work is perhaps closest to this extreme. simple algorithm, a long-range struc- Soc. Am. 32, 311 (1960).
In the opposite direction, the human ture which can be clearly recognized 3. A musical output for the csx-1 computer in
the Coordinated Science Laboratory at the
composer can maintain close control of by the ear is imposed on the composi- University of Illinois was constructed by J.
the music, using the computer merely tion. Thus, one of the characteristic Divilbis. No written description is as yet
available.
to avoid some of the repetitious and shortcomings of random compositions 4. "Music from Mathematics." Decca record
tedious work involved in representing -a lack of long-range structure-can 5. DL 9103 Monaurl or DL 79103 Binaurl.
L. Hiller, Jr., and L. Isaacson, Experimental
his musical ideas. Once a theme with be overcome. Music (McGraw-Hill, New York, 1959).
6. H. Olson and H. Belar, J. Acoust. Soc. Am.
many notes has been written, a pro- The use of computers as an aid in 33, 1163 (1961).
gram can be devised for repeating the F. Brooks, Jr., A. Hopkins, Jr., P. Newmann,
composition is still very new. We hope 7. W. Wright, IRE (Inst. Radio Engrs.) Trans.
theme by means of a single instruction. that by this means the composer can Electron. Computers EC-6, 175 (1957).

1 NOVEMBER 1963 557

Вам также может понравиться