Instrument Maker Reference

im.keypress

Description:

Hold keys down to play certain sounds. Watch out - it doesn't always work to hold more than one key down together. If certain notes hang try pressing the relevant key again.

Outputs control.
Args:

letter of the key to monitor

Inlets:

none

Outlets:

off/on signal (0/1)

Example:

im.speaker im.fader im.keypress a im.keypress b im.keypress c im.keypress d im.fader im.fader im.fader im.pulsewave A 3 im.pulsewave B 3 im.pulsewave C 3 im.pulsewave D 3 im.speaker im.speaker im.speaker im.player sounds/sn.wav im.player sounds/string.aif im.player sounds/rush.aif im.keypress up im.keypress space im.keypress return
If this image does not display properly, try this alternative file.

Back to main reference page


im.keypress was created by Charles Matthews, 2019/2020