DJ control mp3 e2 on mixxx 1.7.1

Fixxx your Mixxx

Moderator: garth

DJ control mp3 e2 on mixxx 1.7.1

Postby Dj_Danny_T » Sun Nov 15, 2009 4:23 pm

Hi All!
I'm new to the forum, and I'm being djing for a while, and now I really want to go open source...
as you can see from the topic title I use an Hercules DJ Control mp3 e2, which is quite different from it's predecessor.Unfortunately on a windows platform, because linux drivers for this model aren't available yet (already tried libdjconsolle and on the hercules website there aren't yet specific drivers and older don't work).
I could map nearly all buttons through midi learning and manual editing of the file and configuration panel, although I couldn't find a way to scratch with the jog wheels, and I tried every kind of configurations...I managed tu use them as "cdj" jogs to pitch up and down the track but I have no use for it, as I mix old school funk and hip hop...
I really want to abandon the cheap vdj they ship with it and being a linux lover if I could use mixxx I would be really really happy.

Thanks to anyone who will help me :)
Dj_Danny_T
 
Posts: 15
Joined: Sun Nov 15, 2009 4:14 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby madjester » Fri Nov 20, 2009 3:06 am

Scratching with the e2 works, but in a non intuitive way. I've been meaning to fix this but have been too busy lately.

There is a way to patch the linux driver to get it working with the e2. The E2 is essentially the same as another one of the Hercules family mixers, at least at a device level. I'll get an unofficial patch up by next week.
Madjester - Suomi / Dark Psytrance, Mixxx Developer
See my Soundcloud page: http://soundcloud.com/madjester.
madjester
Mixxx Developer
 
Posts: 96
Joined: Thu Jan 29, 2009 8:19 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby Dj_Danny_T » Fri Nov 20, 2009 11:48 am

madjester wrote:Scratching with the e2 works, but in a non intuitive way. I've been meaning to fix this but have been too busy lately.

There is a way to patch the linux driver to get it working with the e2. The E2 is essentially the same as another one of the Hercules family mixers, at least at a device level. I'll get an unofficial patch up by next week.


Thanks for the answer :)
ok then I'll wait for the patch and the solution :) anyway if you could tell me how to make scratch work even if it is a workaround
I'd be grateful :) thanks
Dj_Danny_T
 
Posts: 15
Joined: Sun Nov 15, 2009 4:14 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby madjester » Sat Nov 21, 2009 8:46 pm

Attached are the current mapping and script that I've been working on. Hopefully they should work well enough for you or at least be a good starting point. YMMV.

You can turn on scratching mode by pressing the scratch button on your controller. It doesn't work how one would suspect, but that can be changed in the script file.

The only problem with this mapping is that some LEDs dont light up while on Linux. AFAIK, this is a long standing problem in ALSA with MIDI Output.

I may have neglected to configure the flanger toggle for the FX buttons, and the looping buttons dont work yet, since looping via beats is still an upcoming feature.
Attachments
Hercules-DJ-Control-MP3-e2.tar.gz
Hercules MP3 e2 Mapping
(5.03 KiB) Downloaded 657 times
Madjester - Suomi / Dark Psytrance, Mixxx Developer
See my Soundcloud page: http://soundcloud.com/madjester.
madjester
Mixxx Developer
 
Posts: 96
Joined: Thu Jan 29, 2009 8:19 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby Dj_Danny_T » Sun Nov 22, 2009 12:22 am

madjester wrote:Attached are the current mapping and script that I've been working on. Hopefully they should work well enough for you or at least be a good starting point. YMMV.

You can turn on scratching mode by pressing the scratch button on your controller. It doesn't work how one would suspect, but that can be changed in the script file.

The only problem with this mapping is that some LEDs dont light up while on Linux. AFAIK, this is a long standing problem in ALSA with MIDI Output.

I may have neglected to configure the flanger toggle for the FX buttons, and the looping buttons dont work yet, since looping via beats is still an upcoming feature.


You're the best, man, thanks !:D LEDs are not a problem since I rarely look at them ;) I'll try mixing some tracks and I'll post here to let anybody who could have the same problem know:)
Dj_Danny_T
 
Posts: 15
Joined: Sun Nov 15, 2009 4:14 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby Dj_Danny_T » Sun Nov 22, 2009 12:45 am

unfortunately they don't work yet...It's like before but the jog can "reverse" the track at some point while spinning backwards...
I found a similar situation while trying to configure the same consolle on mixvibes...it's like the program should know it has to do stuff just while it receives the command, and then restart normal playing, but instead it acts like if I keep spinning the jog..I know a bit of js and I am a programmer but I really don't quite know mixxx scripts, maybe I'll learn something and try to modify the file you gave me...meanwhile if you have any news let me know :)
thanks again
Dj_Danny_T
 
Posts: 15
Joined: Sun Nov 15, 2009 4:14 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby madjester » Mon Nov 23, 2009 7:02 am

I have attached an UNOFFICIAL, UNTESTED patch that should get the hdjmod-1.28 drivers working under Linux with the Hercules MP3 e2 controller.

This patch works for me, but I cannot guarantee it will work for you.

As for the scratching support. Jumpkick originally programmed in the scratch behaviour. It's all implemented in Javascript in the MIDI scripting file. If I get some free time I'll give it a look. If you make any progress please keep me posted.

EDIT: uploaded the patch.
Last edited by madjester on Sun Nov 29, 2009 6:59 am, edited 1 time in total.
Madjester - Suomi / Dark Psytrance, Mixxx Developer
See my Soundcloud page: http://soundcloud.com/madjester.
madjester
Mixxx Developer
 
Posts: 96
Joined: Thu Jan 29, 2009 8:19 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby pi r squared » Fri Nov 27, 2009 10:47 pm

Hi madjester,

Having bought an Hercules MP3 e2 which is currently just a brick on Linux, I'd be interested to give your patch a whirl. However you don't appear to have attached it, unless I'm being particularly blind.

Cheers

Pi r.
pi r squared
 
Posts: 247
Joined: Mon Sep 08, 2008 6:46 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby madjester » Sun Nov 29, 2009 6:59 am

Soerry about that. I just uploaded the patch.

Good Luck!
Madjester - Suomi / Dark Psytrance, Mixxx Developer
See my Soundcloud page: http://soundcloud.com/madjester.
madjester
Mixxx Developer
 
Posts: 96
Joined: Thu Jan 29, 2009 8:19 pm

Re: DJ control mp3 e2 on mixxx 1.7.1

Postby toza » Sun Nov 29, 2009 2:35 pm

Thank you for the mappings madjester! ;)

I hope there will be more improvements (such as backlight for LEDs) :)

Keep up the good work!
toza
 
Posts: 9
Joined: Sun Nov 29, 2009 2:29 pm

Next

Return to Troubleshooting & FAQ

Who is online

Users browsing this forum: No registered users and 3 guests