Jump to content

Recommended Posts

Posted

Hi,

 

this might sound like a strange usecase, but I'll try to explain:

 

Would it be possible to apply some of the EVENT_* parameters also to incoming MIDI events, but in a "reversed" way? E.g. I have a device that sends CC data depending on rotation speed and I want to transform that data into something else, say NRPNs: it is basically behaving like the enc_mode=00Speed, which makes transforming these events quite difficult interpretation-wise. Or am I just missing something here and it is easily achieved?

 

Thanks, ilmenator

  • 2 weeks later...
Posted

This is great, thank you!

 

I think there is something wrong with the Inc00Speed_Dec40Speed emu_enc_mode: right-turning (increasing) seems to work fine, but left-turning sets the value to 7F immediately, and that "locks up" the encoder / CC message until I save the .NGC file and thus init the NG app.

 

Best, ilmenator

Posted

Yes, this mode probably needs some adjustments, the calculation for the incrementer doesn't look right.

Is the Inc01_Dec41 mode working at your side? It's almost the same, just only the speed isn't considered.

 

If it doesn't work: could you please find out, which CC values are sent exactly by your controller?

 

Best Regards, Thorsten.

Posted (edited)

Yes, Inc01_Dec41 works.
 
Attached is the MIDI implementation of the C4 Pro, the commands I'm after are on page 2, i.e. it sends:
 

B0 00 01
B0 00 04
B0 00 08
B0 00 0C
B0 00 0F

B0 00 41
B0 00 44
B0 00 48
B0 00 4C
B0 00 4F


for increasing (upper block) and decreasing (lower block) values.

Edit: attachment is too big, so I skip this...
Edit 2: attachment is already.

Edited by ilmenator

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...