iOS 0.2.0: instruments as AUv3, in-app host with keyboard, MIDI in and benchmark

Shared SizzleDeviceAU base for effects and instruments; sizzle::Instrument voice
pools; Android's factory presets generated into the specs header; the app hosts
every device in-process (no dependence on the system plugin registry).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-15 22:17:47 +01:00
co-authored by Claude Opus 5.5
parent a5b2f4c873
commit 7f231c8f79
35 changed files with 1989 additions and 368 deletions
+4 -17
View File
@@ -1,26 +1,13 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#import <AudioToolbox/AudioToolbox.h>
#import "SizzleDeviceAU.h"
NS_ASSUME_NONNULL_BEGIN
/// One Sizzle audio effect as an AUv3 (`aufx`): wraps a C++ `sizzle::Effect`
/// chosen by its ToolboxType name ("DELAY", "FILTER", …). Parameters come from the
/// generated device specs; each channel runs its own mono effect instance.
@interface SizzleEffectAU : AUAudioUnit
- (nullable instancetype)initWithComponentDescription:(AudioComponentDescription)desc
toolboxType:(const char *)toolboxType
displayName:(NSString *)displayName
error:(NSError **)outError;
/// The device's name as shown in Sizzle ("Tape Delay").
@property (nonatomic, readonly) NSString *displayName;
/// Formats a parameter value the way Sizzle's editor does (units, %, choices).
- (NSString *)stringForParameter:(AUParameter *)param value:(AUValue)value;
/// One Sizzle audio effect as an AUv3 (`aufx`): a C++ `sizzle::Effect` per channel
/// (the effects are mono, as in Sizzle's mixer: stereo runs dual mono).
@interface SizzleEffectAU : SizzleDeviceAU
@end
NS_ASSUME_NONNULL_END