iOS 0.1.0: the eight audio effects as AUv3 plugins on a C++ core
C++ ports of the Kotlin effects, checked against audio the Kotlin code renders (25 scenarios, IosGoldenExport); an Objective-C++ AUv3 wrapper checked on the Mac against the core (parameters, presets, saved state); a container app that checks each plugin on the device. Built as a TrollStore .ipa. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c9ad186de1
commit
dcf85ba915
@@ -0,0 +1,35 @@
|
||||
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#pragma once
|
||||
|
||||
// Plain descriptions of Sizzle's devices and their parameters. The tables
|
||||
// themselves are generated from the Android app (DeviceSpecs.gen.hpp).
|
||||
|
||||
namespace sizzle {
|
||||
|
||||
enum class Kind { Instrument, Effect };
|
||||
|
||||
/** One parameter, as ToolboxType's ParamSpec: choices != nullptr marks an enum
|
||||
* (nullptr-terminated list of names; the default is an index into it). */
|
||||
struct ParamSpec {
|
||||
const char *key;
|
||||
const char *label;
|
||||
float def, min, max;
|
||||
bool isInt;
|
||||
const char *const *choices;
|
||||
bool isEnum() const { return choices != nullptr; }
|
||||
int choiceCount() const { int n = 0; if (choices) while (choices[n]) ++n; return n; }
|
||||
};
|
||||
|
||||
struct DeviceSpec {
|
||||
const char *type; // ToolboxType name, e.g. "BITCRUSHER"
|
||||
const char *displayName;
|
||||
Kind kind;
|
||||
const ParamSpec *params;
|
||||
int paramCount;
|
||||
};
|
||||
|
||||
/** The device with ToolboxType name [type], or nullptr. */
|
||||
const DeviceSpec *findDevice(const char *type);
|
||||
|
||||
} // namespace sizzle
|
||||
Reference in New Issue
Block a user