Skip to main content

songbird-types

Canonical domain types shared across the workspace.

What it owns

  • Track type taxonomy (TrackType: Midi, Audio, Instrument, Bus, Return, Master, Drum, Folder).
  • Time-stretch mode enum and other small shared enums/constants.

Public API

  • TrackType, TimeStretchMode, plus a handful of preset/template structs and CC definitions.

How it fits

Foundation crate — imported almost everywhere: songbird-engine, songbird-clips, songbird-state, songbird-sync, songbird-files, songbird-app, songbird-project, songbird-orchestrator, songbird-session. No workspace deps; serde only. When adding a type that more than one crate needs, this is usually the right home.

Tests

cargo test -p songbird-types.