Skip to content

Commit

Permalink
feat(fixture): Added "Stairville Wild Wash Pro 648 RGB"
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPietrusky committed Aug 6, 2019
1 parent 21f7fbf commit a865ded
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ export const FIXTURE_TYPES = ['EuroliteTMH8', 'FunGenerationSeParQuadLedRgbUv',
'StairvilleOutdoorStageParTri', 'BasicColor', 'BasicFluter', 'EuroliteTMH7',
'TourHazerII', 'SgmXC5', 'BasicDimmer', 'LTHLedParCob250w', 'AdjSweeperBeamQuadLed',
'RobeColorWash575EAt1_4', 'ViperVl3000Spot', 'MacQuantumWash', 'MacAura', 'Rollapix100',
'RobeRobin300LEDWash', 'BasicRGBW', 'BasicRGBDimmer', 'OppskPar', 'SolarStar2', 'BasicColorDimmableTransform'
'RobeRobin300LEDWash', 'BasicRGBW', 'BasicRGBDimmer', 'OppskPar', 'SolarStar2', 'BasicColorDimmableTransform',
'StairvilleWildWashPro648Rgb'
]

export const FIXTURE_PROPERTIES = ['color', 'dimmer', 'strobe', 'white',
Expand Down
1 change: 1 addition & 0 deletions src/utils/dmx-fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ export { default as BasicRGBDimmer } from './dmx/BasicRGBDimmer.js'
export { default as OppskPar } from './dmx/OppskPar.js'
export { default as SolarStar2 } from './dmx/SolarStar2.js'
export { default as BasicColorDimmableTransform } from './dmx/BasicColorDimmableTransform.js'
export { default as StairvilleWildWashPro648Rgb } from './dmx/StairvilleWildWashPro648Rgb.js'

21 changes: 21 additions & 0 deletions src/utils/dmx/StairvilleWildWashPro648Rgb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import RgbParam from 'fivetwelve/lib/param/RgbParam.js'
import RangeParam from 'fivetwelve/lib/param/RangeParam.js'

import DmxDevice from './DmxDevice.js'

// https://www.thomann.de/de/stairville_wild_wash_pro_648_led_rgb_dmx.htm
export default class StairvilleWildWashPro648Rgb extends DmxDevice {
constructor(options) {
super(Object.assign({}, options, {
params: {
dimmer: new RangeParam(1, { min: 0, max: 255 }),
strobe: new RangeParam(2, { min: 0, max: 255 }),
color: new RgbParam([3, 4, 5])
// 6: audio reactive
}
}))

this.channels = 6
this.weight = 3.25
}
}

0 comments on commit a865ded

Please sign in to comment.