gsound(1)

gsound1

Tool for doing sound i/o using the sound gensio

Usage

gsound [{-r | --rate num}] [{-n | --nbufs num}] [{-c | --channels num}] [{-s | --bufsize num}] [{-t | --type num}] [{-f | --format str}] [{-p | --play}] [{-L | --list-devs}] [{-d | --debug}] [{-h | --help}] <device> [<file>]

Overview

The gsound program allows you to record/play sound to/from the given sound device. Sound data goes to/from file, or stdio if the file isn't given.

Options

-r|--rate num

The sample rate, defaults to 44100.

-n|--nbufs num

The number of buffers, defaults to 4.

-c|--channels num

The number of channels, defaults to 1.

-s|--bufsize num

The number of buffer size, defaults to 2048.

-t|--type num

The interface type, either alsa (Linux), win (Windows), portaudio (generally MacOS) or file. Default to alsa, win, or portaudio depending on the platform.

-f|--format str

The I/O format. Default to float. May be one of double, float, int32, int24, int16, or int8

-p|--play

Playback data from stdin. The default is to record data to stdout.

-L|--list-devs

List available devices and exit.

-d|--debug

Enable debug. Specify more than once to increase the debug level

-h|--help

Help

Known problems

None.

Releases

3 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13–Arch

Author

Corey Minyard <[email protected]>

From gensio 3.0.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.