Page 1 of 1

Changing the Focused layer with a module ???

Posted: Thu Nov 24, 2005 1:15 pm
by VJ_JeSs
Hi Guys,

I've just received a BCF2000. Great controller ! Looking forward to a mix session this week end to test run it.

I'm trying to configure it as best as possible for Modul8. And I'd love to use 2 of the bottom right buttons to skip through the layers of the composition.
The same way you do it using the UP and DOWN arrows on the keyboard.

Their are no buttons in the modul8 interface to do that. So I thought I could build a simple module with 2 buttons that cycle through the layers. And then I can map the buttons to midi :)

But I can't find anything in the code to set the focused layer. You can READ that, but apparently you can't WRITE it. Am I right ? Or am I missing something. Or maybe some BCF2000 users have a much simpler way of doing that. I don't really want to block 10 buttons just to be able to select the layers !

Thx
JeSs

Posted: Fri Nov 25, 2005 3:51 am
by boris
The keyword 'ctrl_master_layerFocusPosition' is read only,
but you can use the keyword 'ctrl_layer_focused'

like :
modul8.setValue ('ctrl_layer_focused',1,[layerposition])

For the exemple you can link a knob to the focus position with this simple code into the MessageEvent :

modul8.setValue ('ctrl_layer_focused',1,int(param['value']))

By the way the version 2.5 will come with the midi out into the modules system :-)

Posted: Fri Nov 25, 2005 12:26 pm
by VJ_JeSs
Thx Boris,

Well I've done a very simple module. But its not working.
It looks like the 'ctrl_master_layerFocusPosition' doesn't get updated if you change the focused layer via the code 'ctrl_layer_focused'. (although it does if you click on a layer with the mouse)
The result is that I can click once on the UP button, that works. But if I click it again it does nothing.

Could you look at the code (its very very simple !!!)
I upload it in the library : SELECT LAYER TEST

Posted: Wed Nov 30, 2005 5:00 am
by boris
Sorry it's seems a small bug on the 'ctrl_layer_focused' keyword.
I will fix it for the next release (2.5) and I will add also the write possibility for the keyword 'ctrl_master_layerFocusPosition'
In the meantime if you need this fonction I can send you a 'modified' version when is corrected.

Posted: Wed Nov 30, 2005 2:27 pm
by VJ_JeSs
Thx Boris. Happy to have tracked down a small bug :)

Don't bother with the moded version. I'd rather you work hard on the new version to get it released. It will benefit everybody
But its nice of you to have offered that !!!

midi & focused layers?

Posted: Fri Jan 13, 2006 4:53 pm
by JJHP3
Hi All

I'm just starting to get into serious midi mapping with v.202 and can't find a way to change the focused layer... this message string suggests there is no way at this time to change the active layer via midi - correct? Seems like a major feature for those of us with interest in getting away from the laptop!

Thanks - great program!

John

Re: midi & focused layers?

Posted: Tue Jan 17, 2006 5:39 am
by boris
We spoke about the midi through modules system.
But you can change the layer position with the midi mapping by position.

JJHP3 wrote:Hi All

I'm just starting to get into serious midi mapping with v.202 and can't find a way to change the focused layer... this message string suggests there is no way at this time to change the active layer via midi - correct? Seems like a major feature for those of us with interest in getting away from the laptop!

Thanks - great program!

John