arnte Posted September 4, 2016 Share Posted September 4, 2016 Howdy, I want to change key velocity value to CC41. I need this, to play my KORG Volca FM with Velocity. It has a velocity parameter but it's not controlable via key velocity but with CC41. Don't ask me why... Normally this change from key vel to CC would be very easy doable with the modifier plug in. But the modifier plug in don't offer the CC numbers from 32 to 63. So i can't use it. But i guess it should be easy to use the MIDI Scripter plugin instead. All i need is a script. Any help would be much aprecciated! Quote Link to comment Share on other sites More sharing options...
Eric Cardenas Posted September 4, 2016 Share Posted September 4, 2016 Try Jordi's script here: Midi FX plugins wont modulate parameters 32-63 Quote Link to comment Share on other sites More sharing options...
arnte Posted September 5, 2016 Author Share Posted September 5, 2016 Thank you very much! I'll try it Quote Link to comment Share on other sites More sharing options...
Eric Cardenas Posted September 5, 2016 Share Posted September 5, 2016 You're welcome. Quote Link to comment Share on other sites More sharing options...
arnte Posted September 5, 2016 Author Share Posted September 5, 2016 Okay, it works so far. Thanks again! BUT, the CC is send AFTER the NoteOn. So my VolcaFM synth just reacts on my Vel Key everytime one note to late What i need now, is a script, that not only changes the CC (from maybe 12 to 41) but also block the NoteOn message till the changed CC was send. Can someone help me again? Quote Link to comment Share on other sites More sharing options...
ski Posted September 23, 2016 Share Posted September 23, 2016 Here ya go! This script will take the velocity value of each notes and output CC#41 messages with that value before the note is output from the script. You can see that the order of operations is very straight-forward: upon receiving a Note On message where the velocity is not equal to zero (that's a Note Off message), a CC #41 message is sent outputting that value. Only after that can the note be sent. function HandleMIDI(e) { if (e instanceof NoteOn && e.velocity !=0) { var cc = new ControlChange(); cc.number = 41; cc.value = e.velocity; cc.send(); cc.trace(); } e.send(); e.trace(); } Quote Link to comment Share on other sites More sharing options...
arnte Posted September 23, 2016 Author Share Posted September 23, 2016 Hi Ski, thank you very much for your help! I just got a solution some weeks ago and posted it in a seperate thread (viewtopic.php?f=45&t=127024), just to be safe, that anyone else who is using a Volca FM and Logic can find it. But it's very good, that you posted your solution here too. And your script is also better, because you ignore velocity=0. That helps prevent misinterpreting for "note off". Thank you again! Quote Link to comment Share on other sites More sharing options...
ski Posted September 23, 2016 Share Posted September 23, 2016 You're welcome! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.