Page 1 of 2

Control Displays with Reset Function

Posted: 27 Feb 2013 15:26
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)

Re: Control Displays with Reset Function

Posted: 27 Feb 2013 15:28
by Softcore
Seperate modules

GenericMidi module:
ControlDisplay_GM.jzlib
(4.54 KiB) Downloaded 197 times
Pan Module:
ControlDisplay_PAN.jzlib
(6.48 KiB) Downloaded 184 times
Percentage Module:
ControlDisplay_PERCENT.jzlib
(4.52 KiB) Downloaded 183 times

Re: Control Displays with Reset Function

Posted: 27 Feb 2013 17:32
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. ;)

Re: Control Displays with Reset Function

Posted: 27 Feb 2013 19:40
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.

Re: Control Displays with Reset Function

Posted: 27 Feb 2013 20:41
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).

Re: Control Displays with Reset Function

Posted: 27 Feb 2013 21:05
by Joe Soap
Ah . . . that would be an Ecumenical* matter . . .

* Design

Re: Control Displays with Reset Function

Posted: 28 Feb 2013 02:30
by Traxus
clever dog

Re: Control Displays with Reset Function

Posted: 28 Feb 2013 07:37
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 191 times
Library module:
ControlDisplay_PAN.jzlib
(7.24 KiB) Downloaded 186 times

Re: Control Displays with Reset Function

Posted: 04 Mar 2013 16:52
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.

Re: Control Displays with Reset Function

Posted: 04 Apr 2013 17:31
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.