Stuck with a SynthEdit project?

Category: LED Indicator

LED2 without PatchMem

By using a third party module it is possible to avoid using a PatchMemory Float Out3 module in the LED2 control. It can be replaced with a QTN_Float2GUIFloat, to convert from DSP Floating Point to GUI Floating Point.
By setting Input 2 to a value of 10 V the LED will “Illuminate” at 5 V on the Signal In plug.
Note: If you set the Input 2 plug to 0 the LED will always be “On” (You cannot divide by zero, so the module will not provide a valid output.
Note: If you want to provide a quick and easy “Clipping detection” LED, then Set Input 2 to 1V, and change the Response plug on the Volts to Float module to “Clip Detect”. This will provide a fast method of clipping detection.

By adding another Divide module connected to Input 2 of the original Divide module, and setting this new module with an Input2 value of 2V we can then provide a second input with which to set the voltage at which the LED “Illuminates”.

Colour changing LED.

We can also add another similar input chain to give control over the LED colour. If the Input2 of the divide is set to 10 this will allow an input voltage of 0 V to 10 V to control the colour of the LED. If you want to colour change in response to a variable voltage I would suggest setting the Response of the Volts to Float to at least 20 Hz to avoid the colour change looking “stepped”. You can see this in action by connecting up a slow running oscillator, but don’t forget that this will give a -5 V to +5 V voltage swing, so you’ll need to ad a 5 V offset to the colour plug to get the correct range.

Sub Controls-LED2

Another sub-control-based prefab, it’s flexible very as an indicator, in that its Hue, Saturation, and Brightness plugs let you adjust any colour dynamically with a small modification to it’s structure.

What’s inside the LED control, and how it works:

An animated Bitmap Image provides the lens, and a Tinted Bitmap Image supplies
the colour. When a voltage greater than 5 V arrives at the Signal In plug, this causes the Bitmap image to display the lens image’s second frame. The second image is more transparent than the first, allowing more of the colour from the Tinted Bitmap Image be visible when the LED is in it’s “on” state.
For this to work, the Tinted Bitmap Image needs to be behind the Bitmap Image in
the z-order by using the “To Back” command on the module’s right-click
context menu.
The Tinted Bitmap:
The Tinted Bitmap Image uses a single-frame bmp image file.
The Bitmap:
The Bitmap Image uses a two-frame bmp image with a mask.
How it works:
A Volts to Float and Patch Memory Float Out 3 convert the
voltage input to a Float Point value.
DC Volts (Fast) is selected for the Volt to Float Responses, and the Update Rate is set to 20 Hz.
The value at the Signal In plug drives the lens Bitmap Image’s
Animation Position. The Tinted Bitmap Image’s Hue, Saturation, and
Brightness inputs require values ranging from 0.0 to 1.0, so we use the Animation Position output to scale them down from SynthEdit’s 0-to-10 volt range.

The basic LED2 Control

With a simple modification (below) we can make it easier to adjust the colour of the LED by linking the Hue, Saturation, and Brightness plugs to plugs on the IO Module.
Note: These value are all 0 to1.

The modified LED2 control