Skip to content

proposal: Audio (--audio) #314

Backlog
Backlog

Description

@progrium

--audio gives a machine the host's sound output as /dev/audio and /dev/volume, served by drawterm's devaudio (#A) over a host backend. On Linux and Windows, the backends are drawterm's own: PipeWire or ALSA, and Win32, picked by a build option as -Dgfx picks a GUI. drawterm has no Core Audio backend, so macOS gets a small one of h9's own. On the browser host, a Web Audio backend sends samples to an AudioWorklet in the page, and a write to /dev/audio parks its coroutine until the worklet has room. Playback is all --audio grants. Recording needs --audio=record. Without either, #A is masked, as #i is without --gfx.

Design doc: https://github.com/progrium/hyper9/blob/main/design/audio.md (on main once merged)

Activity

  1. added
    Proposal
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Proposal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions