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:
@@ -196,7 +196,7 @@
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 2;
|
||||
CURRENT_PROJECT_VERSION = 3;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
@@ -208,12 +208,13 @@
|
||||
ENABLE_RESOURCE_ACCESS_PHOTO_LIBRARY = NO;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||
INFOPLIST_FILE = LyrebirdScratch/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = "Lyrebird Scratch";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 15.0;
|
||||
MARKETING_VERSION = 1.6.2;
|
||||
MARKETING_VERSION = 2.4.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.LyrebirdScratch;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
@@ -238,7 +239,7 @@
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 2;
|
||||
CURRENT_PROJECT_VERSION = 3;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
ENABLE_RESOURCE_ACCESS_AUDIO_INPUT = YES;
|
||||
@@ -249,12 +250,13 @@
|
||||
ENABLE_RESOURCE_ACCESS_PHOTO_LIBRARY = NO;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||
INFOPLIST_FILE = LyrebirdScratch/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = "Lyrebird Scratch";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MACOSX_DEPLOYMENT_TARGET = 15.0;
|
||||
MARKETING_VERSION = 1.6.2;
|
||||
MARKETING_VERSION = 2.4.1;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.LyrebirdScratch;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.6.3</string>
|
||||
<string>2.4.1</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"originHash" : "00d9a3997266cf2e38ebfa0f16e7978ca242180f4745b918a490a4758ba8e753",
|
||||
"pins" : [
|
||||
{
|
||||
"identity" : "linenoise-swift",
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/andybest/linenoise-swift",
|
||||
"state" : {
|
||||
"revision" : "afc897c02b030af7333105c4fedcd843a8339238",
|
||||
"version" : "0.0.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"identity" : "nimble",
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/Quick/Nimble.git",
|
||||
"state" : {
|
||||
"revision" : "e9d769113660769a4d9dd3afb855562c0b7ae7b0",
|
||||
"version" : "7.3.4"
|
||||
}
|
||||
}
|
||||
],
|
||||
"version" : 3
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
// Package.swift
|
||||
// Lyrebird
|
||||
//
|
||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
// swift-tools-version: 6.0
|
||||
import PackageDescription
|
||||
|
||||
// The live-coding scratchpad as a SwiftPM package, so the umbrella
|
||||
// `Lyrebird.xcworkspace` shows it the same way as `LyrebirdGUIDemo` — a package,
|
||||
// not a nested `.xcodeproj`. A sibling `LyrebirdScratch.xcodeproj` is kept on
|
||||
// disk for distribution builds (custom app icon, entitlements, the module-
|
||||
// staging run-script that makes an *exported* `.app` self-contained); the
|
||||
// package form is the dev-run / in-workspace view.
|
||||
//
|
||||
// macOS only. The Linux scratchpad host is `LyrebirdScratchLinuxDemo` in the
|
||||
// `LiveCompile/` sub-package (GTK4 / SwiftOpenUI); this executable is the AppKit
|
||||
// (NSTextView + menu) counterpart.
|
||||
//
|
||||
// Dynamic products on purpose: the live-compile stack dlopens freshly compiled
|
||||
// snippet dylibs that `import LyrebirdSynth` / `LyrebirdLiveCompile`. Linking the
|
||||
// single shared `libLyrebirdDynamic` + `libLyrebirdLiveCompileUIDynamic` (rather
|
||||
// than static-folding a second copy of LyrebirdSynth's ObjC classes into this
|
||||
// executable) is what avoids duplicate class registration at dlopen time — the
|
||||
// same reason the `LiveCompile` sub-package exists.
|
||||
//
|
||||
// Run: `swift build` first (so the …Dynamic dylibs exist in the build dir for
|
||||
// the snippet link), then `swift run LyrebirdScratch`. As a bare SwiftPM
|
||||
// executable there is no Hardened Runtime or App Sandbox, so the swiftc
|
||||
// shell-out and the unsigned-snippet dlopen both work without entitlements (the
|
||||
// `.xcodeproj` needs `disable-library-validation` only because an Xcode app
|
||||
// target enables Hardened Runtime by default).
|
||||
let package = Package(
|
||||
name: "LyrebirdScratch",
|
||||
platforms: [.macOS(.v15)],
|
||||
dependencies: [
|
||||
.package(name: "Lyrebird", path: "../.."),
|
||||
.package(name: "LyrebirdLiveCompile", path: "../../LiveCompile"),
|
||||
],
|
||||
targets: [
|
||||
.executableTarget(
|
||||
name: "LyrebirdScratch",
|
||||
dependencies: [
|
||||
.product(name: "LyrebirdDynamic", package: "Lyrebird"),
|
||||
.product(name: "LyrebirdLiveCompileUIDynamic", package: "LyrebirdLiveCompile"),
|
||||
],
|
||||
path: "LyrebirdScratch",
|
||||
exclude: [
|
||||
"Info.plist",
|
||||
"LyrebirdScratch.entitlements",
|
||||
"Assets.xcassets",
|
||||
]
|
||||
),
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user