If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Change prim on knob output as a rule ?
10 posts
• Page 1 of 1
Change prim on knob output as a rule ?
Does that sound reasonable to you guys ?
A knob set for 22 turns can easily output 80-100 triggers on a full turn , even more then that if you dont let go and keep moving the mouse, which can happen in use.
Having a change prim and it will only output the 21 triggers.
A knob set for 22 turns can easily output 80-100 triggers on a full turn , even more then that if you dont let go and keep moving the mouse, which can happen in use.
Having a change prim and it will only output the 21 triggers.
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: Change prim on knob output as a rule ?
lalalandsynth wrote:Does that sound reasonable to you guys ?
A knob set for 22 turns can easily output 80-100 triggers on a full turn , even more then that if you dont let go and keep moving the mouse, which can happen in use.
Having a change prim and it will only output the 21 triggers.
I use that 'Change' PRIM everywhere I get multiple triggers ... including many KNOB instances.
Just be sure that the KNOB [or slider] still delivers values you need. If so ... should be good to go.
- RJHollins
- Posts: 1568
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Change prim on knob output as a rule ?
Oh yes, every time for me in that situation. Likewise, for bitmap animated knobs, I'll use a 'changed' somewhere at the end of the frame calculation so that there's no redraw trigger if the displayed animation frame stays the same. This can save a fair bit of graphics processing overhead, especially if redraw-rate limiting is used as well (for Ruby controls, these can usually be incorporated into the code.)
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Change prim on knob output as a rule ?
fewwph ... always good to get The Confirmation' whenever a 'rookie' suggests.
Thank-you !
In fact ... I think it was TROG who taught us this back in the SM daze.
Thank-you !
In fact ... I think it was TROG who taught us this back in the SM daze.
- RJHollins
- Posts: 1568
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Change prim on knob output as a rule ?
just wait. I'll be making a new foundation which will replace the way knobs work. Should be impressive.
EDIT: link here: http://dsprobotics.com/support/viewtopic.php?f=2&t=16405#p51712
EDIT: link here: http://dsprobotics.com/support/viewtopic.php?f=2&t=16405#p51712
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: Change prim on knob output as a rule ?
"I'll use a 'changed' somewhere at the end of the frame calculation so that there's no redraw trigger if the displayed animation frame stays the same. " Can you expand on this , not sure how to do that and I use almost exclusively bitmap knobs .
EDIT> I get it , indeed , lots of triggers there as well
EDIT> I get it , indeed , lots of triggers there as well
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: Change prim on knob output as a rule ?
lalalandsynth wrote:"I'll use a 'changed' somewhere at the end of the frame calculation so that there's no redraw trigger if the displayed animation frame stays the same. " Can you expand on this , not sure how to do that and I use almost exclusively bitmap knobs .
EDIT> I get it , indeed , lots of triggers there as well
As will I even in My new example. it's a great idea. Thanks for sharing
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: Change prim on knob output as a rule ?
Old thread but thought I would mention something I encountered.
If you have a change prim on the output of the knob then I am successful in reducing the trigger from the knob, so all good there.
But when I try and reduce the frame count by placing the change before the redraw then when I do Ctrl Click to to reset to Default value it will not send a trigger and therefore not reset the actual value, only the knob, visually .
Where would you place the change prim to reduce frame redraw ?
Any thoughts on this ?
If you have a change prim on the output of the knob then I am successful in reducing the trigger from the knob, so all good there.
But when I try and reduce the frame count by placing the change before the redraw then when I do Ctrl Click to to reset to Default value it will not send a trigger and therefore not reset the actual value, only the knob, visually .
Where would you place the change prim to reduce frame redraw ?
Any thoughts on this ?
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: Change prim on knob output as a rule ?
For the frame drawing, look for the point where the value gets rounded to integer (the frame number), then use the 'changed' on this integer (for confirmation - the next calculation is usually a multiplication by the frame width or height, which may or may not convert the value back to float).
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Change prim on knob output as a rule ?
Here is my knob so what I would want to do is to limit the redraw triggers right? Where that trigger counter is.
Feels like i need to reduce the triggers somewhere before that right ?
I can put a change in front of that Step module and that works but will not update the value when I use Ctrl Click to reset the knob.
Feels like i need to reduce the triggers somewhere before that right ?
I can put a change in front of that Step module and that works but will not update the value when I use Ctrl Click to reset the knob.
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 47 guests