I would like the LEDs in this simple example to light only when a signal is received, but they stay on and never go off. What's the solution?
LEDs are always on
-
- KVRAF
- 2682 posts since 25 Aug, 2003 from Bournemouth, UK
The LED modules respond to boolean values. A `true` will turn it on, and a `false` will turn it off. As `signal`s are truthy, they are automatically coerced into `true` values.
So what you probably want to do is use a [data wait] module to send a `false` a short while after the LED receives the `true`. Something like this:
So what you probably want to do is use a [data wait] module to send a `false` a short while after the LED receives the `true`. Something like this:
Architect, the modular MIDI toolkit, beta now available for macOS, Windows, and Linux.