win-audio-devices-cli

Crates.iowin-audio-devices-cli
lib.rswin-audio-devices-cli
version0.2.0
sourcesrc
created_at2023-10-30 11:41:02.755932
updated_at2023-10-30 13:43:10.482671
descriptionA Windows CLI to manage audio devices
homepage
repositoryhttps://github.com/3tilley/win-audio-devices-cli
max_upload_size
id1018391
size43,495
(3tilley)

documentation

README

win-audio-devices-cli

Manage your audio interfaces from the command line

:cartwheeling: Alpha software, expect bugs and instability :cartwheeling:

Installation

The command below will install a bin called wadc in your ~/.cargo/bin directory.

cargo install win-audio-devices-cli

Usage

wadc --json will print a JSON representation of all audio devices. This is currently the only command.

Scope

The goal is to provide the kind of functionality that normally requires a lot of mouseclicking straight from the terminal. This can then be easily bound to hotkeys or used in scripts.

For obvious reasons, in its current state this won't work outside Windows, but if it's useful and a common set of interfaces can be found, it could be

Goals:

  • Output system info in JSON
  • Pretty print info to terminal
  • Set default devices
  • Set default devices interactively
  • Play sounds to quickly identify devices
  • Mute or unmute microphones

Since they are already trivially accessible from the keyboard the following are unikely to be implemented:

  • Change volume
  • Mute speakers
  • Media controls
Commit count: 14

cargo fmt