Re: [PD] Slider/Knob

2018-09-21 Thread oliver

On 2018-09-21 09:59, Clemens wrote:

Hello Oliver,

is it possible to add the name of the knob to the knob (surface), like
you can do with a H-slider e.g.?


mmh, it's possible. but it would make the knobs uglier for sure,
which would defeat the purpose ;-))

i myself use mostly small versions of [ol_knob] that would become an 
unreadable

mess, if they all showed its remote name.

about the vanilla GUIs: yes, you can print its send/receive name, but 
mostly people
use the label for user hints. meaning: a slider that's labeled "volume" 
is likely
to actually have a different, more cryptic s/r name, like "$0-vol" or 
"pl1_v".


if i should ever really forget what the remote name of my own UI is,
i right-click "open" it (after all it's just a PD patch with a GOP)
and have a look inside. it's written in a symbol
box and of course also in the window title bar (1st argument)

another thought about this:

how about a "safe" area on the knob surface (let's say the lower-right 
corner)

that prints out the remote name in the PD window when clicked ?

best

oliver




Just for clarity reasons?

Cheers

Clemens






___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-21 Thread Clemens

Hello Oliver,

is it possible to add the name of the knob to the knob (surface), like 
you can do with a H-slider e.g.?


Just for clarity reasons?

Cheers

Clemens






___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-10 Thread oliver

Clemens wrote:

Hi Oliver,


hi, clemens !

I'm replying to the list in case someone else wants to know.


how can I give the knob a name?


2 ways:

1.) you give it as a creation argument

as the helpfile says you can give up to 6 creation arguments for 
[ol_knob]. if you give only one, it's the send/receive name


what you neeed to do:

create an object and type "ol_knob yyy"

this will create the default knob with a "remote" name.
my own personal convention is, that receive names have the appendix "-r"

so:
you get values FROM the knob with [r yyy]
you send values TO the knob with [s yyy-r]

2.) you set the name in the properties

simply create an object and type "ol_knob"

this will create the default knob (without a "remote" name !)

right click the object and you will find an entry called "properties". 
there you open a window that lets you set all of the possible properties 
of the knob (size/type/range etc.). the one you want is the first one 
("remote name").


type your name (let's say "yyy"), press enter (important !) and click 
"APPLY".


then you have to SAVE the patch you are working on to make it constant 
(which is also true for any PD native GUI object).


the same rule applies to this method as above:

you get values FROM the knob with [r yyy]
you send values TO the knob with [s yyy-r]

==

the help file should explain all possibilities as well

in case you have any more difficulties, send me a PM.

best

oliver



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-09 Thread oliver

Clemens wrote:

Hi Oliver,

thank you for the knob-patch, it looks very nice, but for me it´s a bit 
to complicated.


It worked in your ol_knob-help patch very well, but when I copy it and 
pasted it in a new patch,


I get a couldn't create message


that's because the abstraction (as well as the "gifs" folder) must be in 
one of your search paths (you define them in the preferences)



And I don`t know how to create the knob as like as H-slider.


as long as "ol_knob.pd" is in your search path, you just create an 
object box and write "ol_knob". this creates a default version. you can 
then set it's parameters just like any PD-native GUI with 
right-click/properties (thanks to IEMGUTS, my swiss army knife for PD 
hackings)




Anyway, don`t care

the mknob works for me easily and nice!


great ! as i said, [ol_knob] is just a personal user-interface, that i 
hacked for my own goals. and yes, it's bit of an overload for such a 
simple task. mainly i wanted to check the possibilities of working with 
dynamically loaded gif images.


best

oliver

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-08 Thread Antoine Rousseau
Thanks Katja, I finally did something like that (this is kept in a separate
branch (show_io) for now):

when selected, the IOs and the outline are created; they remain until the
mknob is hovered (out of edit mode) or updated (value changed), while not
being selected.

This way, for example, selecting_all then deselecting allows to show every
mknob outline, until edit mode is switched off. Of course then the
artifacts remain visible (until you hover or update the mkobs), but I hope
this won't be too much annoying, and that the gain is greater than the loss.


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



Le sam. 8 sept. 2018 à 17:53, katja  a écrit :

> On 9/8/18, Antoine Rousseau  wrote:
> > too bad, newclick(...) is never called when in edit mode...
> > so: no hovering detection when in edit mode, no way to (easily) detect
> edit
> > mode on/off switching... back to the starting point.
> > maybe i will... do nothing more ;-)
>
> You could use the select function in the widgetbehavior to draw /
> erase an outline with IOlets. A similar thing happens in
> iemgui/iem_event (although it only does an outline, no IOlets). So the
> outline + IOlets would appear when the object is selected. In
> my_canvas the select method is used to switch the outline color but in
> iem_event the rectangle is created when the object selected, and
> deleted when the object deselected.  Another option is to define
> IOlets which consist of outline only and switch outline width between
> 0 and 1 when (de)selecting.
>
> Katja
>
> >
> > 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 à 20:33, Christof Ressi  a
> > écrit :
> >
> >> cool!
> >>
> >> > why not even showing outline and iolets as soon as the patch is
> >> > switched
> >> to edit mode?
> >>
> >> the only type of object inside the canvas which gets notified on
> editmode
> >> changes is T_TEXT (to toggle the vertical line on the right), so AFAICT
> >> it's impossible to achieve without nasty tricks (see
> >> iemguts/receivecanvas
> >> :-))
> >>
> >>
> >> Gesendet: Freitag, 07. September 2018 um 19:39 Uhr
> >> Von: "Antoine Rousseau" 
> >> An: "anto...@metalu.net" 
> >> Cc: "Christof Ressi" , Pd-list <
> >> Pd-list@lists.iem.at>
> >> Betreff: Re: Re: Re: [PD] Slider/Knob
> >>
> >> OK I just tried and mknob_newclick allows receiving hovering as you said
> >> before.
> >>
> >>
> >> 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 à 19:32, Antoine Rousseau
> >>  >> anto...@metalu.net]> a écrit :
> >>
> >> I see; why not even showing outline and iolets as soon as the patch is
> >> switched to edit mode?
> >> But I must admit I don't know how to detect these events (object is
> >> hovered /or/ patch switches to /from edit mode). I'll try to find
> >> existing
> >> similar code, but maybe you have some pointers?
> >>
> >>
> >> 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 à 19:20, Christof Ressi  >> [mailto:christof.re...@gmx.at]> a écrit :> you mean like the little
> >> square of the canvas object?
> >>
> >> kind of, except that my_canvas only shows the square when the object is
> >> selected. of course that's also possible! my idea was to show it when
> you
> >> hover the object in editmode, so you don't have to explicitly select the
> >> object to see where to make the connections.
> >>
> >>
> >> Gesendet: Freitag, 07. September 2018 um 18:43 Uhr
> >> Von: "Antoine Rousseau" mailto:anto...@metalu.net]>
> >> An: "Christof Ressi"
> >> mailto:christof.re...@gmx.at]>
> >> Cc: Pd-list mailto:Pd-list@lists.iem.at]>
> >> Betreff: Re: Re: [PD] Slider/Knob
> >>
> >> a visual hint (i.e. draw the rect borders and the iolets)- but only

Re: [PD] Slider/Knob

2018-09-08 Thread katja
On 9/8/18, Antoine Rousseau  wrote:
> too bad, newclick(...) is never called when in edit mode...
> so: no hovering detection when in edit mode, no way to (easily) detect edit
> mode on/off switching... back to the starting point.
> maybe i will... do nothing more ;-)

You could use the select function in the widgetbehavior to draw /
erase an outline with IOlets. A similar thing happens in
iemgui/iem_event (although it only does an outline, no IOlets). So the
outline + IOlets would appear when the object is selected. In
my_canvas the select method is used to switch the outline color but in
iem_event the rectangle is created when the object selected, and
deleted when the object deselected.  Another option is to define
IOlets which consist of outline only and switch outline width between
0 and 1 when (de)selecting.

Katja

>
> 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 à 20:33, Christof Ressi  a
> écrit :
>
>> cool!
>>
>> > why not even showing outline and iolets as soon as the patch is
>> > switched
>> to edit mode?
>>
>> the only type of object inside the canvas which gets notified on editmode
>> changes is T_TEXT (to toggle the vertical line on the right), so AFAICT
>> it's impossible to achieve without nasty tricks (see
>> iemguts/receivecanvas
>> :-))
>>
>>
>> Gesendet: Freitag, 07. September 2018 um 19:39 Uhr
>> Von: "Antoine Rousseau" 
>> An: "anto...@metalu.net" 
>> Cc: "Christof Ressi" , Pd-list <
>> Pd-list@lists.iem.at>
>> Betreff: Re: Re: Re: [PD] Slider/Knob
>>
>> OK I just tried and mknob_newclick allows receiving hovering as you said
>> before.
>>
>>
>> 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 à 19:32, Antoine Rousseau
>> > anto...@metalu.net]> a écrit :
>>
>> I see; why not even showing outline and iolets as soon as the patch is
>> switched to edit mode?
>> But I must admit I don't know how to detect these events (object is
>> hovered /or/ patch switches to /from edit mode). I'll try to find
>> existing
>> similar code, but maybe you have some pointers?
>>
>>
>> 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 à 19:20, Christof Ressi > [mailto:christof.re...@gmx.at]> a écrit :> you mean like the little
>> square of the canvas object?
>>
>> kind of, except that my_canvas only shows the square when the object is
>> selected. of course that's also possible! my idea was to show it when you
>> hover the object in editmode, so you don't have to explicitly select the
>> object to see where to make the connections.
>>
>>
>> Gesendet: Freitag, 07. September 2018 um 18:43 Uhr
>> Von: "Antoine Rousseau" mailto:anto...@metalu.net]>
>> An: "Christof Ressi"
>> mailto:christof.re...@gmx.at]>
>> Cc: Pd-list mailto:Pd-list@lists.iem.at]>
>> Betreff: Re: Re: [PD] Slider/Knob
>>
>> a visual hint (i.e. draw the rect borders and the iolets)- but only when
>> the user hovers over the knob while the glist is in editmode
>>
>> you mean like the little square of the canvas object? yes, I like the
>> idea. I'll try this soon, thanks!
>>
>>
>> Antoine Rousseau
>>   http://www.metalu.net[http://www.metalu.net][http://metalu.net[
>> http://metalu.net]] __
>> http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/][http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D]
>> <http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5Bhttp://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5D>
>>
>>
>> Le ven. 7 sept. 2018 à 17:31, Christof Ressi > [mailto:christof.re...@gmx.at][mailto:christof.re...@gmx.at[mailto:
>> christof.re...@gmx.at]]> a écrit :Hi, to be honest, I never found it to
>> be a big problem. I'm not too sure about the three outlet solution, I
>> think
>> it's indeed a bit far-stretched :-) what I would suggest is to give the
>> user a visual hint (i.e. draw the rect borders and the iolets)- but only
>> when the user hovers over the kno

Re: [PD] Slider/Knob

2018-09-08 Thread reinklang
Hello list,
I would like to say thank you for all your comments and suggestions and files!
I didn’t expected so many answers and I didn’t expected them so quickly!
I will try and check them in the next days and I hope to find a way to deal 
with the libraries!!
Cheers
Clemens

Gesendet mit der 1&1 Mail App



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-07 Thread Christof Ressi
D'oh.. well, as i said, the floating iolet never bothered me after all :-)

> Gesendet: Samstag, 08. September 2018 um 00:13 Uhr
> Von: "Antoine Rousseau" 
> An: "Christof Ressi" 
> Cc: Pd-list 
> Betreff: Re: Re: Re: Re: [PD] Slider/Knob
>
> too bad, newclick(...) is never called when in edit mode...
> so: no hovering detection when in edit mode, no way to (easily) detect edit
> mode on/off switching... back to the starting point.
> maybe i will... do nothing more ;-)
> 
> 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 à 20:33, Christof Ressi  a
> écrit :
> 
> > cool!
> >
> > > why not even showing outline and iolets as soon as the patch is switched
> > to edit mode?
> >
> > the only type of object inside the canvas which gets notified on editmode
> > changes is T_TEXT (to toggle the vertical line on the right), so AFAICT
> > it's impossible to achieve without nasty tricks (see iemguts/receivecanvas
> > :-))
> >
> >
> > Gesendet: Freitag, 07. September 2018 um 19:39 Uhr
> > Von: "Antoine Rousseau" 
> > An: "anto...@metalu.net" 
> > Cc: "Christof Ressi" , Pd-list <
> > Pd-list@lists.iem.at>
> > Betreff: Re: Re: Re: [PD] Slider/Knob
> >
> > OK I just tried and mknob_newclick allows receiving hovering as you said
> > before.
> >
> >
> > 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 à 19:32, Antoine Rousseau  > anto...@metalu.net]> a écrit :
> >
> > I see; why not even showing outline and iolets as soon as the patch is
> > switched to edit mode?
> > But I must admit I don't know how to detect these events (object is
> > hovered /or/ patch switches to /from edit mode). I'll try to find existing
> > similar code, but maybe you have some pointers?
> >
> >
> > 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 à 19:20, Christof Ressi  > [mailto:christof.re...@gmx.at]> a écrit :> you mean like the little
> > square of the canvas object?
> >
> > kind of, except that my_canvas only shows the square when the object is
> > selected. of course that's also possible! my idea was to show it when you
> > hover the object in editmode, so you don't have to explicitly select the
> > object to see where to make the connections.
> >
> >
> > Gesendet: Freitag, 07. September 2018 um 18:43 Uhr
> > Von: "Antoine Rousseau" mailto:anto...@metalu.net]>
> > An: "Christof Ressi" mailto:christof.re...@gmx.at]>
> > Cc: Pd-list mailto:Pd-list@lists.iem.at]>
> > Betreff: Re: Re: [PD] Slider/Knob
> >
> > a visual hint (i.e. draw the rect borders and the iolets)- but only when
> > the user hovers over the knob while the glist is in editmode
> >
> > you mean like the little square of the canvas object? yes, I like the
> > idea. I'll try this soon, thanks!
> >
> >
> > Antoine Rousseau
> >   http://www.metalu.net[http://www.metalu.net][http://metalu.net[
> > http://metalu.net]] __
> > http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/][http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D]
> > <http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5Bhttp://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5D>
> >
> >
> > Le ven. 7 sept. 2018 à 17:31, Christof Ressi  > [mailto:christof.re...@gmx.at][mailto:christof.re...@gmx.at[mailto:
> > christof.re...@gmx.at]]> a écrit :Hi, to be honest, I never found it to
> > be a big problem. I'm not too sure about the three outlet solution, I think
> > it's indeed a bit far-stretched :-) what I would suggest is to give the
> > user a visual hint (i.e. draw the rect borders and the iolets)- but only
> > when the user hovers over the knob while the glist is in editmode. you can
> > do this in mknob_newclick.
> >
> > > iolets are floating in an empty space near the knob;
> >
> > yes, this looks a bit funny, but you usually won't have the cables visible
> > in your final GUI anyway, so I wo

Re: [PD] Slider/Knob

2018-09-07 Thread Antoine Rousseau
too bad, newclick(...) is never called when in edit mode...
so: no hovering detection when in edit mode, no way to (easily) detect edit
mode on/off switching... back to the starting point.
maybe i will... do nothing more ;-)

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 à 20:33, Christof Ressi  a
écrit :

> cool!
>
> > why not even showing outline and iolets as soon as the patch is switched
> to edit mode?
>
> the only type of object inside the canvas which gets notified on editmode
> changes is T_TEXT (to toggle the vertical line on the right), so AFAICT
> it's impossible to achieve without nasty tricks (see iemguts/receivecanvas
> :-))
>
>
> Gesendet: Freitag, 07. September 2018 um 19:39 Uhr
> Von: "Antoine Rousseau" 
> An: "anto...@metalu.net" 
> Cc: "Christof Ressi" , Pd-list <
> Pd-list@lists.iem.at>
> Betreff: Re: Re: Re: [PD] Slider/Knob
>
> OK I just tried and mknob_newclick allows receiving hovering as you said
> before.
>
>
> 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 à 19:32, Antoine Rousseau  anto...@metalu.net]> a écrit :
>
> I see; why not even showing outline and iolets as soon as the patch is
> switched to edit mode?
> But I must admit I don't know how to detect these events (object is
> hovered /or/ patch switches to /from edit mode). I'll try to find existing
> similar code, but maybe you have some pointers?
>
>
> 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 à 19:20, Christof Ressi  [mailto:christof.re...@gmx.at]> a écrit :> you mean like the little
> square of the canvas object?
>
> kind of, except that my_canvas only shows the square when the object is
> selected. of course that's also possible! my idea was to show it when you
> hover the object in editmode, so you don't have to explicitly select the
> object to see where to make the connections.
>
>
> Gesendet: Freitag, 07. September 2018 um 18:43 Uhr
> Von: "Antoine Rousseau" mailto:anto...@metalu.net]>
> An: "Christof Ressi" mailto:christof.re...@gmx.at]>
> Cc: Pd-list mailto:Pd-list@lists.iem.at]>
> Betreff: Re: Re: [PD] Slider/Knob
>
> a visual hint (i.e. draw the rect borders and the iolets)- but only when
> the user hovers over the knob while the glist is in editmode
>
> you mean like the little square of the canvas object? yes, I like the
> idea. I'll try this soon, thanks!
>
>
> Antoine Rousseau
>   http://www.metalu.net[http://www.metalu.net][http://metalu.net[
> http://metalu.net]] __
> http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/][http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D]
> <http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5Bhttp://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5D>
>
>
> Le ven. 7 sept. 2018 à 17:31, Christof Ressi  [mailto:christof.re...@gmx.at][mailto:christof.re...@gmx.at[mailto:
> christof.re...@gmx.at]]> a écrit :Hi, to be honest, I never found it to
> be a big problem. I'm not too sure about the three outlet solution, I think
> it's indeed a bit far-stretched :-) what I would suggest is to give the
> user a visual hint (i.e. draw the rect borders and the iolets)- but only
> when the user hovers over the knob while the glist is in editmode. you can
> do this in mknob_newclick.
>
> > iolets are floating in an empty space near the knob;
>
> yes, this looks a bit funny, but you usually won't have the cables visible
> in your final GUI anyway, so I wouldn't worry about that.
>
> Christof
>
> Gesendet: Freitag, 07. September 2018 um 14:45 Uhr
> Von: "Antoine Rousseau" mailto:anto...@metalu.net
> ][mailto:anto...@metalu.net[mailto:anto...@metalu.net]]>
> An: "Christof Ressi" mailto:christof.re...@gmx.at
> ][mailto:christof.re...@gmx.at[mailto:christof.re...@gmx.at]]>
> Cc: Pd-list mailto:Pd-list@lists.iem.at][mailto:
> Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at]]>
> Betreff: Re: [PD] Slider/Knob
>
> 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.
>
&

Re: [PD] Slider/Knob

2018-09-07 Thread Christof Ressi
cool!

> why not even showing outline and iolets as soon as the patch is switched to 
> edit mode?

the only type of object inside the canvas which gets notified on editmode 
changes is T_TEXT (to toggle the vertical line on the right), so AFAICT it's 
impossible to achieve without nasty tricks (see iemguts/receivecanvas :-))


Gesendet: Freitag, 07. September 2018 um 19:39 Uhr
Von: "Antoine Rousseau" 
An: "anto...@metalu.net" 
Cc: "Christof Ressi" , Pd-list 
Betreff: Re: Re: Re: [PD] Slider/Knob

OK I just tried and mknob_newclick allows receiving hovering as you said before.
 

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 à 19:32, Antoine Rousseau 
mailto:anto...@metalu.net]> a écrit :

I see; why not even showing outline and iolets as soon as the patch is switched 
to edit mode?
But I must admit I don't know how to detect these events (object is hovered 
/or/ patch switches to /from edit mode). I'll try to find existing similar 
code, but maybe you have some pointers?
 

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 à 19:20, Christof Ressi 
mailto:christof.re...@gmx.at]> a écrit :> you mean like 
the little square of the canvas object?

kind of, except that my_canvas only shows the square when the object is 
selected. of course that's also possible! my idea was to show it when you hover 
the object in editmode, so you don't have to explicitly select the object to 
see where to make the connections.
 

Gesendet: Freitag, 07. September 2018 um 18:43 Uhr
Von: "Antoine Rousseau" mailto:anto...@metalu.net]>
An: "Christof Ressi" mailto:christof.re...@gmx.at]>
Cc: Pd-list mailto:Pd-list@lists.iem.at]>
Betreff: Re: Re: [PD] Slider/Knob

a visual hint (i.e. draw the rect borders and the iolets)- but only when the 
user hovers over the knob while the glist is in editmode
 
you mean like the little square of the canvas object? yes, I like the idea. 
I'll try this soon, thanks!
 

Antoine Rousseau 
  
http://www.metalu.net[http://www.metalu.net][http://metalu.net[http://metalu.net]]
 __ 
http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/][http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D]
  

Le ven. 7 sept. 2018 à 17:31, Christof Ressi 
mailto:christof.re...@gmx.at][mailto:christof.re...@gmx.at[mailto:christof.re...@gmx.at]]>
 a écrit :Hi, to be honest, I never found it to be a big problem. I'm not too 
sure about the three outlet solution, I think it's indeed a bit far-stretched 
:-) what I would suggest is to give the user a visual hint (i.e. draw the rect 
borders and the iolets)- but only when the user hovers over the knob while the 
glist is in editmode. you can do this in mknob_newclick.

> iolets are floating in an empty space near the knob;

yes, this looks a bit funny, but you usually won't have the cables visible in 
your final GUI anyway, so I wouldn't worry about that.
 
Christof

Gesendet: Freitag, 07. September 2018 um 14:45 Uhr
Von: "Antoine Rousseau" 
mailto:anto...@metalu.net][mailto:anto...@metalu.net[mailto:anto...@metalu.net]]>
An: "Christof Ressi" 
mailto:christof.re...@gmx.at][mailto:christof.re...@gmx.at[mailto:christof.re...@gmx.at]]>
Cc: Pd-list 
mailto:Pd-list@lists.iem.at][mailto:Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at]]>
Betreff: Re: [PD] Slider/Knob

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 th

Re: [PD] Slider/Knob

2018-09-07 Thread Antoine Rousseau
OK I just tried and mknob_newclick allows receiving hovering as you said
before.

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 à 19:32, Antoine Rousseau  a
écrit :

> I see; why not even showing outline and iolets as soon as the patch is
> switched to edit mode?
> But I must admit I don't know how to detect these events (object is
> hovered /or/ patch switches to /from edit mode). I'll try to find existing
> similar code, but maybe you have some pointers?
>
> 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 à 19:20, Christof Ressi  a
> écrit :
>
>> > you mean like the little square of the canvas object?
>>
>> kind of, except that my_canvas only shows the square when the object is
>> selected. of course that's also possible! my idea was to show it when you
>> hover the object in editmode, so you don't have to explicitly select the
>> object to see where to make the connections.
>>
>>
>> Gesendet: Freitag, 07. September 2018 um 18:43 Uhr
>> Von: "Antoine Rousseau" 
>> An: "Christof Ressi" 
>> Cc: Pd-list 
>> Betreff: Re: Re: [PD] Slider/Knob
>>
>> a visual hint (i.e. draw the rect borders and the iolets)- but only when
>> the user hovers over the knob while the glist is in editmode
>>
>> you mean like the little square of the canvas object? yes, I like the
>> idea. I'll try this soon, thanks!
>>
>>
>> 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 à 17:31, Christof Ressi > [mailto:christof.re...@gmx.at]> a écrit :Hi, to be honest, I never found
>> it to be a big problem. I'm not too sure about the three outlet solution, I
>> think it's indeed a bit far-stretched :-) what I would suggest is to give
>> the user a visual hint (i.e. draw the rect borders and the iolets)- but
>> only when the user hovers over the knob while the glist is in editmode. you
>> can do this in mknob_newclick.
>>
>> > iolets are floating in an empty space near the knob;
>>
>> yes, this looks a bit funny, but you usually won't have the cables
>> visible in your final GUI anyway, so I wouldn't worry about that.
>>
>> Christof
>>
>> Gesendet: Freitag, 07. September 2018 um 14:45 Uhr
>> Von: "Antoine Rousseau" mailto:anto...@metalu.net]>
>> An: "Christof Ressi" mailto:christof.re...@gmx.at
>> ]>
>> Cc: Pd-list mailto:Pd-list@lists.iem.at]>
>> Betreff: Re: [PD] Slider/Knob
>>
>> 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://www.metalu.net][http://metalu.net[
>> http://metalu.net]] __
>> http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/][http://www.metaluachahuter.com/%5

Re: [PD] Slider/Knob

2018-09-07 Thread Antoine Rousseau
I see; why not even showing outline and iolets as soon as the patch is
switched to edit mode?
But I must admit I don't know how to detect these events (object is hovered
/or/ patch switches to /from edit mode). I'll try to find existing similar
code, but maybe you have some pointers?

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 à 19:20, Christof Ressi  a
écrit :

> > you mean like the little square of the canvas object?
>
> kind of, except that my_canvas only shows the square when the object is
> selected. of course that's also possible! my idea was to show it when you
> hover the object in editmode, so you don't have to explicitly select the
> object to see where to make the connections.
>
>
> Gesendet: Freitag, 07. September 2018 um 18:43 Uhr
> Von: "Antoine Rousseau" 
> An: "Christof Ressi" 
> Cc: Pd-list 
> Betreff: Re: Re: [PD] Slider/Knob
>
> a visual hint (i.e. draw the rect borders and the iolets)- but only when
> the user hovers over the knob while the glist is in editmode
>
> you mean like the little square of the canvas object? yes, I like the
> idea. I'll try this soon, thanks!
>
>
> 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 à 17:31, Christof Ressi  [mailto:christof.re...@gmx.at]> a écrit :Hi, to be honest, I never found
> it to be a big problem. I'm not too sure about the three outlet solution, I
> think it's indeed a bit far-stretched :-) what I would suggest is to give
> the user a visual hint (i.e. draw the rect borders and the iolets)- but
> only when the user hovers over the knob while the glist is in editmode. you
> can do this in mknob_newclick.
>
> > iolets are floating in an empty space near the knob;
>
> yes, this looks a bit funny, but you usually won't have the cables visible
> in your final GUI anyway, so I wouldn't worry about that.
>
> Christof
>
> Gesendet: Freitag, 07. September 2018 um 14:45 Uhr
> Von: "Antoine Rousseau" mailto:anto...@metalu.net]>
> An: "Christof Ressi" mailto:christof.re...@gmx.at]>
> Cc: Pd-list mailto:Pd-list@lists.iem.at]>
> Betreff: Re: [PD] Slider/Knob
>
> 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://www.metalu.net][http://metalu.net[
> http://metalu.net]] __
> http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/][http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D]
> <http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5Bhttp://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D%5D>
>
>
> Le ven. 7 sept. 2018 à 13:05, Christof Ressi  [mailto:christof.re...@gmx.at][mailto:christof.re...@gmx.at[mailto:
> christof.re...@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 mailto:reinkl.

Re: [PD] Slider/Knob

2018-09-07 Thread Christof Ressi
> you mean like the little square of the canvas object?

kind of, except that my_canvas only shows the square when the object is 
selected. of course that's also possible! my idea was to show it when you hover 
the object in editmode, so you don't have to explicitly select the object to 
see where to make the connections.
 

Gesendet: Freitag, 07. September 2018 um 18:43 Uhr
Von: "Antoine Rousseau" 
An: "Christof Ressi" 
Cc: Pd-list 
Betreff: Re: Re: [PD] Slider/Knob

a visual hint (i.e. draw the rect borders and the iolets)- but only when the 
user hovers over the knob while the glist is in editmode
 
you mean like the little square of the canvas object? yes, I like the idea. 
I'll try this soon, thanks!
 

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 à 17:31, Christof Ressi 
mailto:christof.re...@gmx.at]> a écrit :Hi, to be 
honest, I never found it to be a big problem. I'm not too sure about the three 
outlet solution, I think it's indeed a bit far-stretched :-) what I would 
suggest is to give the user a visual hint (i.e. draw the rect borders and the 
iolets)- but only when the user hovers over the knob while the glist is in 
editmode. you can do this in mknob_newclick.

> iolets are floating in an empty space near the knob;

yes, this looks a bit funny, but you usually won't have the cables visible in 
your final GUI anyway, so I wouldn't worry about that.
 
Christof

Gesendet: Freitag, 07. September 2018 um 14:45 Uhr
Von: "Antoine Rousseau" mailto:anto...@metalu.net]>
An: "Christof Ressi" mailto:christof.re...@gmx.at]>
Cc: Pd-list mailto:Pd-list@lists.iem.at]>
Betreff: Re: [PD] Slider/Knob

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://www.metalu.net][http://metalu.net[http://metalu.net]]
 __ 
http://www.metaluachahuter.com/[http://www.metaluachahuter.com/compagnies/al1-ant1/][http://www.metaluachahuter.com/%5Bhttp://www.metaluachahuter.com/compagnies/al1-ant1/%5D]
  

Le ven. 7 sept. 2018 à 13:05, Christof Ressi 
mailto:christof.re...@gmx.at][mailto:christof.re...@gmx.at[mailto:christof.re...@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 
> mailto:reinkl...@online.de][mailto:reinkl...@online.de[mailto:reinkl...@online.de]]>
> An: 
> Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at][mailto:Pd-list@lists.iem.at[mailto:Pd-list@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@lists.iem.at[mailto:Pd-list@lists.iem.at][mailto:Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at]]
>  mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list][https://lists.puredata.info/listinfo/pd-list%5Bhttps://lists.puredata.info/listinfo/pd-list%5D]
>


___
Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at][mailto:Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at]]
 mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list][https:/

Re: [PD] Slider/Knob

2018-09-07 Thread Antoine Rousseau
>
> a visual hint (i.e. draw the rect borders and the iolets)- but only when
> the user hovers over the knob while the glist is in editmode
>

you mean like the little square of the canvas object? yes, I like the idea.
I'll try this soon, thanks!

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 à 17:31, Christof Ressi  a
écrit :

> Hi, to be honest, I never found it to be a big problem. I'm not too sure
> about the three outlet solution, I think it's indeed a bit far-stretched
> :-) what I would suggest is to give the user a visual hint (i.e. draw the
> rect borders and the iolets)- but only when the user hovers over the knob
> while the glist is in editmode. you can do this in mknob_newclick.
>
> > iolets are floating in an empty space near the knob;
>
> yes, this looks a bit funny, but you usually won't have the cables visible
> in your final GUI anyway, so I wouldn't worry about that.
>
> Christof
>
> Gesendet: Freitag, 07. September 2018 um 14:45 Uhr
> Von: "Antoine Rousseau" 
> An: "Christof Ressi" 
> Cc: Pd-list 
> Betreff: Re: [PD] Slider/Knob
>
> 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  [mailto:christof.re...@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 mailto:reinkl...@online.de]>
> > An: Pd-list@lists.iem.at[mailto:Pd-list@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@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]
> >
>
>
> ___
> Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-07 Thread Christof Ressi
Hi, to be honest, I never found it to be a big problem. I'm not too sure about 
the three outlet solution, I think it's indeed a bit far-stretched :-) what I 
would suggest is to give the user a visual hint (i.e. draw the rect borders and 
the iolets)- but only when the user hovers over the knob while the glist is in 
editmode. you can do this in mknob_newclick.

> iolets are floating in an empty space near the knob;

yes, this looks a bit funny, but you usually won't have the cables visible in 
your final GUI anyway, so I wouldn't worry about that. 
 
Christof

Gesendet: Freitag, 07. September 2018 um 14:45 Uhr
Von: "Antoine Rousseau" 
An: "Christof Ressi" 
Cc: Pd-list 
Betreff: Re: [PD] Slider/Knob

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 
mailto:christof.re...@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 mailto:reinkl...@online.de]>
> An: Pd-list@lists.iem.at[mailto:Pd-list@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@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]
>


___
Pd-list@lists.iem.at[mailto:Pd-list@lists.iem.at] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-07 Thread alfonso santimone
Hi all,
i'm trying to move all my music apps to 64 bit on Windows (it's the
standard and more softwares are adbandoning the 32 bit version)
I would really like to try both moonlib and the oliver's abtraction.
But everything rely on 32 bits library.
Hope to get some 64x version soon.
Pd 0.48.2 works fine on Win 64x as a 64x application. A little number of
libraries (else, cyclone ) are already compiled for 64x.
I hope more and more will follow.
I even could help compiling and try to get the knowledge (pd lib builder )
to try some 64x compling.

a.
www.elgallorojorecords.com
soundcloud.com/alfonsosantimone
www.facebook.com/alfonsosantimone


On Fri, Sep 7, 2018 at 2:47 PM Antoine Rousseau  wrote:

> 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  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 
>> > An: Pd-list@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@lists.iem.at mailing list
>> > UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>> >
>>
>>
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-07 Thread Antoine Rousseau
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  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 
> > An: Pd-list@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@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> >
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Slider/Knob

2018-09-07 Thread Christof Ressi
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 
> An: Pd-list@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@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
>


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Slider/Knob

2018-09-07 Thread Clemens

Hello List,

I would like to use knobs instead of sliders,

where can I find them?

Cheers

Clemens



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list