22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

700 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

C=TNRB T= C<br />

NRB<br />

R= C<br />

TNB<br />

N= C<br />

TRB<br />

B= C<br />

TNR<br />

where T is sound storage time in seconds, C is storage capacity in bytes, N is<br />

the number <strong>of</strong>sound channels (1 for mono, 2 for stereo, etc.), R is the sample<br />

rate in samples per second, and B is the number <strong>of</strong> bytes per sample (2 for 16­<br />

bit samples, 1.5 for 12-bit samples, etc.). Thus, with a 10M byte storage<br />

capacity, 16-bit samples, two channels, and 40-ks/s sample rate, the program<br />

length would be just over a minute. Conversely, one channel, 12-bit samples,<br />

and 25-ks/s would be over 4 min with only a slight effect on sound quality.<br />

One way to avoid the tyranny <strong>of</strong> these numbers is to use two mass storage<br />

devices with removable media. Then, assuming that the storage media can be<br />

swapped on one unit before the other is exhausted, one can obtain indefinite<br />

program lengths with a little manual intervention. Seldom are synthesis<br />

results archived on expensive computer media. Instead, when the project is<br />

complete, it is converted into analog form and recorded on conventional<br />

audiotape.<br />

In the past, half-inch-wide digital magnetic tape was <strong>of</strong>ten used for<br />

sample storage, since disk space was simply too expensive to consider and the<br />

tape media was relatively cheap at around a dollar per megabyte. Such tape<br />

units are still used on large mainframe computers but are almost never seen<br />

on a microcomputer because <strong>of</strong> size (a moderate performance unit is as big as<br />

a large microwave oven and weighs 100 pounds) and expense ($2,000 and<br />

up). They are also clearly not random-access devices, which is necessary for<br />

applications other than strict sequential synthesis. Some <strong>of</strong> the newer<br />

"streaming" tape drives intended for backup <strong>of</strong> fixed disk data have potential<br />

for sample storage but tend to be as expensive as a disk <strong>of</strong> the same capacity<br />

and much less flexible.<br />

Today, disks are almost universally used for sample storage. "Hard"<br />

disk drives with 5, 10, or even 20M byte capacity are so popular and<br />

reasonably priced now that they are built into many 16-bit microcomputers<br />

as standard equipment. Larger-capacity external units with 40, 80, and even<br />

160M byte capacity are available, although the cost starts pushing past<br />

$2,000. These are all "fixed-media" disk drives, which means that the disk<br />

cannot be removed. Thus, sample data competes for storage space with the<br />

operating system and other programs and data stored on the disk. Removable<br />

media hard disk drives for microcomputers generally have capacities <strong>of</strong>only 5<br />

or 10M byte, but, as mentioned earlier, two such drives could provide<br />

unlimited program length with some manual swapping. Even modern floppy<br />

disk drives can perform satisfactorily in many applications. Units are now<br />

available with up to 2.5M bytes on a 5-inch diskette, but the data transfer<br />

rate is limited to about 40K bytes per second.

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

Saved successfully!

Ooh no, something went wrong!