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>
22 lines
829 B
Objective-C
22 lines
829 B
Objective-C
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#import "SizzleDeviceAU.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
/// 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
|
|
|
|
/// The live scope of the effect on channel 0 (Kotlin's VizEffect): copies up to
|
|
/// [capacity] samples, oldest to newest, into [out] and returns the count, or -1
|
|
/// when the effect has no scope or render resources aren't allocated. Any thread.
|
|
- (NSInteger)copyEffectScope:(float *)out capacity:(NSInteger)capacity;
|
|
/// Its read head within the scope window, 0 (oldest) to 1 (newest), or -1.
|
|
@property (nonatomic, readonly) float effectPlayhead;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|