v2.4.0 release: event patterns + live event conductor

This commit is contained in:
2026-12-03 08:45:07 -08:00
parent a175c437de
commit 6da3615707
40 changed files with 4223 additions and 19 deletions
@@ -17,10 +17,14 @@ public enum DemoSelection: String, Sendable {
/// Stereo sine tone with frequency / amplitude / pan controls.
case sine
/// Live event ensemble: engine start/stop plus top and bottom parts driven by an
/// ``EventConductor``. The view owns the engine, so nothing starts at launch.
case conductor
/// Resolve the selection from `LYREBIRD_DEMO` (defaults to `.vector`).
public static func fromEnvironment() -> DemoSelection {
let raw: String = ProcessInfo.processInfo.environment["LYREBIRD_DEMO"]?.lowercased() ?? "vector"
return DemoSelection(rawValue: raw) ?? .vector
let raw: String = ProcessInfo.processInfo.environment["LYREBIRD_DEMO"]?.lowercased() ?? "conductor"
return DemoSelection(rawValue: raw) ?? .conductor
}
/// Title-bar text for the window hosting this demo.
@@ -28,6 +32,7 @@ public enum DemoSelection: String, Sendable {
switch self {
case .vector: return "Lyrebird — Vector Oscillator"
case .sine: return "Lyrebird — Sine Tone"
case .conductor: return "Lyrebird — Event Conductor"
}
}
}