Files
ReactorcoremeltdownandClaude Opus 5.5 435305e42a 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>
2026-11-16 10:01:14 +01:00

22 lines
819 B
Objective-C

// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#import "SizzleSession.h"
NS_ASSUME_NONNULL_BEGIN
/// API for the device editors' Viz views beyond SizzleSession.h.
@interface SizzleSession (Viz)
/// Toolbox [slot]'s live effect scope (AudioEngine.effectScope): copies up to
/// [capacity] samples, oldest to newest, into [out] and returns the count, or -1
/// while the slot isn't a scope effect on a mixer channel (nothing to draw).
/// Lock-free (doesn't take the song lock), so it can be polled at display rate.
- (NSInteger)copyEffectScopeOfSlot:(NSInteger)slot into:(float *)out capacity:(NSInteger)capacity;
/// Its read head within the scope window, 0 (oldest) to 1 (newest), or -1.
- (float)effectPlayheadOfSlot:(NSInteger)slot;
@end
NS_ASSUME_NONNULL_END