Impossible MIDI conversion challenge ? CC to Note Velocity

Learn about building and using Max for Live devices.
Post Reply
rvrv
Posts: 5
Joined: Sat May 23, 2015 10:19 pm

Impossible MIDI conversion challenge ? CC to Note Velocity

Post by rvrv » Sat May 23, 2015 10:33 pm

Hi iam searching internet for last 4 hours and i cant seem to find if this is possible in MIDI at all...

Modulation wheel to determine velocity of played notes

Ok this is a wild idea. I dont know how to explain what i need so ill help myself with a parable.

Lets say i have a broken midi keyboard (i dont this is just a parble to explain what i "need")

When i play some notes on this broken keyboard lets say C,D,E,F they come in with erroneous velocities all over the place.

C Velocity 3
D Velocity 120
E Velocity 20
F Velocity 100

I want to discard these original "crazy" velocities that come with the notes and replace them with values from mod wheel... in real time as i play...

How ?

Lets imagine i turn mod wheel at the same time i play the notes.

Original "Note On Velocity" values are striped and deleted and every note gets a "Note On Velocity" based on current position of modwheel at the moment of individual note press. In case several notes are pressed AT ONCE they all get current mod wheel value as their "Note On Velocity".

This would be example of midi played by me (in slow motion):

I turn modwheel 1/4 up and press C

* Note ON C, velocity 32 *

I turn modwheel 2/4 up and press D

* Note ON D, velocity 64 *

I turn modwheel 3/4 up and press E, F

* Note ON E, velocity 96 *
* Note ON F, velocity 96 *

The original "NOTE ON Velocity" values of all incoming notes are stripped and deleted and replaced by values from the mod wheel at the moment of each note pressed.

I imagine this is quite a technical challenge... would anybody dare to try creating a MAX for Live device that would capture NOTES and CC (it would be cool to be able to specify which CC to use in the GUI) and replace the incoming "NOTES ON Velocity" of each individual note with momentary CC value at the moment each note was pressed... IN REAL TIME WITH MINIMUM LATENCY...

Iam prepared to sponsor development of such device but i would prefer that it ends up being free for everybody...

That is if such realtime MIDI transformation is technically possible because i never seen anybody achieve this (CC to incoming Note Velocity in real time)...

rvrv
Posts: 5
Joined: Sat May 23, 2015 10:19 pm

Re: Impossible MIDI conversion challenge ? CC to Note Velocity

Post by rvrv » Sat May 23, 2015 11:42 pm

and 60 minutes later figured it myself

using the incredible Bome Midi Translator Pro...

solution posted in user forum of Bome:

http://www.bome.com/forums/viewtopic.php?f=3&t=11165

now turning mod wheel decreases and increases velocity of played/recorded notes regardles how hard you press them with your finger... the mod wheel is setting the note velocity now...

if anyone would be prepared to create a MAX for Live device with same functionality id still be interested...

doubleUG
Posts: 249
Joined: Sun Apr 24, 2011 7:19 am

Re: Impossible MIDI conversion challenge ? CC to Note Velocity

Post by doubleUG » Sun May 24, 2015 12:12 pm

<pre><code>
----------begin_max5_patcher----------
860.3ocyX1saaBCEG+5To9NXg5kYH+AXHSpRca2u8.TMUQRbRcEXhLNcYqZu
6y1.YgjPwMCnqRoVbBw9+4WNeQd45ql3MOeGqvC7Qv8fISdQaYh0lwxjZCS7
xR1sHMovdidB1Oxm+j2zp2Sw1or1y3K44aU6eCw1LtHkoreJTs0MIpEOxEqe
PxVnJO3f3.e3TPL1tDP7CHSAnXeH36GrW5stdyf0lWkKTE7ewrm.zugcQRl0
t2mj7jz8phuzZT6AeHzyZ62WekYUuL0YFrHOKiITmBgulqXfucITHBRMteXD
wtP7Cwyz+cLI1HYE5SNQwyEM1xUx0ysv4uXnEpc3Vbf.PQlClN6UOd2IN3y4
oKOG1wzAf6eQISAv2N0oyrAcgXK7ITeBEBgnwl5XxfS8fKm5Yrhhj0rySWbs
0RmV8yMrROyy6.9cFxShM9bTL155FuBfnNA8lDF4DgiiZ6X5C3hub31V4TEH
Ej1Q.8oHeZWXupXaTYwVB1OFGdl.9lHF2irBQ6eVYZ8rJWlkzRc2nVAFWWLw
IdUFlhfH6xqvJTexpv9mU7Ufa3Xvs2Bf.0iLg9JjwR+lcSvg17sJrgB7QlJa
QiH69WxI2lMmIeqIelXIc927Dw5NJ8grTgFAOnlja8a1jH0tuhIefIRlmxZz
hokj1WstX.Zn67fP8eP7S4bA.CtSI4qWyjEs05+RCeqx5q9FZVn+rfwM5Mt+
5VuGZ2zy43gTn+LSyCrlTnvi6mPGGRM.sSJzgUaD5I4eq7ppBfqMUppN1Zx2
v0DNXX5AWvR09H3NC6.Ioof6Vn5dr7yOES0qCP5YWbhyPaoNT.zmD2Mni6QP
SFFPeQOmMEF5SloSNC0HgZefmfntFmA1miIOLvfKtjN0tD3DDVt.G0g9NlRk
GpWJWbxOUiU5l23H1UjuUtn1aqljbJ3.4ujUn3h8yWbe8uHRia5Q9xkLQin.
cNtYrCqZgs+so65xEYQFeYgcQW5GkYzEF0IgE99HLTWBCiadWifvHNAL7nCL
ith5jWuKxpSbE7tHKbWxZ7SGCbgVwitrbqHA5+ScEO5kHhGgh8UMwS1r4Y8y
qVs0kRROoyS4Ry0zokWyEkWWNVgmj8Lu9ifJOMuDodlEkdfksxxgJ1QsC0aO
Q8+9CHi35FC
-----------end_max5_patcher-----------
</code></pre>
copy the text, open Live > drag in empty M4L device > open Max editor > paste > save M4L device
https://docs.cycling74.com/max8/vignett ... ng_patches

https://doubleUG.bandcamp.com/releases

rvrv
Posts: 5
Joined: Sat May 23, 2015 10:19 pm

Re: Impossible MIDI conversion challenge ? CC to Note Velocity

Post by rvrv » Sun May 31, 2015 6:01 pm

thanks doubleUG for the effort... i didnt actually try your patcher because i used Bome for the job... but i believe others will thank you... Thank you :)

Post Reply