Overview
The Flyout Width plugin provides a simple interface to adjust the width parameter of the “Flyout” effect and its associated variations. It also updates related macro appearances and labels.This plugin was created because “grandma2 macros are stupid” according to the author, providing a programmatic solution to effect width management.
Configuration Variables
The width value to apply to the Flyout effect
The name of the effect to modify (default is “Flyout”)
What Gets Modified
The plugin modifies the following elements:Effects
-
Main Flyout Effect
- Sets width to the specified value
- Command:
Assign Effect "Flyout" /width = [value]
-
Flyout Variation 8
- Sets width to half the specified value
- Command:
Assign Effect 1."Flyout".8 /width = [value/2]
Macros
Updates the appearance of three macros:- Macro “fly width 25” - Red appearance (r=100)
- Macro “fly width 50” - Red appearance (r=100)
- Macro “fly width 100” - Red appearance (r=100)
Macro Label
Updates the label of Macro 2338 to display the current width value.Usage
Function Reference
Main Functions
PulseGen_Start()
Main entry point for the plugin.
Configuration Functions
setWidth()
Prompts for width value and applies it to effects and macros.
Helper Functions
clear()
Clears the programmer.
sleep(s)
Sleep function (not used in this plugin but available).
Example Usage
Setting Width to 50
- Set Effect “Flyout” width to 50
- Set Effect “Flyout”.8 width to 25 (half of 50)
- Update macro appearances
- Set Macro 2338 label to “50”
Setting Width to 100
- Set Effect “Flyout” width to 100
- Set Effect “Flyout”.8 width to 50 (half of 100)
- Update macro appearances
- Set Macro 2338 label to “100”
Effect Variation
The plugin modifies two effect variations:-
Main effect: Full width value
-
Variation 8: Half width value
The variation 8 uses half the specified width, presumably for a narrower version of the same effect.
Macro Integration
The plugin assumes the existence of specific macros:- “fly width 25”
- “fly width 50”
- “fly width 100”
- Macro 2338 (used for width display)