From the original SynthMaker forum (2004–2014), with its members’ names and dates.
rl ·
I tried to extend the standard knob: vertical mouse drags for normal control, horizontal mouse movement for fine control. Therefore I added a DragX. But either I am too stupid or I found a bug: it wont't work. If I'd removed one of the two yellow mouse-message connections it works in the appropriate direction, but not if both cables are connected (see schematic)
malc ·
Hi rl,
I'm looking at this now - will get back to you.
Thanks.
malc ·
Ok, I've had a look now.
If you want to monitor horizontal and vertical movement within the same drag operation you need to use the XY Drag Accumulate component and not the individual accumulate components for X and Y.
I tried doing what you wanted but it doesn't behave very well. By this I mean that it's very hard to move the mouse purely in one direction or the other and so the behaviour is a bit jumpy.
Another possible option is to use the X movement to control the scale on the Y movement. Moving to the right would give you finer control but only moving vertically would change the position of the knob.
Here's a link to these two examples. Knob1 does what you were asking for and Knob2 is my variation.
[old link]
Shifrin ·
Thanks for this malc, I was going to implement fine-tuning in my knobs this way (i.e. drag X direction to fine-tune) you've saved some possible head-scratching 🙂
Shif.
malc ·
Maybe, maybe not. I just threw that together. Looking again it seems that both alternatives need a bit of tweaking.
For example, in Knob2 the accumulate component remembers the last values for X and Y and so when you move the knob a second time the start scale is what you finished with the previous time (hope that makes sense). What you want is the X to reset each time - easy enough I think. I'll do it when I get a mo.
Shifrin ·
Ah ok, cheers 🙂
Shif.
rl ·
malc wrote:
Here's a link to these two examples. Knob1 does what you were asking for and Knob2 is my variation.
Thank you malc,
BTW: It would be nice, if custom mouse cursors (currently only the small white circle) could be defined. Any plans on that?
malc ·
Indeed, custom cursors are on the list 🙂
Tom7777 ·
Custom cursors, yay 🙂
Wrote something here? To have a post removed or your name hidden, write to [email protected].