In MaxScore v.0.2 we have introduced a plugin system called Scorepions which allows Max programmers to create patches extending the functionality of the MaxScore/LiveScore editors.
We will now discuss how to create a Scorepion based on the Scorepion Template patch which can be found in [Max folder]/packages/MaxScore/patchers/Tutorial/Scorepions.
The Scorpion Template as it will be presented to the user.
Scorepions to be included in the Scorepion menu need to reside in “MaxScore Lib/Scorepions”. This Scorepion is based on “Fill Empty Measures with Rests” and serves as an annotated template.
Besides the core set of Max objects and messages, a Scorepion patch consists of user interface elements which need to be added to Presentation. Three outlets are used to control the behavior of the patch.
1. All messages to the MaxScore object go out the first outlet. They include the 200+ messages defined in the MaxScore dictionary.
2. Messages to parent patch. Currently, there are three messages controlling the behavior of MaxScore:
a. transcribe. This message will cause transcription of clips selected in the Staff Manager.
b. update. This message sends the (modified) MaxScore note list to Live.
c. newScore. This message resets the Staff Manager and creates a new score with one staff.
3. Drawing messages to bcanvas (in the same format that the MaxScore object sends out of its first outlet).