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

A place for developers to share ideas and assist each other in solving problems.

Moderators: valis, garyb

Post Reply
User avatar
HUROLURA
Posts: 1311
Joined: Tue Feb 21, 2006 4:00 pm
Location: FRANCE
Contact:

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

Post 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
User avatar
Shroomz~>
Posts: 5669
Joined: Wed Feb 23, 2005 4:00 pm
Location: The Blue Shadows

Post 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
User avatar
HUROLURA
Posts: 1311
Joined: Tue Feb 21, 2006 4:00 pm
Location: FRANCE
Contact:

Post 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...
User avatar
Shroomz~>
Posts: 5669
Joined: Wed Feb 23, 2005 4:00 pm
Location: The Blue Shadows

Post by Shroomz~> »

No worries, is this for the virtual BCR?
User avatar
Shroomz~>
Posts: 5669
Joined: Wed Feb 23, 2005 4:00 pm
Location: The Blue Shadows

Post 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. :)
User avatar
HUROLURA
Posts: 1311
Joined: Tue Feb 21, 2006 4:00 pm
Location: FRANCE
Contact:

Post 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.
User avatar
Shroomz~>
Posts: 5669
Joined: Wed Feb 23, 2005 4:00 pm
Location: The Blue Shadows

Post 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 ! :)
User avatar
HUROLURA
Posts: 1311
Joined: Tue Feb 21, 2006 4:00 pm
Location: FRANCE
Contact:

Post 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
User avatar
HUROLURA
Posts: 1311
Joined: Tue Feb 21, 2006 4:00 pm
Location: FRANCE
Contact:

Post by HUROLURA »

And it just work fine !!! Thanks once again....

CheerZ
User avatar
Shroomz~>
Posts: 5669
Joined: Wed Feb 23, 2005 4:00 pm
Location: The Blue Shadows

Post 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
Post Reply