Re: [Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-30 Thread shanx
Hey RJ Thanks for quick response :-) > but in general, could you clarify why you need to know whether or not the > engine has sync'd yet? English is not my native language, please bear with me. Every time engine syncs, it uses the last set value of scratch2 . Suppose I set a value X using scratc

Re: [Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-30 Thread RJ Ryan
Hey Shanx, Sorry for the brief response (at work), but in general, could you clarify why you need to know whether or not the engine has sync'd yet? In general, all the scratch and wheel controls work as accumulators. You add or subtract from the value of controls like wheel or scratch2, then the e

Re: [Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-30 Thread shanx
Has anyone ever tried to tame mixxx's engine? its a different beast altogether ;) There is a design based drawback of my last approach, let me explain by starting from what I was trying to do. Its simple, I set the distance traveled by mouse as rate using scratch2 CO but before I do this I check i

Re: [Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-26 Thread shanx
Either I am out of my mind or sleep is taking over me, this is the corrected (spelling mistake :P) version of "snapshot of how I am using ControlObject::getCallStatus()" //COcallOld stores value of sync() call last time this function was called //COcallNew stores current value of sync() //m

Re: [Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-26 Thread shanx
Hey everyone I have quite succeeded in making the waveform move one on one with mouse. There are just 3 constraints :P 1. It works best (read 'only') with latency of 42ms. 2. If you shake your mouse like crazy, you might end up a few seconds later or earlier from where you started! 3. I have not y

Re: [Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-24 Thread shanx
Thanks for prompt response. > So like an accumulator? It sounds like you might want to factor out the > scratching code from the MidiScriptEngine and use it for the waveform > scratching as well, since that code includes an alpha-beta filter which > does exactly this accumulation & smoothing. Than

Re: [Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-24 Thread Sean M. Pappalardo - D.J. Pegasus
On 03/24/2011 02:23 PM, shanx wrote: > > 1. 'rate' (the one which is set by scratch2 CO) falls always in range > > of -3.675 to +3.675 (afaik) > Okay, seems like I have resolved this one :-) > in enginebuffer.h, following is the change: I did the same thing in the 1.9 branch since I couldn't d

Re: [Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-24 Thread shanx
I made some advancements here. > 1. 'rate' (the one which is set by scratch2 CO) falls always in range > of -3.675 to +3.675 (afaik) Okay, seems like I have resolved this one :-) in enginebuffer.h, following is the change: line 24: #define MAX_SEEK_SPEED 500.0f // original value was 4.0f Appare

[Mixxx-devel] mouse scratching: one-to-one motion of mouse with waveform

2011-03-12 Thread shanx
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