Page 1 of 1

How to trigger 2 clips on 2 layers at the same time?

Posted: Mon Jun 01, 2009 11:17 pm
by thadeusz
Hi there,
I just have some problems to trigger clips using midi. Here's my setup for a multi channel projection:
- 8 projectors, 8 computers - but 16 video channels (each screen is split in 2 screens)
- on each computer are 127 clips - some clips should play on the left side, some on the right
- I prepared 2 layers - one is moved to the right, one to the left

Is it possible to trigger every clip directly with one midi note each? Is there a chance to do this without activating layers - so I could start 2 clips on 2 layers at the same time?

This is what I found (see below). But it doesn't work. No layer is selected and no clip will be triggered. And I don't know how to tell M8 which clip to choose. I was hoping to send a midi note from Live as it is described in the message (channel -> computer, note -> layer, velocity -> clip). Is the clip number taken from position in banks? Starting from No. 1 in Bank 1 and so on?

Please help! This script seams to be a good solution.
Thanks and good night!
Th


http://www.garagecube.com/forum/viewtop ... t=position

Add this code into the "direct event" (script) in a new module.

Code:

if type == 'MIDI' :
if param['channel']== 15 and param['param1'] > 0 and param['param1'] < 11:
modul8.setValue ('ctrl_layer_media',param['param2'],param['param1'])


And simply use this way with your sequencer :

->channel 15 -> note = the layer (1 to 10) -> value =the media (0 to 127)

You can change the channel (the channel 15 is used in this exemple).

Posted: Tue Jun 02, 2009 1:50 am
by vj_ava
Yes, there is a way to do this. You are going to want to work with several midi channels though, since you are using so many video clips. Read up on how the midi mapping works in Modul8, thats on page 53 of the manual. Next you want to learn how to change channels on your midi controller.

Get those down and your set, it should be pretty easy. 8)

Midi Mapping is no problem

Posted: Tue Jun 02, 2009 9:54 am
by thadeusz
Midi Mapping is easy. But I can't trigger two clips at the same time. Because there's only one active layer. Is there a way to say two clips to trigger at the same time, one on layer 1, the other o layer 2?

Posted: Tue Jun 02, 2009 10:37 am
by vanakaru
There are modules that will do the trick. Set Media In Layer and Media To Layers are worth of try.

Posted: Tue Jun 02, 2009 6:23 pm
by ilan
The simplest way to do this is to create a module with and map its buttons (using the simple method of module creation) to set medias to the layers you want. At least that is how I would go about it.