Skip to main content

songbird-engine

Core audio engine — graph, transport, scheduling, automation, mixing, and IPC types. This is the largest crate in the workspace (~70K lines, 2,170 tests) and contains all the runtime logic for audio processing, MIDI routing, clip playback, and the type definitions shared between the engine and the Tauri IPC layer.
See also: ../../ARCHITECTURE.md for the full architecture reference and threading model.

Module Map

Core Types

AudioGraph

Connection-based directed acyclic graph with topological sort and parallel processing.
Key properties:
  • Connection ports — each connection has from_port and to_port indices, enabling sidechain routing
  • LatencyHint — per-node hint (RealTime, Buffered, Offline) for future ASIO-Guard-style dual-path rendering
  • Parallel levels — nodes at the same topological level execute concurrently via rayon::scope
  • ScratchPool — pre-allocated per-node buffers, zero allocation during process()

Transport

AutomationState

IPC Types

87+ strongly-typed response structs for all Tauri IPC commands:

Test Suites