@types/gorilla-engine 1.1.16 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gorilla-engine/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for gorilla-engine (https://gorilla-engin
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 20 Feb 2024 14:06:57 GMT
11
+ * Last updated: Thu, 22 Feb 2024 16:07:11 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
gorilla-engine/index.d.ts CHANGED
@@ -94,6 +94,29 @@ declare namespace GorillaEngine {
94
94
  * Its steps if it's a stepped paramter
95
95
  */
96
96
  readonly steps: string[];
97
+ /**
98
+ * Hint for the best type of UI control for this parameter:
99
+ * "default": usually a knob, could also be a slider or drag/spin control
100
+ * "volume": audio volume control down to silence, often a vertical slider but could be horizontal or a knob
101
+ * "drag": more suited to a drag/spin control because usually only a small part of the range is used
102
+ * "keySelect": select a MIDI note
103
+ * "outSelect": select an audio output (zero for default, negative values for internal busses)
104
+ * "modSource": select from a list of mod sources (where mod source names should be inserted instead of numbers)
105
+ * "voiceGroup": select from a list of voice groups (where voice group names should be inserted instead of numbers)
106
+ * (the above types can fall back to e.g. ControlTypeDrag if no special behaviour is implemented for them in the UI)
107
+ * "onOffSwitch": toggle between Off/On (could be a power switch or \"Bypass\" or \"Solo\" etc. - see parameter name)
108
+ * "switch": toggle between two values that are not Off/On, could also be displayed as a menu
109
+ * "menu": dropdown menu, could also be a multi-way switch or a stepped knob if there are not many steps
110
+ * "levelMeter": audio level meter: display should apply log scaling (may have multiple channels)
111
+ * "meter": meter that may be showing something other than audio level (may have multiple channels)
112
+ * "display": numeric or text display: value is not user editable
113
+ * "text": editable text
114
+ * "textBox": multi-line text with at least copy/paste of the whole text, if not full editing
115
+ * "array": edit multiple values e.g. as a bargraph
116
+ * "waveform": display a waveform overview
117
+ * "notVisible": not intended for display to the user
118
+ */
119
+ readonly controlType: string[];
97
120
  readonly persistence: InstrumentPropertyPersistence;
98
121
  }
99
122
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/gorilla-engine",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "TypeScript definitions for gorilla-engine",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gorilla-engine",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "a7809b080ad82089f36d68049b68350be363645fdfc0692e1c51fa745766c3d2",
48
+ "typesPublisherContentHash": "27b30f376d60074704e9d017e48e6935268e2a7986fc6b24ba4d16eaa759f5dd",
49
49
  "typeScriptVersion": "4.6",
50
50
  "nonNpm": true
51
51
  }