logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gsound - Tool for doing sound I/O using the sound gensio

Author

       Corey Minyard <minyard@acm.org>

Aug                                                    15                                              gsound(1)

Description

       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.

Known Problems

       None.

Name

       gsound - Tool for doing sound I/O using the sound gensio

Options

-r|--ratenum
              The sample rate, defaults to 44100.

       -n|--nbufsnum
              The number of buffers, defaults to 4.

       -c|--channelsnum
              The number of channels, defaults to 1.

       -s|--bufsizenum
              The number of buffer size, defaults to 2048.

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

       -f|--formatstr
              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

See Also

gensio(5)

Synopsis

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>]

See Also