you sure the xponent isn't sending out an 0xEx pitchbend message for pitch
control?
i remembered i also had an issue with that script.pitch() helper function
when i wrote my djtech cdj101 script so i ended up rolling my own too - but
i think i've just noticed the real reason...
script.pitch = function (LSB, MSB, status) {
script.midiPitch(LSB, MSB, status);
}
should be:
script.pitch = function (LSB, MSB, status) {
return script.midiPitch(LSB, MSB, status);
}
or more efficiently just this (defined after script.midiPitch):
script.pitch = script.midiPitch;
else the assignment of script.pitch(lsb, msb, status) will always null.
any chance that tweak actually makes the shared function work ok for you
too?
On 22 May 2012 01:34, Juan Pedro Bolívar Puente <[email protected]> wrote:
> Hi guys!
>
> I have been playing with the master branch today, it is great, I really
> like it! And I have updated the M-Audio Xponent script to play nicely
> with it. I attach the latest version.
>
> There is one issue i found, it seems that someone added constraint to
> script.pitch helper that makes it unusable for the Xponent (line 82 of
> midi-mapping-scripts.js):
>
> if ((status & 0xF0) != 0xE0) {
> print("Script.Pitch: Error, not a MIDI pitch message: "+status);
> return false;
> }
>
> This broke pitch sliders in the Xponent because it does not use the
> standard MIDI pitch message for the pitch sliders. This might be the
> case for other controllers so I would suggest to remove that constraint
> otherwise many other controllers might be broken too because of this
> issue. I solved the problem by doing the computation directly in the
> Xponent script, so the attached patch works anyway.
>
> Cheers!
>
> JP
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel