Mapping eq positions to buttons

Fixxx your Mixxx

Moderator: garth

Mapping eq positions to buttons

Postby r1chyb » Fri Apr 06, 2012 7:45 am

I am new to mixxx and working on creating a midi map for the novation launchpad and would like to map a specific value of the eq to a button. For instance pressing a button would increase the eq high by 20% and another button would increase it by 40%. I cannot seem to figure out how to do this with midi script. I am feeling rather puzzled.
r1chyb
 
Posts: 2
Joined: Fri Apr 06, 2012 7:39 am

Re: Mapping eq positions to buttons

Postby Pegasus » Sat Apr 07, 2012 7:41 am

The script function your button maps to would need to do the following:

  1. Get the current filterHigh value and store it in a local variable, let's say 'current'
  2. Assuming you want 20% of the total travel, in another local variable, call it 'increase', store 0.2 * 4.0 (the total range of the EQ knob from the MixxxControls page: http://mixxx.org/wiki/doku.php/mixxxcontrols )
  3. Set filterHigh to current+increase.
If you want 20% of the remaining travel (so the increase will be smaller each time you hit the button,) store 0.2*(4.0-current) in 'increase.'
"D.J. Pegasus"
Mixxx Developer - Controller Specialist
Mixxx Windows package maintainer
User avatar
Pegasus
Mixxx Developer
 
Posts: 1649
Joined: Thu Jan 29, 2009 7:48 pm
Location: Spangdahlem, RP, Germany

Re: Mapping eq positions to buttons

Postby r1chyb » Thu Apr 26, 2012 3:58 pm

ahh excellent thanks very much :) i will upload my controller map once i finish!
r1chyb
 
Posts: 2
Joined: Fri Apr 06, 2012 7:39 am

Re: Mapping eq positions to buttons

Postby zestoi » Fri May 04, 2012 5:27 am

any progress on the launchpad mapping? i was thinking about writing one myself - but could skip that and do other stuff if you're working on one. i was thinking of emulating my midimasher launchpad mapping that has most controls on one page and a 2nd page with "virtual faders". not sure how useful those virtual faders are tho - certainly no use if u have a separate mixer (xsession pro, djm101 or k2 etc) but can be a solution for those with only a launchpad
13" mbp / tp2+xm / live5+8le / 2x scs.3d / 2x launchpad / midifighter / lpd8 / nano(kontrol|key) / icon(idj|ikey) / djtech (cdj|djm)101 / herc mk2
http://djism.com/mixxx/ / http://midimasher.djism.com/
zestoi
 
Posts: 19
Joined: Mon Apr 09, 2012 10:34 am


Return to Troubleshooting & FAQ

Who is online

Users browsing this forum: Ferrer, Google [Bot] and 3 guests