Hi Owen,

On Sun, Feb 14, 2010 at 6:39 PM, Owen Williams <[email protected]> wrote:
> What's the current status of vinyl control under mixxx (either with 1.7
> or 1.8).  I'm having problems with both branches with any mode, even
> though the widget reports signal ok.  I'm using a Serato v.2 control
> disc, and xwax-0.6 works perfectly.

If you look in lib/xwax in our source tree, you can find the copy of
the timecoder.c file we borrowed from xwax. It's fairly old now, might
be from like 0.2 or 0.3.

>
> I can go into detail, but my initial debugging points to massive
> timecode drift between the vinyl and the file.  Barely 10 seconds pass
> before the two timecodes are off by a second.
>
> Is vinyl control supposed to be working ok, and is there a reason it
> would work in xwax but not mixxx?

Yes, there are two possibilities that I'd consider:

1) The older version of the xwax code is where the problem is.

2) My drift control code may not be working correctly in your
configuration for some reason. There's this thing called "drift
control" that I had to code to help nudge Mixxx's playback back into
alignment with the timecode. It normally prevents what you're seeing.
The reason you need it is because the timecode that's embedded on
vinyls is not perfectly synced to 33 RPM - There's always going to be
a bit of drift, and you have to make an additional correction to the
pitch in order to nudge playback back into sync with the timecode.
This is something that happens all the time in our vinyl control code,
but the code is not shared with xwax because it's tied to the playback
rate of your audio app's engine. (Kudos to Mark for designing his code
well.)

If you dig into vinylcontrolxwax.cpp, you'll find everything related
to drift control and how we use the xwax timecoder stuff. It should be
reasonably well commented, but I'd be more than happy to clarify
anything for you if you need it. There's lots of variables you can
print out that make debugging fun too. :)

So... vinyl control should be working OK for you, especially because
we have this drift control thing to prevent what you're seeing from
happening, but obviously something's not working right, so please
debug it and let me know what you find!

I'm looking for someone who's willing to maintain or even just work on
the vinyl control code too. I don't have my turntables anymore, so the
vinyl control code has gone pretty much untouched for a long time.

Thanks,
Albert

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to