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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

356 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

is drawn. With a pixel display, additional hardware is generally necessary to<br />

determine the X and Y positions <strong>of</strong> the beam when the pulse occurs. In either<br />

case, one can easily point to an object on the screen and the program can<br />

ascertain which object it is or its location.<br />

Drawing on the screen where nothing currently exists is a little more<br />

difficult. In practice, a tracking pattern is displayed, which the user can point<br />

to and move around. The path followed by the pattern then becomes the<br />

drawn line. Various types <strong>of</strong> tracking patterns are used, but the circle type is<br />

easiest to understand. A circle <strong>of</strong>dots is displayed that has a diameter slightly<br />

larger than the acceptance area <strong>of</strong> the light pen. As long as the pen points to<br />

the center region, no light is seen and the pattern remains stationary. Pen<br />

movement in any direction, however, will put one <strong>of</strong> the dots in sight <strong>of</strong> the<br />

pen. The tracking program in the computer will respond by moving the<br />

entire pattern such that the new pen position is in the center. Besides<br />

drawing lines, interactive graphics s<strong>of</strong>tware can provide for "attaching" the<br />

tracking pattern to an object, which can then be positioned as desired.<br />

Unfortunately, a vector display or extremely fast computer is just about<br />

mandatory for this degree <strong>of</strong> interaction.<br />

Light pens do have their problems, however. In general, they must be<br />

carefully tuned to the display used such as by adjusting the focus length to<br />

match CRT faceplate thickness. For tracking applications, the CRT brightness<br />

needs to be tightly controlled to avoid the effects <strong>of</strong> light scattering<br />

within the CRT faceplate and ambient light. Short persistence phosphors are<br />

necessary for good pulse resolution, although long persistence visible short<br />

persistence infrared types exist. Obtaining the necessary speed at low light<br />

levels is a design problem that increases cost. Nevertheless, a properly functioning<br />

light pen is a joy to use and probably the best interactive graphics<br />

input device available short <strong>of</strong> mind reading.<br />

Finally, most interactive graphics setups use a standard typewriter<br />

keyboard and a special function keyboard. Each function key is set up to<br />

instruct the interactive program to perform a specific function each time the<br />

key is pressed. The actual function <strong>of</strong> a particular key is entirely dependent<br />

on the particular interactive s<strong>of</strong>tware in use at the time. For example, six<br />

keys may be reserved to control the display. One might expand the image<br />

5% when pressed and a second could shrink it 5%. Four more could move<br />

the entire display left, right, up, or down. Other <strong>of</strong>ten-used interactive<br />

functions may be assigned to other keys. A fu·nction keyboard works just like<br />

an alphanumeric keyboard but is usually limited to 16 to 32 keY5 and<br />

constructed so that the key legends may be easily changed. In fact, legend<br />

overlay sheets are commonly used and one would typically have a sheet for<br />

each interactive program available. In sophisticated systems the sheets may<br />

actually be punched or othetwise coded so that the program can verify that<br />

the operator has actually inserted the correct one!

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

Saved successfully!

Ooh no, something went wrong!