Tutorial / Using with Max/MSP

CODE EXAMPLE 3 (digital input)

Preparation

Refer to the following illustration and connect a switch (toggle, pushbutton, etc) to [din 0] as shown. Up to 4 switches can be connected in this manner.

Description

Digital inputs 0 through 3 will output a number either 1 or 0.

Digital inputs are set to receive only "bang" messages. The default interval of bang message from the metro object is 100ms (10 times per second), but can be changed as needs require. The shortest message interval is 20ms (50 times per second).

prev 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 next
Print