## Is there a way to fix midi CC assignment with the SDK ?

Scope and XITE Development

Original topic on PlanetZ: https://forums.scopeusers.com/viewtopic.php?t=22543

#### Is there a way to fix midi CC assignment with the SDK ?

Posted: Wed Jun 20, 2007 5:44 pm
by HUROLURA
A few question about MIDI device programming with SDK:
1) Is there a way to fix midi CC assignment with the SDK ?
This would help me to link my homemade device to be controlled by an external MIDI controller.
2) Within SDK one mouse control on a pot is smart but when I switch to normal scope mode with a device of mine I then can just have the pot in only 3 position (full left, middle, full right) though using MIDI CC assignement I can make the pot move through the whole range.
Any clues ?
CheerZ

####

Posted: Fri Jun 29, 2007 12:36 pm
by Shroomz~>
Hello,
1. I'm sure there's several ways of doing this. One way would be using logic with 'byte extract' & 'if' modules.
Another option could be to assign a midi CC to a circuit level pot & connect your surface pot to that (the pad connection between them will be bi-directional). I can't get on the sdk right now to double check this train of thought, but off the top of my head, I think that should work.
2. No idea where you're going wrong there from your description of the problem.
regards,
Shroomz

####

Posted: Fri Jun 29, 2007 12:53 pm
by HUROLURA
1) Ok I will experiment a bit more that way
2) Another error seem to have caused that behaviour to the device: I restarted the design and now it works. Cannot figure out what was wrong before.
Thanks for your advice. I will keep you informed about the progress I make...

####

Posted: Fri Jun 29, 2007 1:04 pm
by Shroomz~>
No worries, is this for the virtual BCR?

####

Posted: Fri Jun 29, 2007 1:50 pm
by Shroomz~>
Hi again,
I think the best option (currently) is simply to assign a midi CC to each surface control (pots etc) via the pull-down midi control assignment panel in the control ranger. It seems to work fine here.

####

Posted: Sat Jun 30, 2007 12:47 pm
by HUROLURA

> Shroomz wrote:No worries, is this for the virtual BCR?

Not exactly, just a startup project as I am new to SDK.
Could be used to achieve a virtual BCR though ... afterward.

####

Posted: Sun Jul 22, 2007 1:39 pm
by Shroomz~>
Select the Vars section of the padlist, select the control you want to assign a midi cc to, then click on value field for the 'CtrlNr' Var parameter, press F2, enter a cc no. & hit enter.... done! If you want direct access to the var parameters to alter their values from your control surface, you need to right-click on them & select 'create pad'. Then when you switch the Vars page of the padlist off, you'll see your new pad waiting to be connect to whatever you want. If you've figured that out already, you're doing quite well !

####

Posted: Mon Aug 06, 2007 6:55 am
by HUROLURA
Thanks a lot guys.
I will try this this days. I was in vacation far away from my Scope SDK last few weeks...
Keep you informed about the progress of my work ...
CheerZ

####

Posted: Thu Aug 16, 2007 10:06 am
by HUROLURA
And it just work fine !!! Thanks once again....
CheerZ

####

Posted: Thu Aug 16, 2007 1:55 pm
by Shroomz~>
That's great dude!
I won't be answering sdk questions any more, but if you have any questions you'll soon have an email address to contact me direct.
regards,
Shroomz