Hey guys
I am the guy working on mouse scratching.

I don't think if I have introduced myself (...yet?)
I am Shashank Kumar. I am a junior year student of Electronics and
Communication Engineering.
I don't remember how I came across Mixxx first time, but it was about
a year back and I was impressed by the way it works. :)
I first witnessed mouse scratching with TerminatorX, I liked the idea
and wanted to implement the same in Mixxx.
And here I am!

Btw, coming back to subject - I am kinda stuck with one-to-one motion
of mouse with waveform, there are 2 constraints:
1. 'rate' (the one which is set by scratch2 CO) falls always in range
of -3.675 to +3.675 (afaik), while speed of mouse pointer can shoot
upto 30
2. Qt has no direct way of controlling mouse speed (i have already
asked for help on #qt)
If no speed control is done then mouse seems to move at much faster
rate than waveform, ie no one-to-one correspondence b/n mouse and
waveform.
Now, only way I can think is to remove limits  of 'rate'.

Can anyone please suggest some feasible plan?


A little history of what has been done:
After screwing up with MSE's scratch functions, I started again form
Skye's branch.
I have changed the CO to scratch2.
Mouse cursor position is limited by the waveform display while scratching.

If anyone wants to try my code its at:  lp:~shanx-shashank/mixxx/mouseScratch
I have done a temporary hack to magnify waveform  on mouse scratching
- at this magnification mouse and waveform are moving one-to-one, as
long as mouse is within the limits of 'rate'
To disable this hack set:

shanx_mScratch = false;

on line 201 in src/widget/wglwaveformviewer.cpp


And, I was wondering if we have some documentation instructing how to
name variables/functions in Mixxx-land?

Thanks
Shashank
irc nick: shanxS

PS: my branch is under development,  *lot* of cleaning is required.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to