Clip create/delete, wrong focus on clip slot? [solved]

Learn about building and using Max for Live devices.
Post Reply
Raptorecki
Posts: 6
Joined: Mon Sep 27, 2010 5:43 pm
Location: Gdynia, PL
Contact:

Clip create/delete, wrong focus on clip slot? [solved]

Post by Raptorecki » Sat Jun 04, 2011 2:28 am

Hello!

I'm new to M4L, it seems to be a really amazing platform. But I have some (probably basic) problem with my device and I kindly ask you for some hints.

I would like to build a device that will allow me to create and delete clips on selected slots via MIDI CC (and additionaly to navigate through liveset). I created a simple device that looks like this:

Image

I used M4L.api for navigation and ring_keyPress for clip create/delete. And it kind of works. Navigation is ok and it does translate MIDI CC mapping to keystrokes (backspace and ctrl+shift+M) correctly.

The problem is that I can only create or delete clips when I first mouse click on the clip slot (so the clip slot background/play arrow background becomes orange, instead of light brownish, on the crossing of light grey indicators).

In other words I can only create/delete clips when clip slot looks like this:

Image

Image

And what I get using navigation is this:

Image

Image

Now, I do realize that this is some kind of proper focus on a clip slot problem but I couldn't find any useful clue in the helpfile. Could anyone tell me how can I fix that?

Thanks in advance!

Bless!

Update:

Ok, I managed to fix that with simple call focus_view Session.

Have a lazy weekend people. ;-)

Bless!

frz001
Posts: 40
Joined: Fri May 15, 2009 3:21 pm

Re: Clip create/delete, wrong focus on clip slot? [solved]

Post by frz001 » Fri Jun 10, 2011 6:51 am

Hi there,

I am interested in this, can you show a screen capture of the patch fixed ?
-
Live 8.2.2 m4l 5.1.8
OSX

Post Reply