DigitalIn:
Filter:
Classes | UGens > Bela

DigitalIn : UGen : AbstractFunction : Object

Read data from a digital input
Source: BelaUGens.sc

Description

Reads digital data from a digital sensor input (e.g.: a button or trigger input).

NOTE: This UGen only works on Bela.
NOTE: If you want to modulate the pin number, you should use the UGen DigitalIO

Class Methods

DigitalIn.ar(digitalPin: 0, mul: 1.0, add: 0.0)

Arguments:

digitalPin

Digital pin number to read. Pin numbers begin at 0. This value cannot be modulated.

mul
add

DigitalIn.kr(digitalPin: 0, mul: 1.0, add: 0.0)

Arguments:

digitalPin

Digital pin number to read. Pin numbers begin at 0. This value cannot be modulated.

mul
add

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.signalRange

Examples