1.0.0 release
This commit is contained in:
@@ -0,0 +1,523 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 60;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
D900000000000000000000D1 /* LyrebirdAUv3DemoApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = D900000000000000000000D0 /* LyrebirdAUv3DemoApp.swift */; };
|
||||
D900000000000000000000D3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D900000000000000000000D2 /* ContentView.swift */; };
|
||||
D900000000000000000000DA /* LyrebirdFMExtension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = E900000000000000000000E5 /* LyrebirdFMExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
|
||||
E900000000000000000000E1 /* LyrebirdFM.swift in Sources */ = {isa = PBXBuildFile; fileRef = E900000000000000000000E0 /* LyrebirdFM.swift */; };
|
||||
E900000000000000000000E3 /* LyrebirdFMAudioUnit.swift in Sources */ = {isa = PBXBuildFile; fileRef = E900000000000000000000E2 /* LyrebirdFMAudioUnit.swift */; };
|
||||
E900000000000000000000E7 /* LyrebirdFMAudioUnitViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E900000000000000000000E6 /* LyrebirdFMAudioUnitViewController.swift */; };
|
||||
E900000000000000000000EC /* LyrebirdUI in Frameworks */ = {isa = PBXBuildFile; productRef = F900000000000000000000FB /* LyrebirdUI */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
D900000000000000000000DC /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = F9000000000000000000001 /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = E900000000000000000000E4;
|
||||
remoteInfo = LyrebirdFMExtension;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXCopyFilesBuildPhase section */
|
||||
D900000000000000000000D9 /* Embed App Extensions */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
dstPath = "";
|
||||
dstSubfolderSpec = 13;
|
||||
files = (
|
||||
D900000000000000000000DA /* LyrebirdFMExtension.appex in Embed App Extensions */,
|
||||
);
|
||||
name = "Embed App Extensions";
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
D900000000000000000000C1 /* LyrebirdAUv3Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = LyrebirdAUv3Demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
D900000000000000000000D0 /* LyrebirdAUv3DemoApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LyrebirdAUv3DemoApp.swift; sourceTree = "<group>"; };
|
||||
D900000000000000000000D2 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
|
||||
D900000000000000000000D4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
D900000000000000000000D5 /* LyrebirdAUv3Demo.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = LyrebirdAUv3Demo.entitlements; sourceTree = "<group>"; };
|
||||
E900000000000000000000E0 /* LyrebirdFM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LyrebirdFM.swift; sourceTree = "<group>"; };
|
||||
E900000000000000000000E2 /* LyrebirdFMAudioUnit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LyrebirdFMAudioUnit.swift; sourceTree = "<group>"; };
|
||||
E900000000000000000000E5 /* LyrebirdFMExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = LyrebirdFMExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
E900000000000000000000E6 /* LyrebirdFMAudioUnitViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LyrebirdFMAudioUnitViewController.swift; sourceTree = "<group>"; };
|
||||
E900000000000000000000E8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
E900000000000000000000E9 /* LyrebirdFMExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = LyrebirdFMExtension.entitlements; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
D900000000000000000000C7 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
E900000000000000000000EA /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
E900000000000000000000EC /* LyrebirdUI in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
F9000000000000000000002 /* Main */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
D900000000000000000000CE /* LyrebirdAUv3Demo */,
|
||||
E900000000000000000000EE /* LyrebirdFMExtension */,
|
||||
F9000000000000000000003 /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
F9000000000000000000003 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
D900000000000000000000C1 /* LyrebirdAUv3Demo.app */,
|
||||
E900000000000000000000E5 /* LyrebirdFMExtension.appex */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
D900000000000000000000CE /* LyrebirdAUv3Demo */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
D900000000000000000000D0 /* LyrebirdAUv3DemoApp.swift */,
|
||||
D900000000000000000000D2 /* ContentView.swift */,
|
||||
D900000000000000000000D4 /* Info.plist */,
|
||||
D900000000000000000000D5 /* LyrebirdAUv3Demo.entitlements */,
|
||||
);
|
||||
path = LyrebirdAUv3Demo;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E900000000000000000000EE /* LyrebirdFMExtension */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
E900000000000000000000E0 /* LyrebirdFM.swift */,
|
||||
E900000000000000000000E2 /* LyrebirdFMAudioUnit.swift */,
|
||||
E900000000000000000000E6 /* LyrebirdFMAudioUnitViewController.swift */,
|
||||
E900000000000000000000E8 /* Info.plist */,
|
||||
E900000000000000000000E9 /* LyrebirdFMExtension.entitlements */,
|
||||
);
|
||||
path = LyrebirdFMExtension;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
D900000000000000000000C0 /* LyrebirdAUv3Demo */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = D900000000000000000000CA /* Build configuration list for PBXNativeTarget "LyrebirdAUv3Demo" */;
|
||||
buildPhases = (
|
||||
D900000000000000000000C6 /* Sources */,
|
||||
D900000000000000000000C7 /* Frameworks */,
|
||||
D900000000000000000000C8 /* Resources */,
|
||||
D900000000000000000000D9 /* Embed App Extensions */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
D900000000000000000000DB /* PBXTargetDependency */,
|
||||
);
|
||||
name = LyrebirdAUv3Demo;
|
||||
productName = LyrebirdAUv3Demo;
|
||||
productReference = D900000000000000000000C1 /* LyrebirdAUv3Demo.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
E900000000000000000000E4 /* LyrebirdFMExtension */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = E900000000000000000000ED /* Build configuration list for PBXNativeTarget "LyrebirdFMExtension" */;
|
||||
buildPhases = (
|
||||
E900000000000000000000EF /* Sources */,
|
||||
E900000000000000000000EA /* Frameworks */,
|
||||
E900000000000000000000F0 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = LyrebirdFMExtension;
|
||||
packageProductDependencies = (
|
||||
F900000000000000000000FB /* LyrebirdUI */,
|
||||
);
|
||||
productName = LyrebirdFMExtension;
|
||||
productReference = E900000000000000000000E5 /* LyrebirdFMExtension.appex */;
|
||||
productType = "com.apple.product-type.app-extension";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
F9000000000000000000001 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
BuildIndependentTargetsInParallel = 0;
|
||||
LastSwiftUpdateCheck = 1600;
|
||||
LastUpgradeCheck = 2620;
|
||||
TargetAttributes = {
|
||||
D900000000000000000000C0 = {
|
||||
CreatedOnToolsVersion = 16.0;
|
||||
};
|
||||
E900000000000000000000E4 = {
|
||||
CreatedOnToolsVersion = 16.0;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = F9000000000000000000005 /* Build configuration list for PBXProject "LyrebirdAUv3Demo" */;
|
||||
compatibilityVersion = "Xcode 14.0";
|
||||
developmentRegion = en;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
Base,
|
||||
);
|
||||
mainGroup = F9000000000000000000002;
|
||||
packageReferences = (
|
||||
F9000000000000000000004 /* XCLocalSwiftPackageReference "../.." */,
|
||||
);
|
||||
productRefGroup = F9000000000000000000003 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
D900000000000000000000C0 /* LyrebirdAUv3Demo */,
|
||||
E900000000000000000000E4 /* LyrebirdFMExtension */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
D900000000000000000000C8 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
E900000000000000000000F0 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
D900000000000000000000C6 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
D900000000000000000000D1 /* LyrebirdAUv3DemoApp.swift in Sources */,
|
||||
D900000000000000000000D3 /* ContentView.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
E900000000000000000000EF /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
E900000000000000000000E1 /* LyrebirdFM.swift in Sources */,
|
||||
E900000000000000000000E3 /* LyrebirdFMAudioUnit.swift in Sources */,
|
||||
E900000000000000000000E7 /* LyrebirdFMAudioUnitViewController.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
D900000000000000000000DB /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = E900000000000000000000E4 /* LyrebirdFMExtension */;
|
||||
targetProxy = D900000000000000000000DC /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
F9000000000000000000006 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
ENABLE_NS_ASSERTIONS = YES;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu17;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 15.0;
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||
MTL_FAST_MATH = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = macosx;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
F9000000000000000000007 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_ENABLE_OBJC_WEAK = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu17;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 15.0;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
MTL_FAST_MATH = YES;
|
||||
SDKROOT = macosx;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
D900000000000000000000CB /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_ENTITLEMENTS = LyrebirdAUv3Demo/LyrebirdAUv3Demo.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_ASSET_PATHS = "";
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = LyrebirdAUv3Demo/Info.plist;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.LyrebirdAUv3Demo;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
D900000000000000000000CC /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
||||
CODE_SIGN_ENTITLEMENTS = LyrebirdAUv3Demo/LyrebirdAUv3Demo.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_ASSET_PATHS = "";
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = LyrebirdAUv3Demo/Info.plist;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.LyrebirdAUv3Demo;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
E900000000000000000000F1 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_ENTITLEMENTS = LyrebirdFMExtension/LyrebirdFMExtension.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = LyrebirdFMExtension/Info.plist;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
"@executable_path/../../../../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.LyrebirdAUv3Demo.LyrebirdFMExtension;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
E900000000000000000000F2 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CODE_SIGN_ENTITLEMENTS = LyrebirdFMExtension/LyrebirdFMExtension.entitlements;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = LyrebirdFMExtension/Info.plist;
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
"@executable_path/../../../../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.LyrebirdAUv3Demo.LyrebirdFMExtension;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
F9000000000000000000005 /* Build configuration list for PBXProject "LyrebirdAUv3Demo" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
F9000000000000000000006 /* Debug */,
|
||||
F9000000000000000000007 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
D900000000000000000000CA /* Build configuration list for PBXNativeTarget "LyrebirdAUv3Demo" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
D900000000000000000000CB /* Debug */,
|
||||
D900000000000000000000CC /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
E900000000000000000000ED /* Build configuration list for PBXNativeTarget "LyrebirdFMExtension" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
E900000000000000000000F1 /* Debug */,
|
||||
E900000000000000000000F2 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
|
||||
/* Begin XCLocalSwiftPackageReference section */
|
||||
F9000000000000000000004 /* XCLocalSwiftPackageReference "../.." */ = {
|
||||
isa = XCLocalSwiftPackageReference;
|
||||
relativePath = ../..;
|
||||
};
|
||||
/* End XCLocalSwiftPackageReference section */
|
||||
|
||||
/* Begin XCSwiftPackageProductDependency section */
|
||||
F900000000000000000000FB /* LyrebirdUI */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = F9000000000000000000004 /* XCLocalSwiftPackageReference "../.." */;
|
||||
productName = LyrebirdUI;
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
rootObject = F9000000000000000000001 /* Project object */;
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"originHash" : "8c7cdbbec3286a359d81508a5a793e75295e1a598c53be84529e7a375cad48be",
|
||||
"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
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "2620"
|
||||
version = "1.7">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "NO"
|
||||
buildImplicitDependencies = "YES"
|
||||
buildArchitectures = "Automatic">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D900000000000000000000C0"
|
||||
BuildableName = "LyrebirdAUv3Demo.app"
|
||||
BlueprintName = "LyrebirdAUv3Demo"
|
||||
ReferencedContainer = "container:LyrebirdAUv3Demo.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "E900000000000000000000E4"
|
||||
BuildableName = "LyrebirdFMExtension.appex"
|
||||
BlueprintName = "LyrebirdFMExtension"
|
||||
ReferencedContainer = "container:LyrebirdAUv3Demo.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
shouldAutocreateTestPlan = "YES">
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D900000000000000000000C0"
|
||||
BuildableName = "LyrebirdAUv3Demo.app"
|
||||
BlueprintName = "LyrebirdAUv3Demo"
|
||||
ReferencedContainer = "container:LyrebirdAUv3Demo.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "D900000000000000000000C0"
|
||||
BuildableName = "LyrebirdAUv3Demo.app"
|
||||
BlueprintName = "LyrebirdAUv3Demo"
|
||||
ReferencedContainer = "container:LyrebirdAUv3Demo.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -0,0 +1,25 @@
|
||||
// ContentView.swift
|
||||
// Lyrebird
|
||||
//
|
||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct ContentView: View {
|
||||
var body: some View {
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
Text("LyrebirdFM AUv3")
|
||||
.font(.title)
|
||||
.bold()
|
||||
Text("Run this app once so macOS registers the bundled AUv3 extension. After that, load **Realized Sound: LyrebirdFM** from any AUv3 host — Logic, GarageBand, AUM, Loopy Pro, etc.")
|
||||
.font(.body)
|
||||
Spacer()
|
||||
Text("Lyrebird AUv3 demo")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
.padding(24)
|
||||
.frame(minWidth: 480, minHeight: 240)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright © 2026 Realized Sound. All rights reserved.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
<key>com.apple.security.files.user-selected.read-only</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,23 @@
|
||||
// LyrebirdAUv3DemoApp.swift
|
||||
// Lyrebird
|
||||
//
|
||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import SwiftUI
|
||||
|
||||
/// Container app for the LyrebirdFM AUv3 extension.
|
||||
///
|
||||
/// Installing this app is what registers the bundled `.appex` extension
|
||||
/// with the system AU registry. The app itself is a minimal SwiftUI
|
||||
/// placeholder — its only purpose is to ship the extension. Use the AU
|
||||
/// from any AUv3 host (Logic, GarageBand, AUM, Loopy Pro, etc.) after
|
||||
/// running the app once.
|
||||
@main
|
||||
struct LyrebirdAUv3DemoApp: App {
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
ContentView()
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>LyrebirdFM</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>XPC!</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<key>NSExtension</key>
|
||||
<dict>
|
||||
<key>NSExtensionAttributes</key>
|
||||
<dict>
|
||||
<key>AudioComponentBundle</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>AudioComponents</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>name</key>
|
||||
<string>Realized Sound: LyrebirdFM</string>
|
||||
<key>description</key>
|
||||
<string>Two-operator FM synthesizer (Lyrebird demo)</string>
|
||||
<key>type</key>
|
||||
<string>aumu</string>
|
||||
<key>subtype</key>
|
||||
<string>LBFM</string>
|
||||
<key>manufacturer</key>
|
||||
<string>RLZS</string>
|
||||
<key>version</key>
|
||||
<integer>65536</integer>
|
||||
<key>sandboxSafe</key>
|
||||
<true/>
|
||||
<key>tags</key>
|
||||
<array>
|
||||
<string>Synth</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>NSExtensionPointIdentifier</key>
|
||||
<string>com.apple.AudioUnit-UI</string>
|
||||
<key>NSExtensionPrincipalClass</key>
|
||||
<string>LyrebirdFMExtension.LyrebirdFMAudioUnitViewController</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,44 @@
|
||||
// LyrebirdFM.swift
|
||||
// Lyrebird
|
||||
//
|
||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import LyrebirdSynth
|
||||
|
||||
/// Two-operator FM synthesizer used by the AUv3 demo extension.
|
||||
///
|
||||
/// Carrier and modulator are both `OscSin.Audio`. The modulator's output is
|
||||
/// added to the carrier's frequency input; modulation depth is
|
||||
/// `modIndex * carrierFreq` so the index reads as a unitless ratio (1.0 ≈
|
||||
/// one octave of FM bandwidth at the carrier).
|
||||
///
|
||||
/// All four `@LiveParam`s map onto AU parameters in `LyrebirdFMAudioUnit`'s
|
||||
/// `parameterMetadata()` table.
|
||||
final class LyrebirdFM: SynthesizerBase {
|
||||
|
||||
/// Carrier frequency in Hz. Range [20, 8000]. Default 440 (A4).
|
||||
@LiveParam var carrierFreq: Double = 440.0
|
||||
|
||||
/// Modulator-to-carrier frequency ratio. Range [0.25, 16]. Default 2.0
|
||||
/// (one octave above carrier — produces an even-harmonic-rich timbre).
|
||||
@LiveParam var modRatio: Double = 2.0
|
||||
|
||||
/// Modulation index (unitless). Range [0, 8]. Default 0.5 — mild
|
||||
/// modulation; sounds close to a sine with extra brightness.
|
||||
@LiveParam var modIndex: Double = 0.5
|
||||
|
||||
/// Output amplitude. Range [0, 1]. Default 0.3 — leaves headroom.
|
||||
@LiveParam var amp: Double = 0.3
|
||||
|
||||
override func build() {
|
||||
let modFreq = $carrierFreq * $modRatio
|
||||
let modDepth = $modIndex * $carrierFreq
|
||||
let modulator = OscSin.Audio(freq: modFreq, mul: modDepth)
|
||||
let carrier = OscSin.Audio(freq: $carrierFreq + modulator)
|
||||
let voice = carrier * $amp
|
||||
// Mono → both stereo channels for AUv3 host compatibility.
|
||||
output(bus: 0, source: voice)
|
||||
output(bus: 1, source: voice)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// LyrebirdFMAudioUnit.swift
|
||||
// Lyrebird
|
||||
//
|
||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import LyrebirdSynth
|
||||
import AVFoundation
|
||||
import AudioToolbox
|
||||
|
||||
/// AUv3 wrapper around `LyrebirdFM`. Subclasses ``LyrebirdAudioUnit`` and
|
||||
/// only overrides the two required hooks: `makeSynthesizer()` and
|
||||
/// `parameterMetadata()`.
|
||||
///
|
||||
/// The `AudioComponentDescription` (type `aumu`, subtype `LBFM`,
|
||||
/// manufacturer `RLZS`) is declared in `Info.plist`'s `AudioComponents`
|
||||
/// array; this class is instantiated by the AU host via
|
||||
/// `NSExtensionPrincipalClass` resolution.
|
||||
public final class LyrebirdFMAudioUnit: LyrebirdAudioUnit {
|
||||
|
||||
public override class func makeSynthesizer() -> SynthesizerBase {
|
||||
LyrebirdFM()
|
||||
}
|
||||
|
||||
public override class func parameterMetadata() -> [String: LyrebirdAUParameterInfo] {
|
||||
[
|
||||
"carrierFreq": .init(min: 20, max: 8000, unit: .hertz, displayName: "Carrier Freq"),
|
||||
"modRatio": .init(min: 0.25, max: 16, unit: .generic, displayName: "Mod Ratio"),
|
||||
"modIndex": .init(min: 0, max: 8, unit: .generic, displayName: "Mod Index"),
|
||||
"amp": .init(min: 0, max: 1, unit: .linearGain, displayName: "Output Amp"),
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// LyrebirdFMAudioUnitViewController.swift
|
||||
// Lyrebird
|
||||
//
|
||||
// Copyright (c) 2026 Joshua Parmenter / realizedsound
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import CoreAudioKit
|
||||
import AVFoundation
|
||||
|
||||
/// AUv3 view controller + factory.
|
||||
///
|
||||
/// `AUAudioUnitFactory` conformance is how AUv3 hosts instantiate the
|
||||
/// underlying `AUAudioUnit` — the host loads this view controller as the
|
||||
/// extension's `NSExtensionPrincipalClass`, calls
|
||||
/// `createAudioUnit(with:)`, and the resulting AU is what handles render.
|
||||
///
|
||||
/// Ships an empty placeholder view. Drop in `LyrebirdSynthView` (from
|
||||
/// `LyrebirdUI`) to get a Mirror-driven SwiftUI parameter grid.
|
||||
public final class LyrebirdFMAudioUnitViewController: AUViewController, AUAudioUnitFactory {
|
||||
|
||||
/// Strong reference to the AU once `createAudioUnit(with:)` builds it.
|
||||
/// The host keeps a separate reference; this is held so a SwiftUI view
|
||||
/// added on top can read parameters from the same instance.
|
||||
public private(set) var audioUnit: AUAudioUnit?
|
||||
|
||||
public override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
// Empty stub — install a SwiftUI host (e.g. `LyrebirdSynthView`) here.
|
||||
}
|
||||
|
||||
public func createAudioUnit(
|
||||
with componentDescription: AudioComponentDescription
|
||||
) throws -> AUAudioUnit {
|
||||
let au = try LyrebirdFMAudioUnit(componentDescription: componentDescription)
|
||||
audioUnit = au
|
||||
return au
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,156 @@
|
||||
# LyrebirdAUv3Demo
|
||||
|
||||
Reference AUv3 plugin built on Lyrebird's `LyrebirdAudioUnit`. Ships
|
||||
**Realized Sound: LyrebirdFM** — a two-operator FM synthesizer — as an
|
||||
`aumu` instrument loadable in any AUv3 host (Logic, GarageBand, AUM,
|
||||
Loopy Pro, etc.).
|
||||
|
||||
Copy this directory as the starting point for your own Lyrebird-based
|
||||
AUv3 plugin.
|
||||
|
||||
## Layout
|
||||
|
||||
```
|
||||
LyrebirdAUv3Demo/
|
||||
LyrebirdAUv3Demo.xcodeproj Hand-written Xcode project (app + extension)
|
||||
LyrebirdAUv3Demo/ Container app target (.app)
|
||||
LyrebirdAUv3DemoApp.swift SwiftUI app entry — minimal
|
||||
ContentView.swift One-screen "installer" view
|
||||
Info.plist
|
||||
LyrebirdAUv3Demo.entitlements App sandbox
|
||||
LyrebirdFMExtension/ AUv3 extension target (.appex)
|
||||
LyrebirdFM.swift The two-op FM SynthesizerBase subclass
|
||||
LyrebirdFMAudioUnit.swift LyrebirdAudioUnit subclass (metadata + factory)
|
||||
LyrebirdFMAudioUnitViewController.swift AUViewController + AUAudioUnitFactory stub
|
||||
Info.plist AudioComponents (aumu / LBFM / RLZS)
|
||||
LyrebirdFMExtension.entitlements App-extension sandbox
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
### From the command line
|
||||
|
||||
```bash
|
||||
xcodebuild \
|
||||
-project Demos/LyrebirdAUv3Demo/LyrebirdAUv3Demo.xcodeproj \
|
||||
-scheme LyrebirdAUv3Demo \
|
||||
-configuration Release \
|
||||
CODE_SIGN_IDENTITY="-" \
|
||||
CODE_SIGNING_REQUIRED=NO \
|
||||
CODE_SIGNING_ALLOWED=NO \
|
||||
SWIFT_USE_INTEGRATED_DRIVER=NO \
|
||||
build
|
||||
```
|
||||
|
||||
`SWIFT_USE_INTEGRATED_DRIVER=NO` is the Xcode 26 workaround documented
|
||||
elsewhere in the Lyrebird build notes; it disables explicit-module-build
|
||||
so SPM dynamic-framework modules resolve correctly. The
|
||||
`CODE_SIGN_IDENTITY="-"` triple disables signing entirely for local
|
||||
builds — for distribution you must set `DEVELOPMENT_TEAM` to your Apple
|
||||
Developer Team ID and use `Automatic` signing.
|
||||
|
||||
### From Xcode
|
||||
|
||||
1. Open `LyrebirdAUv3Demo.xcodeproj`.
|
||||
2. Pick the **LyrebirdAUv3Demo** scheme.
|
||||
3. In each target's Signing & Capabilities tab, set your Team. The
|
||||
bundle ID `net.realizedsound.LyrebirdAUv3Demo` is a Realized-Sound
|
||||
placeholder — change to a prefix you own.
|
||||
4. Add `SWIFT_USE_INTEGRATED_DRIVER = NO` under each target's
|
||||
Build Settings → User-Defined (or set it project-wide). Required on
|
||||
Xcode 26+.
|
||||
5. **Build & Run** the container app once. This registers the embedded
|
||||
extension with the AU registry.
|
||||
|
||||
## Validate with auval
|
||||
|
||||
After running the container app at least once so the extension is
|
||||
registered:
|
||||
|
||||
```bash
|
||||
auval -v aumu LBFM RLZS
|
||||
```
|
||||
|
||||
A `PASS` summary is what you want. Common gotchas the wrapper already
|
||||
handles:
|
||||
|
||||
- `latency` returns 0 (`LyrebirdAudioUnit.latency`).
|
||||
- `tailTime` returns 0 (instrument has no internal tail).
|
||||
- `parameterTree` is populated synchronously in `init`, so `auval`
|
||||
sees it before render.
|
||||
- `internalRenderBlock` returns `noErr` and writes valid samples.
|
||||
- `maximumFramesToRender` is honoured by `AUv3Driver` via ring sizing.
|
||||
|
||||
If you see "Cannot get Component's Name strings" or "didn't find the
|
||||
component", the extension was not registered. Either the container app
|
||||
has not been launched yet, or `lsregister` did not pick it up. Re-run
|
||||
the container app from Xcode, then re-run `auval`.
|
||||
|
||||
## Smoke test in a host
|
||||
|
||||
1. **Logic Pro / GarageBand**: Track → New Software Instrument → AU
|
||||
Instruments → Realized Sound → LyrebirdFM. Play a few MIDI notes
|
||||
(this template ships no MIDI handler — the plugin instantiates and
|
||||
accepts parameter automation, but won't respond to note input until
|
||||
you wire `LyrebirdAudioUnit.midiHandler`; see [`AUv3.md`](../../Sources/Lyrebird/Lyrebird.docc/AUv3.md)).
|
||||
2. **AUM / Loopy Pro** (iOS): same idea once the iOS variant of this
|
||||
demo lands.
|
||||
|
||||
## What's in the wrapper
|
||||
|
||||
`LyrebirdFMAudioUnit` is the entire wrapper:
|
||||
|
||||
```swift
|
||||
public final class LyrebirdFMAudioUnit: LyrebirdAudioUnit {
|
||||
public override class func makeSynthesizer() -> SynthesizerBase { LyrebirdFM() }
|
||||
public override class func parameterMetadata() -> [String: LyrebirdAUParameterInfo] {
|
||||
[
|
||||
"carrierFreq": .init(min: 20, max: 8000, unit: .hertz, displayName: "Carrier Freq"),
|
||||
"modRatio": .init(min: 0.25, max: 16, unit: .generic, displayName: "Mod Ratio"),
|
||||
"modIndex": .init(min: 0, max: 8, unit: .generic, displayName: "Mod Index"),
|
||||
"amp": .init(min: 0, max: 1, unit: .linearGain, displayName: "Output Amp"),
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
`LyrebirdAudioUnit` does the rest: parameter tree from `Mirror`, engine
|
||||
lifecycle, ring-buffered render, `fullState` save / restore. See
|
||||
[`Sources/Lyrebird/Lyrebird.docc/AUv3.md`](../../Sources/Lyrebird/Lyrebird.docc/AUv3.md)
|
||||
for the full API surface.
|
||||
|
||||
## Copying this template
|
||||
|
||||
To ship your own AUv3 plugin:
|
||||
|
||||
1. Duplicate `Demos/LyrebirdAUv3Demo/` under a new name.
|
||||
2. Replace `LyrebirdFM` with your own `SynthesizerBase` subclass.
|
||||
3. Update `componentSubType` (4-char code, must be unique to your
|
||||
plugin) and `manufacturer` (your 4-char manufacturer code) in
|
||||
the extension's `Info.plist → NSExtension → NSExtensionAttributes
|
||||
→ AudioComponents`.
|
||||
4. Update `PRODUCT_BUNDLE_IDENTIFIER` in both targets'
|
||||
build settings to your own reverse-DNS prefix.
|
||||
5. Replace `Realized Sound: LyrebirdFM` strings with your own
|
||||
manufacturer + plugin name.
|
||||
6. Rebuild, run, `auval -v <type> <subType> <manufacturer>`.
|
||||
|
||||
## Not yet wired in this template
|
||||
|
||||
The framework supports all of the following — this particular demo
|
||||
template just doesn't include them yet. Each is a follow-up exercise
|
||||
when copying the template:
|
||||
|
||||
- MIDI note input — set `au.midiHandler` and dispatch via
|
||||
``LyrebirdAUVoicePoolBinding``.
|
||||
- SwiftUI parameter UI in the view controller — drop in
|
||||
``LyrebirdSynthView`` (see [`LyrebirdSynthView`](../../Sources/LyrebirdUI/LyrebirdSynthView.swift)).
|
||||
- Source-slot preset save/restore — conform any source generator to
|
||||
``LyrebirdAUPresetCodable`` and register it.
|
||||
- Effect-type AU (`aufx`) — override ``LyrebirdAudioUnit/lyrebirdInputChannels``
|
||||
and read host audio via ``AUInput/Audio``.
|
||||
- iOS container app target — duplicate the Mac app target and switch
|
||||
the platform.
|
||||
|
||||
The demo deliberately ships the smallest cut that proves the wrapper
|
||||
loads and validates.
|
||||
Reference in New Issue
Block a user