Skip to content

Feature request (long-term): streamed PCM/I2S audio for real WAV playback #11

Description

@mikeysklar

Nice-to-have / long-term: a DMA-fed PCM streaming path to the TLV320 over I2S so real WAV files play as audio (not tone approximations).

  • Today: fruitjam-wavplay estimates the dominant tone per window and plays sine beeps — README notes "Full streamed PCM/I2S playback is not implemented."
  • Already in place: TLV320 codec config + PIO-generated I2S clocks (/dev/fruitjam-audio); RTTTL tones work.
  • Missing: a path that DMAs PCM sample buffers to the I2S engine at the file's sample rate (ALSA, or a simple char-dev that takes raw PCM).
  • Not a hardware limit: the same RP2350 + TLV320 do full-quality I2S audio under CircuitPython/Arduino — this is just a Linux-port driver milestone.
  • Payoff: real WAV playback now; MP3 later via a userspace decoder.

Priority: long-term — filing so it's tracked, not urgent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions