Skip to content

cablehead/audio-device-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

audio-device-cli

Rust CLI for macOS Core Audio device management and PCM audio playback.

Usage

# List audio devices
cargo run -- list-devices

# Play PCM from stdin (s16le, 16kHz, mono)
cargo run -- play
cargo run -- play [device_uid]

# Record PCM to stdout (s16le, 16kHz, mono)
cargo run -- record
cargo run -- record [device_uid] [duration_seconds]

Test with sine wave

sh examples/sine-pulse.py

Generates 440Hz sine bursts with gaps to test underrun handling.

Build

cargo build --release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages