more NG functionality?

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

I could provide a special meta event for Inc/Dec value - in one of the future versions :wink:

 

Best Regards, Thorsten.

That sounds good! Actually, the C4 behaves like defined in enc_mode=Inc00Speed_Dec40Speed but that is probably the same on all Mackie Controls!?

The “emu_enc_mode” is available in v1.024

 

See also this configuration example: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Femu_enc.ngc

 

And this page for available modes: http://www.ucapps.de/midibox_ng_manual_ngc.html

 

Best Regards, Thorsten.

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

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.

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

http://discourse.midibox.org/t/topic/14054

alright - with this pre-release the _Inc00Speed_Dec40Speed _should work correctly.

http://www.ucapps.de/mios32/midibox_ng_v1_025_pre1.zip

 

Best Regards, Thorsten.

Indeed it does, thanks!