LEDs are always on

Official support for: loomer.co.uk
74 posts since 5 Jan, 2019

Post Sat Aug 17, 2019 3:25 pm

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?
You do not have the required permissions to view the files attached to this post.

2191 posts since 25 Aug, 2003 from Bournemouth, UK

Post Sun Aug 18, 2019 1:03 am

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:

Architect, the modular MIDI toolkit, beta now available for macOS, Windows, and Linux.

74 posts since 5 Jan, 2019

Post Sun Aug 18, 2019 5:43 pm

This worked perfectly, thank you.

Return to “Loomer”