Control Displays with Reset Function

Post and discuss Lemur Modules.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Control Displays with Reset Function

Post by Softcore »

A screen-estate-saving module.
Touching the display and dragging upwards or downwards changes the value.
Double tapping the display resets to a pre-defined reset value (r).

Comes in three variations: GenericMidi display, Pan display and Percentage Display.

Image

How to map: look inside the containers for the "hidden" object (Knob) - map x expression to your desired midi - OSC target
How to set the reset value: look inside the "hidden" object - change "r" expression to the desired value....note: r is in range 0 to 1 so for example for the Pan resetting to "Center" r=0.5

Lemur template (contains all three variations):
control_displays.jzml
(15.77 KiB) Downloaded 220 times
Seperate modules in below post (only three attachments allowed in each post)
Last edited by Softcore on 27 Feb 2013 15:29, edited 1 time in total.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Control Displays with Reset Function

Post by Softcore »

Seperate modules

GenericMidi module:
ControlDisplay_GM.jzlib
(4.54 KiB) Downloaded 196 times
Pan Module:
ControlDisplay_PAN.jzlib
(6.48 KiB) Downloaded 184 times
Percentage Module:
ControlDisplay_PERCENT.jzlib
(4.52 KiB) Downloaded 182 times
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Control Displays with Reset Function

Post by Phil999 »

aw, thanks. I had something similar in a synth template, but it was too big (48px in height, the minimal size of the Knob object). Put everything into a container, and it can be made smaller. Problem solved. :)

Thanks again, this helps me a lot.

Edit: rejoiced too early. The height is good, but the width is still too narrow for my texts. Even narrower than without container. Will have to find another way. ;)
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Joe Soap
Regular
Posts: 462
Joined: 07 Jul 2012 15:04

Re: Control Displays with Reset Function

Post by Joe Soap »

Phil - you're not restricted by the size of the object.

You can put big(ger) things into little things - make the knob as wide as you like, then resize the container how you want it.
Phil999
Regular
Posts: 919
Joined: 11 Jan 2012 01:53

Re: Control Displays with Reset Function

Post by Phil999 »

thank you Joe, you're right. It's just that the text I need to have displayed is wider than the desired width of the container - even at 8px text size. The container cuts some pixels at the edge, unfortunately, so I have to leave it as it was (knob in linear mode with a script for text, underneath a Text object).
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Joe Soap
Regular
Posts: 462
Joined: 07 Jul 2012 15:04

Re: Control Displays with Reset Function

Post by Joe Soap »

Ah . . . that would be an Ecumenical* matter . . .

* Design
Traxus
Regular
Posts: 211
Joined: 30 Nov 2012 06:19
Location: Detroit
Contact:

Re: Control Displays with Reset Function

Post by Traxus »

clever dog
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Control Displays with Reset Function

Post by Softcore »

Having a firm belief that the displayed value of ANY module inside Lemur SHOULD be instantly "recognisable" by the user (in terms of quickly interpretating what it shows and not having to "think" over it during a live session), I altered the PAN module - it requires a few milliseconds for the brain to "decode" the "L" from "R" but it takes close to none if this is indicated with an icon.....so I updated the Pan module to this:

Image

Lemur template:
control_displays.jzml
(16.53 KiB) Downloaded 190 times
Library module:
ControlDisplay_PAN.jzlib
(7.24 KiB) Downloaded 185 times
lABl
Lemur Guru
Posts: 269
Joined: 09 Dec 2011 15:56
Contact:

Re: Control Displays with Reset Function

Post by lABl »

well done softcore! I was using gesture object (it has the acceleration parameter can be useful too, have you tried with that?) but definitely will check this out!

Cheers and thanks for posting.
Traxus
Regular
Posts: 211
Joined: 30 Nov 2012 06:19
Location: Detroit
Contact:

Re: Control Displays with Reset Function

Post by Traxus »

I was playing with this idea, but I wanted the size (height) of the container to reflect the full range of the knob (I didn't want the fader cap to display).

I ended up using a multiball's y value with everything colored black as the knob was acting wonky, sometimes it would assume i was trying to increase the value from .5 to 1 when dragging down, other times it correctly assumed i was trying to decrease, just due to its rotary nature.
Post Reply