Loadbang not working

Malte Tinnus's icon

Hi all,

I created fairly simple max for live devices (midi) that converts incoming numbers. They are nested in a device chain and pass numbers from the 8 macro buttons to an e.g. instrument. There seems to be some irregularities with the loadbang though.

- The value from the macro is passed into the max for live device and calculated, but then never passed to out when reloading the live set.
- Once I turn the macro knob the value gets processed and sent as expected.
- After much testing it seems to also depend on the amount of devices used in my set. I am using about 60 of those devices.

I tried to delay the loadbang, I tried to randomize the firing of the loadbangs. I tried loadbang vs. live.thisdevice The only thing that seems to work is to fire about 5 loadbangs repeatedly within the first 5 seconds after loading.


mothergarage's icon

have you tried live.thisdevice instead of loadbang?

Malte Tinnus's icon

Yes, that didn't make a difference. Somehow the order of what live does versus max seems off.

11OLSEN's icon

Hi, why don't you work with named print objects to see a clear output of "what has been fired and when" in the Max console ?

Is this lower part recalling a mapping to a parameter at startup? This is Live Api stuff and you can't be sure it's already initialized when loadbang fires.

Roman Thilenius's icon


though somehow it would be what a user expects; that first everything in the host is loaded, and then the plug-ins start to intialise.

as soon as there are two plug-ins talking to each other during initialisation it gets more complicated.

Malte Tinnus's icon

Thanks for the tips. It seems to be an order and timing issue. I am using 'brute-force' right now... which seems to work. I will try to investigate with the print objects.