Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| mozaic_include_migration_mananger [2021/07/14 05:47] – Added more info regarding the mmScriptId _ki | mozaic_include_migration_mananger [2021/07/16 22:20] (current) – Capitalization _ki | ||
|---|---|---|---|
| Line 66: | Line 66: | ||
| < | < | ||
| mmScriptId | mmScriptId | ||
| - | mmScriptTimer = YES // Remove the line if your script does define an OnTimer | + | mmScriptTimer = YES // |
| + | // set to NO if Migration Manager should manage the timer | ||
| Call @MigrationManagerOnLoad | Call @MigrationManagerOnLoad | ||
| if mmIsMigrating | if mmIsMigrating | ||
| Line 75: | Line 76: | ||
| </ | </ | ||
| - | Each script needs to use an own unique mmScriptId. There could be several totally different scripts including the Migration Manager Snippet loaded in a single AUv3 host session. A scripts unique id is used to identify other instances of this specific script | + | ==== Choose a unique mmScriptId ==== |
| + | Each script needs to use an own unique mmScriptId. There could be several totally different scripts including the Migration Manager Snippet loaded in a single AUv3 host session, therefore the scripts unique id is used to identify other instances of this specific script | ||
| The maximum value for mmScriptId is 24bits or 6 hex chars (0x000100 to 0xFFFF80) | The maximum value for mmScriptId is 24bits or 6 hex chars (0x000100 to 0xFFFF80) | ||
| \\ | \\ | ||
| === Reserved mmScriptId‘s === | === Reserved mmScriptId‘s === | ||
| - | The following mmScriptId ranges are already in use by other scripts and should be avoided | + | The following mmScriptId ranges are already in use by other scripts and should be avoided: |
| ^ ^ mmScriptId ^ end of range ^ script ^ | ^ ^ mmScriptId ^ end of range ^ script ^ | ||
| | | 0x4200 | 0x420F | MS6 SysEx Performance Editor and Spatial Processor | | | | | 0x4200 | 0x420F | MS6 SysEx Performance Editor and Spatial Processor | | | ||