Synesthesia v1.19.1 Hotfix
Midi Bugfix and JavaScript Improvements
- Fix a bug that caused MIDI to randomly stop working during usage
- JavaScript Improvements
- Script input uniforms are now available as global variables
- Added new `setUniform` function to more intuitively set uniforms for the shader. You can pass in up to four floats, pass in an array with up to four floats, or pass in an object with `xyzw` or `rgba` properties
- The `inputs` and `uniforms` objects are now deprecated but still supported
- The `update` function is now optional. You can define a valid script with just the `setup` function and event handlers
- Added `printGlobalKeys` utility function that will print all global variables and functions to the Synesthesia console