Mouse Drag float outputs

Discuss suspected defects before submitting a bug report

Moderator: electrogear

Re: Mouse Drag float outputs

Postby Mo on Thu Mar 31, 2011 6:17 am

tor wrote:Think I have it all sorted out now.

I'm sure no "set" from preset to the drag accumulate can make some problems. Try test it with automation and preset change.
Also, placing the Float Change after the step module is better if you use steps.
Hold default and drag, makes the knob skip.
User avatar
Mo
essemilian
 
Posts: 439
Joined: Thu Jan 24, 2008 2:00 pm
Location: Copenhagen

Re: Mouse Drag float outputs

Postby aliasant on Thu Mar 31, 2011 7:53 am

Nice Tor.
A lot better design but theres a small bug.
Try using it with a Preset Manager.
Set the knob so something low save and go to next preset. Set it to something high save and go back to previous and start interacting with the knob.
I think you need to get the current value from the preset primitive into the Set input on the drag prim.
It's never to late to be late.....
http://martinrodensjo.smugmug.com/
User avatar
aliasant
smunatic
 
Posts: 2388
Joined: Sat Dec 30, 2006 5:49 pm
Location: Sweden

Re: Mouse Drag float outputs

Postby tor on Thu Mar 31, 2011 1:38 pm

Thank you Mo n aliasant. Set is now fixed :)

Knob.osm
(35.63 KiB) Downloaded 226 times
Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke, "Profiles of The Future", 1961 (Clarke's third law)

http://www.audioteknikk.net
User avatar
tor
essemilian
 
Posts: 469
Joined: Wed Apr 14, 2010 8:52 pm

Re: Mouse Drag float outputs

Postby tor on Wed Aug 31, 2011 4:55 pm

Is there any solution to this problem?

The mouse drag prims continue to registrate mouse movement after they reached min or max. So if the user drags up beyond max some distance with the mouse, he will have to drag the same distance down again before the knob value decrease and knob moves again if not mouse button released meanwhile.

All SM knobs behaves like this.

Should we consider this a bug or is it supposed to be this way?
If so why.......

Tor
Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke, "Profiles of The Future", 1961 (Clarke's third law)

http://www.audioteknikk.net
User avatar
tor
essemilian
 
Posts: 469
Joined: Wed Apr 14, 2010 8:52 pm

Re: Mouse Drag float outputs

Postby adamszabo on Thu Sep 01, 2011 1:09 pm

Yeh its wierd... I tried to do a fix but no luck.
adamszabo
essemilian
 
Posts: 230
Joined: Sun Jul 11, 2010 6:21 am

Re: Mouse Drag float outputs

Postby Mo on Thu Sep 01, 2011 1:48 pm

tor wrote:The mouse drag prims continue to registrate mouse movement after they reached min or max. So if the user drags up beyond max some distance with the mouse, he will have to drag the same distance down again before the knob value decrease and knob moves again if not mouse button released meanwhile.
Posted about this some time ago: viewtopic.php?f=2&t=8983&p=63180#p63180. Now i set the Drag Accumulate's cursor input to "1=hide and hold" only, i think it's better.
User avatar
Mo
essemilian
 
Posts: 439
Joined: Thu Jan 24, 2008 2:00 pm
Location: Copenhagen

Re: Mouse Drag float outputs

Postby trogluddite on Thu Sep 01, 2011 4:22 pm

The upside of it is that it works better when you have a graphical 'icon' that you drag around (e.g. a 'handle' on a graphical envelope) - the mouse pointer will stay glued to the handle even if you go outside its display area and then re-enter.
I'd still be in favour of a purely 'drag direction' accumulator as an alternative for knobs though.
Feel free to use any schematics and algorithms I post on the forum in your own designs - a credit is appreciated (but not a requirement).
Don't stagnate, mutate to create. Without randomness and serendipity the earth would be just another barren rock.
User avatar
trogluddite
smychopath
 
Posts: 3033
Joined: Mon Oct 20, 2008 3:52 pm
Location: Yorkshire, UK

Re: Mouse Drag float outputs

Postby tor on Thu Sep 01, 2011 4:40 pm

trogluddite wrote:The upside of it is that it works better when you have a graphical 'icon' that you drag around (e.g. a 'handle' on a graphical envelope) - the mouse pointer will stay glued to the handle even if you go outside its display area and then re-enter.
I'd still be in favour of a purely 'drag direction' accumulator as an alternative for knobs though.


1+
Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke, "Profiles of The Future", 1961 (Clarke's third law)

http://www.audioteknikk.net
User avatar
tor
essemilian
 
Posts: 469
Joined: Wed Apr 14, 2010 8:52 pm

Previous

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests