Arturia MiniLab Black pad sends the following settings as follows:
Pad 1 = Note C1, Midi Ch 10
Incrementing by 1 note for each pad up to Pad 8
For Pad 9 - 16
The pads send a CC message, not a Note Message
Pad 9 = CC Midi Ch 1, CC Number 22, CC value 127
When the pad is released, the following is sent.
Pad 9 = CC Midi Ch 1, CC Number 22, CC value 0
So a value of 127 means, being pressed and a value of 0 means a pad is released.
This is the default setting for the Arturia MiniLab Black.
If you've changed from these default settings, this script will not work until you either modifiy the script to your MiniLab changes or restore the default settings to the MiniLab.
MacBook Pro 10.8.5 2.2 GHz Intel Core 2 Duo 6GB Ram - Logic Pro X (10.2)
MacMini 10.13.6 2GHz Intel Core i7 16GB Ram - GarageBand 10.4.5 Logic Pro X (10.4.8)
iPad Mini iOS 12 - iOS GarageBand 2.0.1
Qosimo X70-A 10.13.6 Intel® Core™ i7-4700MQ Processor 32GB DDR3L 1600MHz memory, 2-500GB 7200rpm hard drives - Logic Pro X (10.4.8)
MacMini M1 11.3.1 Apple M1 16GB Ram 1TB SSD Logic Pro X (10.6.1) Rosetta 2 not installed