On 01/08/2016 04:00 PM, Daniel Schürmann wrote:
> The current algorithm

Ignore the implementation for now. I only want to discuss design in this
thread, i.e. How should soft-takeover behave in each case?

> Line 4 is not reached in my scenario since the user moved the slider
> very quickly.

I'm confused then. As far as soft-takeover is concerned, it shouldn't
care how the on-screen control was moved (whether the user did it with a
mouse or AutoDJ did it,) its evaluation of whether to ignore a new
hardware value will be the same.

Can you re-state your AutoDJ scenario step by step? (You could replace
the AutoDJ part with just "move the CF with the mouse.") Use the little
text diagrams for each one and say if it occurs soon (within 50ms) or
later than the previous. Remember | is the CO value (which AutoDJ or a
mouse can change) and 'p' and 'n' are hardware values which only the
user can change on the controller.

>> You're right, it does indeed make a tiny jump, but it isn't noticeable
>> in the audio. This window is needed for controllers that send messages
>> slowly. Without it, controls lose sync easily (which is very frustrating!)
> 
> I cannot see this need anymore. Can you describe a step by step scenario
> how a slow controller looses sync without the jump.

Sure. On some controllers (I think Hercules RMX is one,) if you move
sliders at a normal speed, the controller sends position messages that
arrive more than 50ms apart but differ by 2 or 3 values instead of 1, e.g.:
B0 10 00
B0 10 01
B0 10 02
B0 10 04
B0 10 07
B0 10 09
B0 10 0C

Without that 3-value "gimmie" window, such a controller would lose sync
on all but the slowest moves. (At the B0 10 04 step in this example.)

> If
> we think of a scenario where EQs are reset on track load, they will get
> always out of sync if you have tweaked them in the previous track.
> If you now just want to move the Controller EQ knob as well back to
> center, the EQs are enabled and due to the opposite direction jump and
> disabled again. Since enabling and disabling EQs requires come CPU, we
> should avoid this, if possible.

That's true, but avoiding it is not possible in light of the above. I'm
glad you're paying attention to optimizing CPU usage though!

Sincerely,
Sean M. Pappalardo
"D.J. Pegasus"
Mixxx Developer - Controller Specialist

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to