dstamand Posted April 16, 2008 Report Share Posted April 16, 2008 Hey!The device to be controlled requires that the encoders send MIDI CC greater than 64 and value of 63 or less. Also, faster the encoder spins rotates, greater the numbers or lower the numbers.Ex:63 63 63 63 (spining rotates faster here) 62 (spining rotates faster here)61 (spining rotates faster here)60 etc...Same thing for 64 64 66 67...I understand the C sdcc_skeleton_v1_9c, i got my encoder sending relative or absolute value but i have no idea how to make it like the way i want.Anyone here has an idea ?Ps.This is the i can explain my request (language barrier)Thanks! Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 16, 2008 Report Share Posted April 16, 2008 63 63 63 63 (spining rotates faster here) 62 (spining rotates faster here)61 (spining rotates faster here)60 etc...So, no matter what, the encoder is spinning faster? hehehWhat we really need to know is what the device needs to receive. Can you tell us a bit more? Quote Link to comment Share on other sites More sharing options...
dstamand Posted April 17, 2008 Author Report Share Posted April 17, 2008 So, no matter what, the encoder is spinning faster? hehehWhat we really need to know is what the device needs to receive. Can you tell us a bit more?It's not really a device but a DJ software. M-Audio Torq DJ software.I sold my Xponent since but last summer, i used midiox and grab the live midi cc event sent by the Xponent jogwheels from the midi port. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 17, 2008 Report Share Posted April 17, 2008 So how does torq support relative inputs? Quote Link to comment Share on other sites More sharing options...
dstamand Posted April 17, 2008 Author Report Share Posted April 17, 2008 So how does torq support relative inputs? ??? ??? it does, like i said in the message it is Relative CC.It should be something like this : "40 +/- speed & +/- incremental(value)"I don't know how to explain. ::) Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 18, 2008 Report Share Posted April 18, 2008 You say relative CC like it means something universally, but it doesn't - MIDI CC messages are absolute. Always. However - If your host utilises the absolute values as an offset, then it has the effect of relative mode.... but every host can implement that differently. Quote Link to comment Share on other sites More sharing options...
TK. Posted April 20, 2008 Report Share Posted April 20, 2008 Although it isn't standard, most software supports various "relative CC" event formats, and it's easy to implement this in C.However, this seems to be a double-post, Ultra asked for the same:http://www.midibox.org/forum/index.php/topic,11254.msg88492.html#msg88492Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 20, 2008 Report Share Posted April 20, 2008 it isn't standardYeh, that's why I keep asking these guys how their host expects it to be sent ... and why I say that it shouldn't be referred to with one universal name like "relative midi", and expect that to be the only specification given ;)It should be something like this : "40 +/- speed & +/- incremental(value)"Now that I see this again after seeing TK's code... Go read TK's post at the other thread, see his example... is this what you mean?If so, don't forget the "& 0x7f", or you may accidentally send a status byte if your incrementer is extremely high (shouldn't happen, but....) Quote Link to comment Share on other sites More sharing options...
dstamand Posted April 20, 2008 Author Report Share Posted April 20, 2008 Although it isn't standard, most software supports various "relative CC" event formats, and it's easy to implement this in C.So, is anyone cozy enough with it ? i have no idea for now.Thanks! Quote Link to comment Share on other sites More sharing options...
stryd_one Posted April 20, 2008 Report Share Posted April 20, 2008 did you even read our posts? ;D TK posted a link and then i told you to read it. Read it! Quote Link to comment Share on other sites More sharing options...
TK. Posted April 20, 2008 Report Share Posted April 20, 2008 try the coding example, it is doing exactly for what you are searching for!Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
TK. Posted April 20, 2008 Report Share Posted April 20, 2008 Quote Link to comment Share on other sites More sharing options...
dstamand Posted April 20, 2008 Author Report Share Posted April 20, 2008 Yes, i'm reading, i'm reading... i'm trying, i'm trying.Going to look more into the other post. :-XThanks. (It's our first summer (like) day here in Canada, not my fault ::) ) 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.