iOS 0.5.0: hand-built editors (Tape Delay, Tape Engine, Mix Tightener, Granular scope, Wavetable tables, Grain Cloud source)

Effect visualisation through the C++ effect, engine and AU; custom wavetables and
grain sources load and persist with the song; the app's slot editor hosts the
file picker for bespoke views.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-16 10:01:14 +01:00
co-authored by Claude Opus 5.5
parent 3b035d6a7d
commit 435305e42a
34 changed files with 1514 additions and 38 deletions
+30
View File
@@ -0,0 +1,30 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#import "SizzleDeviceAU.h"
NS_ASSUME_NONNULL_BEGIN
/// What the Wavetable's and the Grain Cloud's editors draw in a plug-in: the
/// built-in tables and sources (made in code, no sample store needed). Custom
/// tables and sources need the Sizzle app's sample store for now.
@interface SizzleDeviceAU (Sources)
/// Factory wavetable [name], level 0 ([frames] x [size] floats), or nil while the
/// factory set isn't built: building then starts in the background (ask again), or,
/// with [blocking], happens now on this thread (the Mac snapshot tools).
+ (nullable NSData *)factoryWavetableNamed:(NSString *)name blocking:(BOOL)blocking
frames:(NSInteger *)frames size:(NSInteger *)size
NS_SWIFT_NAME(factoryWavetable(named:blocking:frames:size:));
/// Peak envelope (|x| max per bucket, 0..1, [buckets] floats) of the Grain Cloud's
/// built-in source [name], or nil (unknown, or not rendered yet: as above).
+ (nullable NSData *)grainSourcePeaksNamed:(NSString *)name buckets:(NSInteger)buckets blocking:(BOOL)blocking
NS_SWIFT_NAME(grainSourcePeaks(named:buckets:blocking:));
/// Length in seconds of built-in source [name], or 0 while it isn't rendered.
+ (double)grainSourceSecondsNamed:(NSString *)name NS_SWIFT_NAME(grainSourceSeconds(named:));
@end
NS_ASSUME_NONNULL_END