11.07.2015 Views

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

music, computer 325program’s priority would ordinarily entitle it to a greatershare <strong>of</strong> the CPU.Multitasking should be distinguished from two severalsimilar-sounding terms. Multitasking refers to entirely separateprograms taking turns executing on a single CPU.Multithreading, on the other h<strong>and</strong>, refers to separate pieces<strong>of</strong> code within a program executing simultaneously butsharing the program’s common memory space. Finally, multiprocessingor parallel processing refers to the use <strong>of</strong> morethan one CPU in a system, with each program or threadhaving its own CPU (see multiprocessing).Further ReadingSilberschatz, Abraham, Peter Baer Galvin, <strong>and</strong> Greg Gagne. OperatingSystem Concepts. 7th ed. New York: Wiley, 2004.Tanenbaum, Andrew S., <strong>and</strong> Albert S. Woodhull. Operating SystemsDesign <strong>and</strong> Implementation. 3rd ed. Upper Saddle River,N.J.: Prentice Hall, 2006.Windows users can bring up a window listing all processes or tasksrunning on the system, <strong>and</strong> shut down any task that has stoppedresponding to input.might be happening to the previous program. Thus, if a program“crashes,” the CPU will still be switched to the nextprogram, <strong>and</strong> the user can maintain control <strong>of</strong> the system<strong>and</strong> shut down the <strong>of</strong>fending program.Systems with preemptive multitasking <strong>of</strong>ten give programsor tasks different levels <strong>of</strong> priority that determinehow big a slice <strong>of</strong> CPU time they will get. For example, the“active” program (in Windows, the one whose window hasbeen selected for interaction by the user) will be given preferenceover a background program such as a print spooler.Also, the operating system can more intelligently assignCPU time according to what a given program is doing.Thus, if a program is waiting for user input, it may be givenonly an occasional slice <strong>of</strong> CPU time so it can check to seewhether input has been received. (The user, after all, ismillions <strong>of</strong> times slower than the CPU.) When some input(such as a menu selection) is ready for processing, the programcan be given higher priority.Priority can be expressed in two different ways. Oneway is to move a program up in the list <strong>of</strong> running tasks (seequeue). This ensures it gets a turn before any lower-prioritytask. The other way is to have turns <strong>of</strong> varying length, withthe higher-priority program getting a longer turn.Even operating systems with preemptive multitaskingcan provide facilities that programs can use to communicatetheir own sense <strong>of</strong> their priority. In UNIX systems,this is referred to as “niceness.” A “nice” program givesthe operating system permission to interrupt lengthy calculationsso other programs can have a turn, even if themusic, computer<strong>Computer</strong>s have had a variety <strong>of</strong> effects on the performance,rendering, <strong>and</strong> composition <strong>of</strong> music. At the same time,the sound capabilities <strong>of</strong> st<strong>and</strong>ard personal computers haveimproved greatly, <strong>and</strong> music <strong>and</strong> other sounds have becomean integral part <strong>of</strong> games <strong>and</strong> educational s<strong>of</strong>tware (seemultimedia).After the invention <strong>of</strong> the vacuum tube, a number <strong>of</strong> electronicinstruments were devised. The best known is the theremin,invented by Lev Termin, a Russian physicist, in 1919.The instrument consists <strong>of</strong> a vacuum tube connected to twoantennas. The player varies the pitch <strong>and</strong> volume <strong>of</strong> its eeriesound by moving his or her h<strong>and</strong>s near the antennas.Some composers became fascinated by electronic music,both for its sense <strong>of</strong> modernity <strong>and</strong> its promise <strong>of</strong> breakingthe bonds <strong>of</strong> traditional form <strong>and</strong> instrumentation. In 1953,German composer Karlheinz Stockhausen (1928–2007)founded an Electronic Music Studio in Cologne <strong>and</strong> createdelectronic works.Meanwhile, inventors experimented with electronic synthesizerssuch as the RCA MKI <strong>and</strong> MKII, which used vacuumtubes <strong>and</strong> could be programmed with punched papertape. The advent <strong>of</strong> solid-state circuitry in the 1960s madesynthesizers far more reliable <strong>and</strong> compact. The Moog synthesizerin particular became a staple <strong>of</strong> leading-edge rock<strong>and</strong> avant-garde music. It was now time for the computer tocatch up to the potential <strong>of</strong> electronic sound.In the 1970s, digital music synthesizers with keyboards<strong>and</strong> microprocessor-controlled sound generation becameavailable to adventurous (<strong>and</strong> fairly well-to-do) musicians.Ray Kurzweil’s digital music synthesis system, introducedin 1984, achieved a new level <strong>of</strong> sonic realism by usingprogramming stored in read-only memory (ROM) to emulatesubtle characteristics such as attack <strong>and</strong> timbre, realisticallyre-creating the sounds <strong>of</strong> many types <strong>of</strong> orchestralinstruments.<strong>Computer</strong> music synthesis enabled composers to experimentwith algorithmic composition. That is, they could useprograms to create new works by combining r<strong>and</strong>omizationwith the permutation <strong>of</strong> patterns (serialism). Compositions

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

Saved successfully!

Ooh no, something went wrong!