Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lacking hotcue and hotcue loop handling for deck4 #1

Open
ardje opened this issue Mar 11, 2019 · 3 comments
Open

Lacking hotcue and hotcue loop handling for deck4 #1

ardje opened this issue Mar 11, 2019 · 3 comments

Comments

@ardje
Copy link

ardje commented Mar 11, 2019

Hi,
I have an SX3, and now I discovered your SX2 controls that in some points are way better than the stock SX controllerscript in mixxx.
During automation of the midi file, I noticed that you lack the hotcue button handling for deck4 in the xml file.
I am currently busy generating an xml generator, because exploding a few lines of configuration into 300kB of xml is more easy than to edit 700 xml entities by hand ;-).
I forked your repo, and my current work is here:
https://github.com/ardje/Mixxx-Pioneer-DDJ-SX3/tree/master/bin
the ddj-sx3.lua just outputs the xml. The end of the file contains the not already automated entries.
But you can get a feel of the magic here, and also the reason why I discovered it here:
https://github.com/ardje/Mixxx-Pioneer-DDJ-SX3/blob/master/bin/ddj-sx3.lua#L50-L51
There is no pull, just a heads up.
If you want to use the generator script too, I will make it generic.
There are some pesky buttons different on the SX3, especially FX assignment.

Regards,
Ard van Breemen

@tildearrow
Copy link
Owner

Oops, thank you for the report! Fixed in 0d80b0c.

The reason why I dropped the build system from the DDJ-SR code is because back in 2016, when I was working on the mapping, I felt the build system was bloated (and buggy) and began to work on the mapping directly (by using the Mixxx UI (which I felt was easier to use)).

The new build system idea you're proposing seems to be cool, but there's a minor problem: it's written in Lua. I don't have much experience with that language... (but that's OK; I can learn it)

I will think about merging your build system with this project soon.

@ardje
Copy link
Author

ardje commented Mar 15, 2019

\0/
Thanks! I mean, for not rejecting the idea.
I will create a lua-readme to explain the basics of lua, which also explains the why. The only other language capable of such string handling is perl I guess.
Anyway, a previous attempt for the hercules universal dj: https://github.com/ardje/mixxx-presets/blob/master/generator.lua#L111-L150
It's not concise, as it needs cue's and fx added. But most of the buttons are directly engine mapped, skipping javascript.

Anyway, I will continue to finish the script generating the SX2 configuration, and then add SX3.
When I finish SX2, I will give you a pull.

BTW: did you capture the data yourself? I have an external usb analyzer, did not use it yet. But I should because the VU meters do not work. Or do you send audio to deck1..4 instead of master?
I will need to do some more serato sniffing :-(

@tildearrow
Copy link
Owner

Will look at it when I come back home.

BTW: did you capture the data yourself?

For the Serato mode, slip flash, arbitrary needle position and red jog light commands: Yes, I did by using MIDI Monitor on Mac while having Serato open.
Otherwise I just relied on the official MIDI messages documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants