You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| displayName | string | Human readable version of the name |
46
-
| displayNamePlural | string? | For non-standard plural forms of words (Shelf->Shelves), if empty, "s" is appended to the display name |
47
-
| model | string? | If the fixtureType is for a specific model |
48
-
| description | string? | Optional extra information |
49
-
| channels | Record<string, [FixtureChannelSchema](fixturechannelschema)> | A dictonary for what each channel maps to, the key should be the index of the dmx-channel ("1", "2", "3"). Make sure that it is 1-indexed |
| displayName | string | Human readable version of the name |
46
+
| displayNamePlural | string? | For non-standard plural forms of words (Shelf->Shelves), if empty, "s" is appended to the display name |
47
+
| model | string? | If the fixtureType is for a specific model |
48
+
| description | string? | Optional extra information |
49
+
| channels | Record<string, [FixtureChannelSchema](fixturechannelschema)> | A dictionary for what each channel maps to, the key should be the index of the dmx-channel ("1", "2", "3"). Make sure that it is 1-indexed |
50
50
51
51
### FixtureChannelSchema
52
52
@@ -85,7 +85,7 @@ The `prog_` prefix (short for program\_), is used for preprogrammed functions, s
85
85
86
86
### RangeMappingSchema
87
87
88
-
Maps the 0-255 range onto another range when displaying. Most notable use case is rotations, were mapping from [0-255] to [0 degrees, 540 degrees] makes it more intutive to control.
88
+
Maps the 0-255 range onto another range when displaying. Most notable use case is rotations, were mapping from [0-255] to [0 degrees, 540 degrees] makes it more intuitive to control.
89
89
90
90
| key | type | comment |
91
91
| --- | ------ | ----------------------- |
@@ -98,14 +98,14 @@ Some channels are decimated into smaller chunks, for instance a relay might use
98
98
Strobing speed for lights tend to have a deadzone, for both of these, a "ranged" function is suitable.
| min | number | The lower bound [inclusive] of the range |
104
-
| max | number | The upper bound [inclusive] of the range |
105
-
| functionID | string | Identifies what this range segment does, see [Range Naming](#range-naming) for naming guidelines |
106
-
| displayName | string | Human readable name |
107
-
|identialWithinRange| boolean? | Set to `true` if all the values in the range behave identically |
108
-
| mapRangeForDisplay |[RangeMappingSchema](#rangemappingschema)? | Used for displaying values to the user, maps the [0, 255] range to something else. |
| min | number | The lower bound [inclusive] of the range |
104
+
| max | number | The upper bound [inclusive] of the range |
105
+
| functionID | string | Identifies what this range segment does, see [Range Naming](#range-naming) for naming guidelines |
106
+
| displayName | string | Human readable name |
107
+
|identicalWithinRange| boolean? | Set to `true` if all the values in the range behave identically |
108
+
| mapRangeForDisplay |[RangeMappingSchema](#rangemappingschema)? | Used for displaying values to the user, maps the [0, 255] range to something else. |
109
109
110
110
:::note
111
111
The ranges should not overlap. Overlapping ranges in undefined behavior.
@@ -131,26 +131,26 @@ When a channel is a lower nibble, simply append `_lower` to the name.
131
131
132
132
Since it is common for multiple fixture instance of the same type and model to exist, creation is grouped to allow for multiple at once. If only one is desired, only specify one channel.
| type | string | The ID of the [Fixture Type](#fixturetypeschema) to use as the base |
137
-
| displayName | string? | Human readable name of the group |
138
-
| displayNamePlural | string? | Plural form of the name, if null, plural form is obtained by appending "s" to the singular version |
139
-
| model | string? | The model of these fixtures. There is also a model field in the [Fixture Type Schema](#fixturetypeschema), the reason is that fixtures might use the same [Fixture Type](#fixturetypeschema) (e.g. A white LED strip and a white spotlight might both use the same brightness fixture type due to only having one channel) |
140
-
| description | string? | Optional extra information |
141
-
| fixtureChannels | Record<string, number> | The Lua names and channel ids for the fixtures. Each entry has it's key as the Lua name and the value as the first channel for the fixture (if the fixture has channels 10-16, then channel 10 should be specified)
| type | string | The ID of the [Fixture Type](#fixturetypeschema) to use as the base |
137
+
| displayName | string? | Human readable name of the group |
138
+
| displayNamePlural | string? | Plural form of the name, if null, plural form is obtained by appending "s" to the singular version |
139
+
| model | string? | The model of these fixtures. There is also a model field in the [Fixture Type Schema](#fixturetypeschema), the reason is that fixtures might use the same [Fixture Type](#fixturetypeschema) (e.g. A white LED strip and a white spotlight might both use the same brightness fixture type due to only having one channel) |
140
+
| description | string? | Optional extra information |
141
+
| fixtureChannels | Record<string, number> | The Lua names and channel ids for the fixtures. Each entry has it's key as the Lua name and the value as the first channel for the fixture (if the fixture has channels 10-16, then channel 10 should be specified)|
142
142
143
143
## FixtureGroupSchema
144
144
145
145
In LMixer, fixtures can be grouped, so the config file also has support for this.
146
146
147
-
| key | type | comment |
148
-
| --- | --- | --- |
149
-
| description | string? | Optional extra information about the group |
150
-
| fixtures | string[]| An array of the fixtures contained. The values are the Lua names of the fixtures. Fixture groups are also allowed to be specified with their Lua name |
| description | string? | Optional extra information about the group|
150
+
| fixtures | string[]| An array of the fixtures contained. The values are the Lua names of the fixtures. Fixture groups are also allowed to be specified with their Lua name |
151
151
152
152
:::note
153
-
Take care to order the FixtureGroups such that dependecies (other fixture groups) are ***earlier*** in the file then the dependent group. This is to simply the loading.
153
+
Take care to order the FixtureGroups such that dependencies (other fixture groups) are **_earlier_** in the file then the dependent group. This is to simply the loading.
154
154
:::
155
155
156
156
## Schema
@@ -186,7 +186,7 @@ export type FixtureTypeSchema = {
186
186
displayName:string;
187
187
188
188
// The plural form of the displayName, if left blank, the plural
189
-
// form is obtained by appendning "s". Useful of "shelf"->"shelves"
189
+
// form is obtained by appending "s". Useful of "shelf"->"shelves"
190
190
displayNamePlural?:string;
191
191
192
192
// The model/product name of the fixture
@@ -294,7 +294,7 @@ export type FixtureSchema = {
294
294
// A group of fixtures
295
295
exporttypeFixtureGroupSchema= {
296
296
// Array of the fixtures/group. The value is the Lua name,
297
-
// which is why both fixture groups aswell as fixtures
297
+
// which is why both fixture groups as well as fixtures
0 commit comments