[PD] Slider/Knob

Antoine Rousseau antoine at metalu.net
Fri Sep 7 14:45:26 CEST 2018


Thanks for recommending mknob ;-)

I'd like to do an update of moonlib soon, as it has received some
improvements: sfread2~ understands a new [index( message (thx to Antoine
Villeret), and mknob now better supports zooming.

About the latter, I'd like to hear your opinion (you all mknob users...)
about the following problem (and the solution I propose):

mknob poses a particular problem: because its circular shape doesn't comply
to Pd graphical paradigm (every other objects are rectangular shaped),
iolets are floating in an empty space near the knob; because it's visually
ugly, and I don't want to surround the knob with a rectangular box, I chose
not to draw the iolets, even when the mknob is not bounded to receive/send
symbols. The problem (for explicitly connected  knobs) is now that it's
somewhat tricky to guess where you have to draw the connection to/from, and
that the wire connects to/from nowhere. This is acceptable for small knob,
but when it becomes bigger it's really weird.

So the only idea I see (apart from hacking Pd sources...) is to setup 3
inlets and 3 outlets, so that you can connect from/to the one in the
middle; the wire is then actually connected to the circle. I succeeded to
code this behaviour, keeping to possibility to use any inlet and sending to
the three outlets. It's maybe a little far-fetched, but its works. What do
you think of it?


Antoine Rousseau
  http://www.metalu.net <http://metalu.net> __
http://www.metaluachahuter.com/
<http://www.metaluachahuter.com/compagnies/al1-ant1/>



Le ven. 7 sept. 2018 à 13:05, Christof Ressi <christof.ressi at gmx.at> a
écrit :

> I recommend mknob from moonlib, but make sure you get the latest version
> from deken for pd >= 0.47
>
> Christof
>
> > Gesendet: Freitag, 07. September 2018 um 12:59 Uhr
> > Von: Clemens <reinklang at online.de>
> > An: Pd-list at lists.iem.at
> > Betreff: [PD] Slider/Knob
> >
> > Hello List,
> >
> > I would like to use knobs instead of sliders,
> >
> > where can I find them?
> >
> > Cheers
> >
> > Clemens
> >
> >
> >
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> >
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180907/2c88b0c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3iolets-mknob.png
Type: image/png
Size: 4066 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180907/2c88b0c7/attachment.png>


More information about the Pd-list mailing list