commit 89
This commit is contained in:
parent
8cc23a45f7
commit
62279615e0
2 changed files with 14 additions and 13 deletions
|
@ -14,16 +14,19 @@ import kotlin.time.Duration.Companion.seconds
|
|||
|
||||
fun ShowBuilderContext.act1() = act("1. Akt") {
|
||||
scene("Ouvertüre [4]") {
|
||||
lightStep(StepCue.Custom("10")) { FrontLights.all { it.brightness.static(10.percent) } }
|
||||
lightStep(StepCue.Custom("20")) { FrontLights.all { it.brightness.static(20.percent) } }
|
||||
lightStep(StepCue.Custom("30")) { FrontLights.all { it.brightness.static(30.percent) } }
|
||||
lightStep(StepCue.Custom("40")) { FrontLights.all { it.brightness.static(40.percent) } }
|
||||
lightStep(StepCue.Custom("50")) { FrontLights.all { it.brightness.static(50.percent) } }
|
||||
lightStep(StepCue.Custom("60")) { FrontLights.all { it.brightness.static(60.percent) } }
|
||||
lightStep(StepCue.Custom("70")) { FrontLights.all { it.brightness.static(70.percent) } }
|
||||
lightStep(StepCue.Custom("80")) { FrontLights.all { it.brightness.static(80.percent) } }
|
||||
lightStep(StepCue.Custom("90")) { FrontLights.all { it.brightness.static(90.percent) } }
|
||||
lightStep(StepCue.Custom("100")) { FrontLights.all { it.brightness.static(100.percent) } }
|
||||
lightStep(StepCue.Custom("On")) {
|
||||
Washs.both {
|
||||
it.pointAtCeiling()
|
||||
it.brightness.static(100.percent)
|
||||
it.beamAngle.static(100.percent)
|
||||
}
|
||||
}
|
||||
|
||||
lightStep(StepCue.Custom("Off")) {
|
||||
Washs.both {
|
||||
it.beamAngle.static(0.percent)
|
||||
}
|
||||
}
|
||||
|
||||
step(StepCue.MusicStart("Ouvertüre", 1.minutes)) {
|
||||
curtainState = CurtainState.CLOSED
|
||||
|
|
|
@ -93,9 +93,7 @@ class CoemarProWash(override val firstChannel: DmxAddress, private val invertAng
|
|||
writer.writeRaw(DmxValue(0u)) // dimmer and color speed = maximum
|
||||
writer.writeRaw(DmxValue(0u)) // colour macro = off
|
||||
|
||||
// TODO: Fix
|
||||
// writer.writeRaw(DmxValue((beamAngle.getCurrentValue().value * 54 + 125).roundToInt().toUByte()))
|
||||
writer.writeRaw(DmxValue(0u))
|
||||
writer.writeRaw(DmxValue((beamAngle.getCurrentValue().ofRange(125.0..179.0)).roundToInt().toUByte()))
|
||||
|
||||
writer.writeRaw(DmxValue(0u)) // no function
|
||||
writer.writeRaw(DmxValue(strobeSpeed.getCurrentValue().ofRange(63.0..95.0).roundToInt().toUByte()))
|
||||
|
|
Loading…
Add table
Reference in a new issue