v1.4.0 release: live-coding scratch editor, interpreted Graph DSL, ClosureSynthesizer + SampleLoop
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// DSLRate.swift
|
||||
// Lyrebird
|
||||
//
|
||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
// The evaluation rate of a builtin — audio-rate (per-sample) or control-rate
|
||||
// (per-block). A generator name can exist at both rates (`OscSin` audio and
|
||||
// control); the registry keys builtins by name AND rate.
|
||||
|
||||
/// The rate at which a ``DSLBuiltin`` evaluates.
|
||||
/// (`Equatable`/`Hashable` are synthesized for the `String`-raw enum.)
|
||||
public enum DSLRate: String, Sendable, CaseIterable {
|
||||
/// Audio rate — the `.Audio` generator variant (per-sample).
|
||||
case audio
|
||||
/// Control rate — the `.Control` generator variant (per-block).
|
||||
case control
|
||||
}
|
||||
Reference in New Issue
Block a user