commit 88

This commit is contained in:
Moritz Ruth 2025-03-22 09:40:35 +01:00
parent 101f9fe374
commit 8cc23a45f7
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D
2 changed files with 13 additions and 2 deletions

View file

@ -14,6 +14,17 @@ import kotlin.time.Duration.Companion.seconds
fun ShowBuilderContext.act1() = act("1. Akt") { fun ShowBuilderContext.act1() = act("1. Akt") {
scene("Ouvertüre [4]") { 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) } }
step(StepCue.MusicStart("Ouvertüre", 1.minutes)) { step(StepCue.MusicStart("Ouvertüre", 1.minutes)) {
curtainState = CurtainState.CLOSED curtainState = CurtainState.CLOSED

View file

@ -6,8 +6,8 @@ import de.moritzruth.theaterdsl.dmx.DmxValue
import kotlinx.collections.immutable.persistentSetOf import kotlinx.collections.immutable.persistentSetOf
object FrontLights { object FrontLights {
private const val GAMMA = 4.0 private const val GAMMA = 2.0
private val MINIMUM_VISIBLE_VALUE = DmxValue(40u) private val MINIMUM_VISIBLE_VALUE = DmxValue(60u)
val left = DeviceGroup(SimpleDimmer(DmxAddress(1u), GAMMA, MINIMUM_VISIBLE_VALUE), SimpleDimmer(DmxAddress(2u), GAMMA, MINIMUM_VISIBLE_VALUE)) val left = DeviceGroup(SimpleDimmer(DmxAddress(1u), GAMMA, MINIMUM_VISIBLE_VALUE), SimpleDimmer(DmxAddress(2u), GAMMA, MINIMUM_VISIBLE_VALUE))
val center = DeviceGroup(SimpleDimmer(DmxAddress(4u), GAMMA, MINIMUM_VISIBLE_VALUE), SimpleDimmer(DmxAddress(5u), GAMMA, MINIMUM_VISIBLE_VALUE)) val center = DeviceGroup(SimpleDimmer(DmxAddress(4u), GAMMA, MINIMUM_VISIBLE_VALUE), SimpleDimmer(DmxAddress(5u), GAMMA, MINIMUM_VISIBLE_VALUE))
val right = DeviceGroup(SimpleDimmer(DmxAddress(7u), GAMMA, MINIMUM_VISIBLE_VALUE), SimpleDimmer(DmxAddress(8u), GAMMA, MINIMUM_VISIBLE_VALUE)) val right = DeviceGroup(SimpleDimmer(DmxAddress(7u), GAMMA, MINIMUM_VISIBLE_VALUE), SimpleDimmer(DmxAddress(8u), GAMMA, MINIMUM_VISIBLE_VALUE))