Page 1 of 1

Device not usable if patch open in max msp

Posted: Fri Oct 11, 2019 8:57 pm
by sefable
When max msp is opened with the patch of a device, the device is not usuable in Ableton, it's grayed like this :

Image

So that it becomes usable, I need to close the patch in max msp.

This means each time I want to test the patch after editing it, I loose my zoom level, the position of the windows, the side bars and so on.

Is there a way to tell max msp to activate the device in Ableton without closing it?

Thanks

Re: Device not usable if patch open in max msp

Posted: Sat Oct 12, 2019 4:11 am
by chapelier fou
Do you mind posting a larger screenshot ?

Re: Device not usable if patch open in max msp

Posted: Sat Oct 12, 2019 12:16 pm
by sefable
Here it is thanks!

Image

Re: Device not usable if patch open in max msp

Posted: Sat Oct 12, 2019 1:38 pm
by chapelier fou
When you edit a device, you’re supposed to make changes from the Max application, not from Live.

Re: Device not usable if patch open in max msp

Posted: Sat Oct 12, 2019 1:52 pm
by sefable
Yes that's what I do, I have no problem editing the device.

Re: Device not usable if patch open in max msp

Posted: Mon Oct 14, 2019 7:09 pm
by sefable
I found a partial solution by opening a non embedded max msp instance that I downloaded on the cycling74 website.

When I hit "ctrl + s" on this instance, the device is instantly reloaded and usable in ableton.

The only issue is that parameters are not linked, meaning ithat when I move a dial in ableton using my Midi controller, the dial does not move in max msp.

It's a better solution because I'm not loosing all the IDE configuration (zoom level, opened windows, etc..) each time I want to try the device.

But now I must save before I can use the midi controller.

Re: Device not usable if patch open in max msp

Posted: Wed Oct 16, 2019 6:08 am
by sefable
Another thing I was not aware is releasing the preview mode as explained here : https://cycling74.com/forums/device-not ... in-max-msp

https://docs.cycling74.com/max8/vignettes/live_preview

I haven't tried that yet but it's worth knowing if you run into the same issue.

Re: Device not usable if patch open in max msp

Posted: Sun Oct 20, 2019 9:46 am
by sefable
why not use the max window?
Because some aspects of the patch behave differently from when it's used in Max and when it's used in Ableton.

For example : https://cycling74.com/forums/live-butto ... automation

To make sure the code works, one has to test the device in Ableton, because of those differences.

Tests done in the Max window are therefore not relevant and a waste of time.

Re: Device not usable if patch open in max msp

Posted: Sun Oct 20, 2019 10:03 am
by sefable
Another example of differences are keyboard key mappings.

They're not forwarded to Max. Midi mappings are.

Re: Device not usable if patch open in max msp

Posted: Sun Oct 20, 2019 2:27 pm
by sefable
An other issue I had today concerns the range of a live.dial

I set "_parameter_range" in javascript.

In Max, the value "rawvalue" of the dial is not updated after sending "_parameter_range". (If you send a "bang" after changing the range, the rawvalue is not updated).

In Ableton, the value is updated.

Anyway, in general, testing should always be done as close as possible to the final setting, which is Ableton in my case. Not Max.

Re: Device not usable if patch open in max msp

Posted: Mon Oct 21, 2019 6:13 am
by sefable
You're right for keyboard mapping. I confused the fact that contrary to midi controllers, the keyboard is released when you switch from window to window.

I'm switching to using a midi keyboard instead of keyboard keys.