






Moderators: electrogear, exonerate

Shifrin wrote:* Modifier+MouseButton to reset the knob to a default position.
* Modifier+LeftClickDrag to fine-tune.
Shifrin wrote:* LeftClickDrag 'left-to-right' for fine-tuning (A la Ohmforce). Assuming knob is a normal linear type knob.
Shifrin wrote:* Switchable to 'circular' type knob? (I don't need this but some may).




I was getting the same error; when you swung the knob to the right then quickly left, some LEDs stayed on. NAS got it cleared upNu Audio Science (from previous thread) wrote:Yeah i was getting redraw problems but i used the technique Jorge showed last night whereby you put the redraw component outside of all the modules and it works better, He covers it in a thread last night somewhere

unkargherth wrote:I suspect you mean RightClickDrag. Left clickDrag is the standard drag, true?
unkargherth wrote:Could you detail how "circular" knobs behave?
Shifrin wrote:My guess is that you could calculate the x/y offsets of the mouse position from the knob centre then use simple trigonometry to calculate the angle at which the mouse is relative to the knobs centre, and so update the knob accordingly.
from the README wrote:LATK_050509c~infuzion.osm
Based on NAS’s LATK downloaded 05May08, file size 153,167 bytes.
Changes
User-endNew
Programmer-end
output: Value (float)
Changed
input: Maxville (float), so the (output) Value will range from 0-MaxValue
knob-LATK interface: Now the LED that the knob is pointing to won’t “turn on” until the pointer is more than half-way of said LED. This is to simulate the “clicks” one feels when turning certain dials.
cleaned up/organized the code
Release Notes:
neatened up stuff by rearranging module placements
LATK’s "click" value is set by subtracting 0.0416667 from the bottom input float
moved "Vu Dial" up one step
Previously, the knob’s output was multiplied to get the desired output value for various modules. Now, Shadow Knob’s Value output is a 0-1 float for the LATK array, & TrueValue float output is for the actual desired output to the text & module output.
file naming: To prevent confusion, unless a better method is agreed upon, let’s use this:
FILENAME_YYMMDDnext-version-letter~you
As I only did small changes to Nu Audio Science's great module, so nothing is expected in return. However, I still wouldn't mind a linkback, & a free copy of anything you make with this (hook up NAS first).



Users browsing this forum: No registered users and 0 guests