Component evidence

Tokovo Audio System (audio/index.ts)

tokovo · packages/core/src/audio/index.ts · typescript · MIT
voiceautomationtag:mixingtag:mixer

Production-grade audio mixing with bus routing, ducking, and auto-sound generation for Tokovo applications.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/nishit-g/tokovo | License: MIT | Copyright 2026 Tokovo contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Audio System - Production-grade audio mixing for Tokovo
 *
 * Exports all audio-related modules:
 * - Mixer: Bus routing, ducking, envelopes
 * - Policies: Spam gate, concurrency, priority
 * - Auto-Sound: Derive sounds from events
 * - Music Bed: Background music with crossfade
 */

// Mixer
export {
  computeSoundVolume,
  computeBusStates,
  computeBusDuckMultiplier,
  applyEnvelope,
  createSoundCue,
  createUISoundCue,
  createVoiceSoundCue,
  type BusState,
  type MixerContext,
} from "./mixer.js";

// Policies
export {
  checkSpamPure,
  cleanupRecentSounds,
  enforceBusConcurrency,
  getDefaultPriority,
  sortByPri

... (truncated -- full source via MCP)