28.02.2013 Views

Introduction to Acoustics

Introduction to Acoustics

Introduction to Acoustics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0<br />

–30<br />

(dB)<br />

–60<br />

0 1.5 3<br />

4.5<br />

(kHz)<br />

Fig. 17.44 Banded decomposition of a struck-bar spectrum<br />

sampling in time, space, and frequency <strong>to</strong> model stiff<br />

one-dimensional systems [17.38]. This can be viewed<br />

as a hybrid of modal and waveguide synthesis, in that<br />

each waveguide models the speed of sound in the region<br />

around each significant mode of the system. As an example,<br />

Fig. 17.44 shows the spectrum of a struck marimba<br />

17.9 Music Description and Control<br />

The musical instrument digital interface (MIDI) standard,<br />

adopted in 1984, revolutionized electronic music,<br />

and also profoundly affected the computer industry<br />

[17.39]. A simple two-wire serial electrical<br />

connection standard allows interconnection of musical<br />

devices and computers over cable distances of up <strong>to</strong><br />

15 m (longer over networks and extensions <strong>to</strong> the basic<br />

MIDI standard). The MIDI software pro<strong>to</strong>col is best described<br />

as musical keyboard gestural, meaning that the<br />

messages carried over MIDI are the gestures that a pianist<br />

or organist uses <strong>to</strong> control a traditional keyboard<br />

instrument. There is no time information contained in<br />

the basic MIDI messages; they are intended <strong>to</strong> take ef-<br />

MIDI serial data transmission<br />

31.25kBaud, 1 Start, 8 Data, 1S<strong>to</strong>p bit<br />

Asynchronous bytes<br />

“Mark”<br />

1sssssss 0ddddddd<br />

If first bit = 1 then status byte<br />

If first bit = 0 then data byte<br />

Typical message: 10010000 00111100 01000000<br />

Meaning: NoteOn Note = 60 Velocity = 64<br />

Chan= 0 (middle C) (1/2 sort of)<br />

Fig. 17.46 MIDI software transmission pro<strong>to</strong>col<br />

•••<br />

Controls<br />

Force<br />

Velocity<br />

Position<br />

Computer Music 17.9 Music Description and Control 735<br />

Mallet<br />

/bow<br />

+<br />

BP<br />

BP<br />

BP<br />

Delay<br />

Delay<br />

Delay<br />

Fig. 17.45 Banded waveguide model<br />

Sound output<br />

bar, with additional bandpass filters superimposed on<br />

the spectrum, centered at the three main modes. In the<br />

banded waveguide technique, each mode is modeled by<br />

a bandpass filter, plus a delay line <strong>to</strong> impose the correct<br />

round-trip delay, as shown in Fig. 17.45.<br />

fect as soon as they come over the wire. As such it is<br />

a real-time gestural pro<strong>to</strong>col, and can be adapted for realtime<br />

non-musical sound synthesis applications. There<br />

are complaints about MIDI, however, mostly related <strong>to</strong><br />

limited control bandwidth (approximately 1000–1500<br />

continuous messages per second maximum), and the<br />

keyboard-centric bias of the messages.<br />

Basic MIDI message types include NoteOn and<br />

NoteOff, sustain pedal up and down, amount of modulation<br />

(vibra<strong>to</strong>), pitch bend, key pressure (also called<br />

AfterTouch), breath pressure, volume, pan, balance, reverberation<br />

amount, and others. NoteOn and NoteOff<br />

messages carry a note number corresponding <strong>to</strong> a particular<br />

piano key, and a velocity corresponding <strong>to</strong> how<br />

hard that key is hit. Figure 17.46 shows the software serial<br />

format of MIDI, and gives an example of a NoteOn<br />

message.<br />

Another MIDI message is program change, which is<br />

used <strong>to</strong> select the particular sound being controlled in<br />

the synthesizer. MIDI provides for 16 channels, and the<br />

channel number is encoded in<strong>to</strong> each message. Each<br />

channel is capable of one type of sound, but possibly<br />

many simultaneous voices (a voice is an individual<br />

sound) of that same sound. Channels allow instruments<br />

and devices <strong>to</strong> all listen on the same network, and choose<br />

<strong>to</strong> respond <strong>to</strong> the messages sent on particular channels.<br />

General MIDI (1991), and the standard MIDI file<br />

specifications serve <strong>to</strong> extend MIDI and made it even<br />

more popular [17.40]. General MIDI helps <strong>to</strong> assure<br />

Part E 17.9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!