max 4 live > release cc before device inactive
hi,
Do you know any tip to send a midi message just before a max for live device is turned off ? With live.thisdevice, the information comes too late for release a cc or pitchbend (ex: cc 64 0), the device is already unactive and midi messages are stopped. I have tried to listen the property is_active, max objects like freebang or closebang, nothing works.
thanks by advance !
No, that is not possible from device itself.
Live does send note offs I think
on device removal, don't know about pitchbend or reset all controls etc
You have to kiil device using other device
to force that midi init yourself.
Thank You for your answer ! I came to the same conclusion. Live effectivelly send a all note off message (123) after device activation (on and off) but nothing concerning cc or other midi controls. I have tried everything i could imagine to find a method, no way to release midi controls, not very serious in my opinion…
make a m4l device that sends out cc 64 0 when a all note off message (123) comes in, and put it behind the device that is turned off/on.
That's a good idea, i think it works perfectly,
For the moment, i will still use a simple button labelled "release", optimized for each device.
Thanks !
thin ice, but as i cant try it myself, have you tried using closebang already? for some things it works, for some things it doesnt...
I have tried closebang, freebang and even savebang. I have tried to listen to M4L parameter is_active, and of course middle outlet of live.thisdevice. I haven’t really check but I think closebang, freebang and savebang send nothing when device is becoming unactive, and is_active or live.thisdevice send the bang after unactivation, after Live has gated midi output of the device.