Instrument Maker Reference

im.keydoublepress

Description:

Double-press a key to trigger an event. Watch out - it doesn't always work to hold more than one key down together. If you find that certain notes hang try pressing the relevant key again.

Outputs control.
Args:

letter of key to monitor, time to register a second press (ms)

Inlets:

none

Outlets:

off/on signal (0/1)

Example:

im.speaker im.fader im.fader im.pulsewave A 3 im.pulsewave B 3 im.speaker im.speaker im.player sounds/sn.wav im.player sounds/string.aif im.keydoublepress a 500 im.keydoublepress b 500 im.keydoublepress Up 500 im.speaker
If this image does not display properly, try this alternative file.

Back to main reference page


im.keydoublepress was created by Alex Lucas, 2019/2020