I’m currently trying to implement a midi learn feature in my synth, but does anybody knows if there’s a message you can send to pattrstorage to retrieve the min and max values (if any) allowed for a patterized object ?
This is for automatic scaling of incoming midi cc data accordingly…
In general, you can send the following to pattrstorage:
This will retrieve the value of the named attribute for the client with scripting name "X"
More specifically, to retrieve the value of the ‘min’ attribute (the attribute may possibly be called "minimum", i’m not a max computer to check) of, say, a number box with the scripting name MyNumberBox, the message you want would be: