insectteam Posted May 2, 2009 Report Share Posted May 2, 2009 Hi everyone !!! At now I have next problem - can I change encoder mode 40 +/- 1 ( possible value on output - 3F and 41 ) to values 40 and 41 ?? where I can this change and how ??... I apologize for my weak English alsoDanielP.S or maybe exists different method continuous sending value 40 if encoder is turned left, and value 41 if encoder is turned right Quote Link to comment Share on other sites More sharing options...
stryd_one Posted May 2, 2009 Report Share Posted May 2, 2009 There is code in the C section on ucapps that will translate easily to ASM... Essentially you send 0x40 plus incrementer.There are a few ways to send incremental ('relative') midi CCs, which way is right, depends on what software you are sending to. Is it traktor perhaps?edit: CODE :) Quote Link to comment Share on other sites More sharing options...
insectteam Posted May 2, 2009 Author Report Share Posted May 2, 2009 ... no , it's not a tractor :)... this for me valuable tip, but my skill of programming is very low ... and I don't know what and how ... Quote Link to comment Share on other sites More sharing options...
stryd_one Posted May 2, 2009 Report Share Posted May 2, 2009 Well, let's start with a few questions:What software or hardware are you trying to control? (eg Ableton Live, Access Virus, etc)Have you confirmed the format in which the above expects relative controls to be sent? (eg is it 0x40+/-incrementer, or 0x40/0x41, or 0x00, 0x63, etc)What midibox app are you trying to modify? (eg MB64e, custom app, etc)These answers will help us to figure out what you need, so I can help you make it :) Quote Link to comment Share on other sites More sharing options...
TK. Posted May 2, 2009 Report Share Posted May 2, 2009 If you are using MIDIbox64E, open mb64e_midi.inc, search for MB64E_MIDI_SendEncEvent_M3 , and replace the code by:MB64E_MIDI_SendEncEvent_M3 ; == ENC_MODE_40_1 --- modified to send 0x40/0x41 movlw 0x41 btfsc MIDI_EVNT_VALUE, 6 movlw 0x40 movwf MIDI_EVNT_VALUE rgoto MB64E_MIDI_SendEncEvent_Send[/code]Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
insectteam Posted May 2, 2009 Author Report Share Posted May 2, 2009 That is this !!!! Thanks so much ... ...I thank You very much ...I do not know how to show grateful oneselfBest Regards, Daniel 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.