Repository navigation
API Interface AudioDebugInfo
Defined in: src/plugins/audio/runtime/debugTypes.ts:171
A copy of the audio state for tools and "why is there no sound?" (§1, architecture §8).
background: AudioBackground;Defined in: src/plugins/audio/runtime/debugTypes.ts:175
beds?: AudioBedDebug[];Defined in: src/plugins/audio/runtime/debugTypes.ts:185
ADR 0162 §1.6 (K0): bed slots (filled by A5; absent on a backend without beds).
buses: object[];Defined in: src/plugins/audio/runtime/debugTypes.ts:178
ADR 0162 (K0) adds bed (the bus's bed setting), bedHost (the bus whose bed it mixes into) and bedLost (it asked for a bed and has none).
bed?: "none" | "parent" | "own";bedHost?: string | null;bedLost?: boolean;effectiveGain: number;gain: number;lastRampStartFrame?: number;maxVoices: number | null;name: string;peakL: number;peakR: number;voices: number;core: Record<string, number | string | boolean>;Defined in: src/plugins/audio/runtime/debugTypes.ts:181
Architecture 8: context state, latencies, lookahead, transport, memory and health groups.
coreUnavailable?: string;Defined in: src/plugins/audio/runtime/debugTypes.ts:214
ADR 0341: why the audio core couldn't run here (a missing AudioWorklet or WebAssembly simd128, a failed load or
start), in the engine's words, once the engine has said so; absent while the core runs or is still loading.
Audio.debug() adds it; a backend leaves it out.
counters: object & AudioM3Counters;Defined in: src/plugins/audio/runtime/debugTypes.ts:176
droppedPlays: number;hrtfLoadFailure: number;hrtfVoices: number;lateCommands: number;logicalVoices: number;minSlackFrames: number;mixedCap: number;mixedVoices: number;queuedPlays: number;refusedLoads: number;traps: number;underruns: number;workUnits: number;workUnitsMax: number;cpu?: AudioCpuDebug;Defined in: src/plugins/audio/runtime/debugTypes.ts:202
ADR 0171 §1.3 (K0; Cp2): the CPU figure.
events?: object[];Defined in: src/plugins/audio/runtime/debugTypes.ts:183
ADR 0158: playing event instances (Audio.debug() adds them; a backend leaves it out).
asset: string;id: number;parameters: Record<string, number | string>;voices: number;world: number;memory?: AudioMemoryDebug;Defined in: src/plugins/audio/runtime/debugTypes.ts:191
ADR 0162 §1.6 (K0): M3's fixed memory (filled by D5 from the core's preset).
mix?: AudioMixDebug;Defined in: src/plugins/audio/runtime/debugTypes.ts:204
ADR 0171 §1.3 (K0; Dbg1): the slot table, monitor and ladder state, mix counters, ducking.
mixCaps?: AudioMixCaps;Defined in: src/plugins/audio/runtime/debugTypes.ts:200
ADR 0171 §1.3 (K0; Dbg1): what the backend can do for the mix. Optional until Dbg1 gives every backend one.
music?: MusicDebugRow[];Defined in: src/plugins/audio/runtime/debugTypes.ts:196
ADR 0166 §1.6, C11: one row per playing music instance. ADR 0249: Audio.debug() adds them above the seam
(audioRows.ts, from the players and MusicBackend.debugView); a backend leaves them out. Absent without music.
musicTotals?: MusicDebugTotals;Defined in: src/plugins/audio/runtime/debugTypes.ts:198
ADR 0166 §1.6, C11: engine-wide music totals (ADR 0249: added by Audio.debug() as music is).
occlusion?: AudioOcclusionDebug;Defined in: src/plugins/audio/runtime/debugTypes.ts:189
ADR 0162 §1.6 (K0): the occlusion pass (filled by D2a).
plugins?: AudioPluginDebug[];Defined in: src/plugins/audio/runtime/debugTypes.ts:208
ADR 0352 §6: one row per registered plugin effect (the core's; absent on a backend without plugin effects).
recorder?: AudioRecorderDebug | null;Defined in: src/plugins/audio/runtime/debugTypes.ts:206
ADR 0171 §1.3 (K0; Rc2): the shared capture ring, null while none runs.
sampleRate: number;Defined in: src/plugins/audio/runtime/debugTypes.ts:173
status: AudioStatus;Defined in: src/plugins/audio/runtime/debugTypes.ts:172
time: number;Defined in: src/plugins/audio/runtime/debugTypes.ts:174
voices: (object & AudioVoiceM3Debug)[];Defined in: src/plugins/audio/runtime/debugTypes.ts:179
zones?: AudioZoneDebug[];Defined in: src/plugins/audio/runtime/debugTypes.ts:187
ADR 0162 §1.6 (K0): reverb zones (filled by C5; absent on the Babylon fallback, where zones are inert).
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference