dstamand Posted April 16, 2008 Report 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!
stryd_one Posted April 16, 2008 Report 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?
dstamand Posted April 17, 2008 Author Report 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.
stryd_one Posted April 17, 2008 Report Posted April 17, 2008 So how does torq support relative inputs?
dstamand Posted April 17, 2008 Author Report 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. ::)
stryd_one Posted April 18, 2008 Report 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.
TK. Posted April 20, 2008 Report 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.
stryd_one Posted April 20, 2008 Report 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....)
dstamand Posted April 20, 2008 Author Report 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!
stryd_one Posted April 20, 2008 Report 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!
TK. Posted April 20, 2008 Report Posted April 20, 2008 try the coding example, it is doing exactly for what you are searching for!Best Regards, Thorsten.
dstamand Posted April 20, 2008 Author Report 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 ::) )
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now