v2.4.1 release: scratchpad polish + demo cleanup
Maintenance release, no framework API changes. Scratchpad: Kill All Sound (⌘K) rename, mode-switch desync fix, code-completion prefix filtering restored (⌃Space Show Completions). Demos: GUIDemo voices + CLI EventPattern BlipVoice moved into Synthesizers/, EventPattern demo split into makeLead/makeBass, GUIDemo doc drift fixed (conductor default). LyrebirdScratch gains a SwiftPM package so the workspace shows it like GUIDemo (.xcodeproj kept for distribution). Linux live-coding scratchpad documented.
This commit is contained in:
@@ -27,8 +27,9 @@ so the controls, the oscilloscope, and the CPU meters are identical.
|
||||
## Run it
|
||||
|
||||
```bash
|
||||
swift run LyrebirdGUIDemo # vector oscillator (default)
|
||||
LYREBIRD_DEMO=sine swift run LyrebirdGUIDemo # stereo sine tone
|
||||
swift run LyrebirdGUIDemo # event conductor (default)
|
||||
LYREBIRD_DEMO=vector swift run LyrebirdGUIDemo # vector oscillator
|
||||
LYREBIRD_DEMO=sine swift run LyrebirdGUIDemo # stereo sine tone
|
||||
```
|
||||
|
||||
- **macOS** — no extra setup; a native window opens with live audio via Core Audio.
|
||||
@@ -47,12 +48,16 @@ LYREBIRD_DEMO=sine swift run LyrebirdGUIDemo # stereo sine tone
|
||||
|
||||
## What each demo shows
|
||||
|
||||
- **conductor** (default) — `ConductorDemoVoice` driven by an `EventConductor`:
|
||||
start/stop the engine, then toggle a top and a bottom part, each entering on the
|
||||
next beat and repeating while it runs, over a live oscilloscope. Showcases the
|
||||
2.4.0 event system. Nothing plays until you start the engine and a part.
|
||||
- **vector** — `VectorOscillatorUI`: an XY pad crossfades four corner wavetables
|
||||
(sine / saw-ish / triangle / Hanning); frequency and amplitude knobs; a live
|
||||
oscilloscope and CPU-load strip.
|
||||
- **sine** — `SineToneUI`: a frequency slider, amplitude and pan knobs, a level
|
||||
readout, the scope and CPU strip, and a static envelope plot.
|
||||
|
||||
Add a synth by dropping a `SynthesizerBase` subclass and a node-based view into
|
||||
`LyrebirdGUIDemoKit`, then extend `DemoSelection` and the `demoContent()` switch
|
||||
in `main.swift`.
|
||||
Add a synth by dropping a `SynthesizerBase` subclass into
|
||||
`LyrebirdGUIDemoKit/Synthesizers/` and a node-based view into `LyrebirdGUIDemoKit`,
|
||||
then extend `DemoSelection` and the `demoContent()` switch in `main.swift`.
|
||||
|
||||
Reference in New Issue
Block a user