strange: controlling with mouse works, but not with midi

Learn about building and using Max for Live devices.
Post Reply
misal
Posts: 17
Joined: Tue Mar 17, 2009 12:31 am

strange: controlling with mouse works, but not with midi

Post by misal » Sun Mar 21, 2010 4:01 am

I made a max device which controls the looping of an audio clip. When I control a clip by clicking with the mouse on the buttons like loop on/off or loop length or loop shift everything works fine. But when I assign a midi-controller or keys of the computer-keyboard to these buttons, they don't work proper any more. I don't understand why this happens. The max editor is not open, when I do that.

Has anyone else experience with this behaviour?
Thanks for any help in advance.

Michael

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: strange: controlling with mouse works, but not with midi

Post by broc » Sun Mar 21, 2010 10:30 am

I believe that midi/key mapping of buttons does not work in trigger (momentary) mode, but only in toggle mode.

Somebody please correct me if I'm wrong.
Last edited by broc on Sun Mar 21, 2010 2:48 pm, edited 1 time in total.

misal
Posts: 17
Joined: Tue Mar 17, 2009 12:31 am

Re: strange: controlling with mouse works, but not with midi

Post by misal » Sun Mar 21, 2010 2:48 pm

I am not sure but I think the event order rules of max don't work any more the same (right to left, depth first). Is this possible? Or maybe the api of live is bugy, meaning the events don't arrive in the same order as they were generated in max...?

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: strange: controlling with mouse works, but not with midi

Post by broc » Sun Mar 21, 2010 2:59 pm

In fact, the initialization order in M4L vs. Max seems to be different.

See also this thread

http://cycling74.com/forums/topic.php?id=25322
Last edited by broc on Sun Mar 21, 2010 3:03 pm, edited 1 time in total.

misal
Posts: 17
Joined: Tue Mar 17, 2009 12:31 am

Re: strange: controlling with mouse works, but not with midi

Post by misal » Sun Mar 21, 2010 3:02 pm

Thanks a lot, broc, this helps much! I look what I can do...

Post Reply