max 4 live > release cc before device inactive

Mousin's icon

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 !

Source Audio's icon

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.