hi list,
i remember there was a discussion a while ago about sliders and numberboxes controlling the same value. (and the loop that caused problems) here is my take on it with vanilla objects. it does need some work for every control, but it does the job!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Or use the 'set' message to change the value show in a number box or slider.
|0
|
[set $1(
|
| | |
++
Jack
Le 14/08/2015 13:34, Simon Iten a écrit :
hi list,
i remember there was a discussion a while ago about sliders and numberboxes controlling the same value. (and the loop that caused problems) here is my take on it with vanilla objects. it does need some work for every control, but it does the job!
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 08/14/2015 01:34 PM, Simon Iten wrote:
hi list,
i remember there was a discussion a while ago about sliders and numberboxes controlling the same value. (and the loop that caused problems) here is my take on it with vanilla objects. it does need some work for every control, but it does the job!
when using nbx2 (aka iemgui-numberbox; aka Shift-Ctrl-N), you can simply assign both slider and numberbox the same send *and* receive label. and mix in radio buttons, and whatnot.
see attached example
gfmards IOhannes
ah cool, thanks!
is there a way to make a slider with only int values? (other than using int after the slider)
On 14 Aug 2015, at 19:22, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 08/14/2015 01:34 PM, Simon Iten wrote:
hi list,
i remember there was a discussion a while ago about sliders and numberboxes controlling the same value. (and the loop that caused problems) here is my take on it with vanilla objects. it does need some work for every control, but it does the job!
when using nbx2 (aka iemgui-numberbox; aka Shift-Ctrl-N), you can simply assign both slider and numberbox the same send *and* receive label. and mix in radio buttons, and whatnot.
see attached example
gfmards IOhannes
<multicontrol.pd>_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 08/14/2015 07:47 PM, Simon Iten wrote:
ah cool, thanks!
is there a way to make a slider with only int values? (other than using int after the slider)
tweak the size of the slider so that each pixel corresponds to an integer value :-(
but then:
resolution (1%)
enter a fractal number (apart from shift-dragging)
so i think the only sane way to ensure integer numbers is by casting them to [int] at the receiving side.
personally i even prefer the [int] because it is made explicit in the patch (whereas all magic you do within the gui-properties of the slider are non-obvious).
vmsdr IOhannes