Re: [PD] change knob width on sliders?

2008-07-26 Thread hard off
bit of a hack, but you can put a canvas on top of the slider, and have it
receive position data from the slider's value
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] change knob width on sliders?]

2008-07-26 Thread Steffen Leve Poulsen

you can make one by covering two numboxes with Canvas.
Like attached (range.pd), drag the grey areas.

Stef Leave
Phil Stone skrev:

Hello,

Is there any message that changes the knob width on sliders?  I don't 
see any in the help, but I'm hoping anyway.


If not, are there any externals that have this capability?  I'm trying 
to make a control that sets a window (start, end) on a table, and a 
normal slider would be perfect if I could control the knob size.




Phil Stone
pkstonemusic.com



#N canvas 516 67 591 474 10;
#X obj 126 351 s dollar0-fader;
#X msg 126 296 pos \$1 100;
#X msg 358 293 vis_size \$1 17;
#X obj 126 269 + 100;
#X obj 102 38 inlet;
#X floatatom 101 100 5 0 200 0 - - -;
#X floatatom 148 100 5 0 200 0 - - -;
#X obj 100 100 cnv 15 200 17 empty empty empty 20 12 0 14 -261689 -66577
0;
#X obj 166 100 cnv 1 74 17 empty dollar0-fader empty 20 12 0 14 -258699
-66577 0;
#X obj 152 102 cnv 1 35 13 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 108 102 cnv 1 35 13 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 63 210 outlet;
#X obj 63 182 pack;
#X obj 102 64 unpack;
#X obj 126 138 t b f;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 1 0;
#X connect 4 0 13 0;
#X connect 5 0 3 0;
#X connect 5 0 12 0;
#X connect 6 0 2 0;
#X connect 6 0 14 0;
#X connect 12 0 11 0;
#X connect 13 0 5 0;
#X connect 13 1 6 0;
#X connect 14 0 12 0;
#X connect 14 1 12 1;
#X coords 0 -1 1 1 200 17 2 100 100;

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


Re: [PD] change knob width on sliders?]

2008-07-26 Thread Phil Stone
Steffen Leve Poulsen wrote:
> you can make one by covering two numboxes with Canvas.
> Like attached (range.pd), drag the grey areas.
>
> Stef Leave
> Phil Stone skrev:
>> Hello,
>>
>> Is there any message that changes the knob width on sliders?  I don't 
>> see any in the help, but I'm hoping anyway.
>>
>> If not, are there any externals that have this capability?  I'm 
>> trying to make a control that sets a window (start, end) on a table, 
>> and a normal slider would be perfect if I could control the knob size.
>>

Ok, I see what you're both getting at (although I couldn't get your 
patch to work Steffen - and why the number boxes?).

Thank you both for replying.


Phil


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


Re: [PD] change knob width on sliders?]

2008-07-27 Thread Phil Stone
Steffen Leve Poulsen wrote:
> Phil Stone skrev:
>> Steffen Leve Poulsen wrote:
>>> you can make one by covering two numboxes with Canvas.
>>> Like attached (range.pd), drag the grey areas.
>>>
>>> Stef Leave
>>> Phil Stone skrev:
 Hello,

 Is there any message that changes the knob width on sliders?  I 
 don't see any in the help, but I'm hoping anyway.

 If not, are there any externals that have this capability?  I'm 
 trying to make a control that sets a window (start, end) on a 
 table, and a normal slider would be perfect if I could control the 
 knob size.

>>
>> Ok, I see what you're both getting at (although I couldn't get your 
>> patch to work Steffen - and why the number boxes?).
>
> the leftmost grey Canvas hides a numbox that sets the beginning of the 
> range.the other sets the length.
> Stef

OK, I didn't figure that out the first time - didn't think of scrolling 
up and down, like in a number box.  Very cool.


Phil



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


Re: [PD] change knob width on sliders?]

2008-07-27 Thread Steffen Leve Poulsen
Phil Stone skrev:
> Steffen Leve Poulsen wrote:
>> you can make one by covering two numboxes with Canvas.
>> Like attached (range.pd), drag the grey areas.
>>
>> Stef Leave
>> Phil Stone skrev:
>>> Hello,
>>>
>>> Is there any message that changes the knob width on sliders?  I don't 
>>> see any in the help, but I'm hoping anyway.
>>>
>>> If not, are there any externals that have this capability?  I'm 
>>> trying to make a control that sets a window (start, end) on a table, 
>>> and a normal slider would be perfect if I could control the knob size.
>>>
> 
> Ok, I see what you're both getting at (although I couldn't get your 
> patch to work Steffen - and why the number boxes?).

the leftmost grey Canvas hides a numbox that sets the beginning of the 
range.the other sets the length.
Stef




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