v1.4.1 release: Learning Swift for Lyrebird intro guide
Documentation-only release. Adds docs/learning-swift/ — a four-part introduction to Swift for Lyrebird users coming from SuperCollider, Max/MSP, Csound, etc. (Hello World, Swift basics & best practices, types & functional programming, Xcode/packages/debugging). Linked from README.md and LYREBIRD_START_HERE.md. See RELEASES.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+35
@@ -7,6 +7,41 @@ functionality in a backward-compatible way.
|
||||
|
||||
---
|
||||
|
||||
## 1.4.1 — "Learning Swift for Lyrebird" intro guide
|
||||
|
||||
A documentation-only release, continuing the doc improvements begun in 1.3. No
|
||||
source or public-API changes. Adds a four-part introduction to Swift written
|
||||
specifically for Lyrebird users coming from SuperCollider, Max/MSP, Csound, and
|
||||
similar tools — people who want just enough Swift to be productive without
|
||||
wading through iOS-development tutorials.
|
||||
|
||||
### New — `docs/learning-swift/`
|
||||
|
||||
Four short guides, meant to be read in order, each grounded in audio examples
|
||||
rather than app-building:
|
||||
|
||||
1. **Hello, World** — from a one-line `print` to a working 440 Hz tone, every
|
||||
line of a Lyrebird program explained (engine → synthesizer → generator graph
|
||||
→ output bus).
|
||||
2. **Swift Basics & Best Practices** — `let`/`var`, the scalar types, optionals
|
||||
(and why Lyrebird forbids force-unwrap `!`), control flow, functions, error
|
||||
handling, and `struct` vs `class`.
|
||||
3. **Types & Functional Programming** — enums, protocols, operator overloading,
|
||||
closures, and `map`/`filter`/`reduce` applied to building synthesis graphs;
|
||||
`expand` as `map` for multichannel generators.
|
||||
4. **Xcode, Packages & Debugging** — Xcode vs. SwiftPM, adding Lyrebird as a
|
||||
package, **Debug vs. Release** build configurations (and why Debug audio can
|
||||
glitch), and breakpoints — including the rule to never break or `print` on
|
||||
the real-time render thread, using `debugTap`/`debugTag` instead.
|
||||
|
||||
Throughout, examples use explicit **type annotations** on every binding — the
|
||||
same practice the Lyrebird codebase enforces — for readability and faster
|
||||
compilation on large, generic audio-graph expressions.
|
||||
|
||||
Linked from `README.md` and `LYREBIRD_START_HERE.md` for discovery.
|
||||
|
||||
---
|
||||
|
||||
## 1.4.0 — Live-coding scratch editor, interpreted Graph DSL, `ClosureSynthesizer` + `SampleLoop`
|
||||
|
||||
A minor release. Fully backward-compatible — no changes to existing public API.
|
||||
|
||||
Reference in New Issue
Block a user