ASCII

ASCII key

The key object tracks and outputs the ASCII values of the keys you press on the computer keyboard. You can then use those ASCII values to trigger other objects as shown in the example above. In the example, the 'c' key is used to trigger the note middle C (MIDI key number 60), and the 'r' key is used to turn on a stream of randomly-chosen notes C across the entire MIDI range (every multiple of 12 from 0 to 120) at a rate of ten notes per second.