1gsound(1)                            2022                            gsound(1)
2
3
4

NAME

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

SYNOPSIS

10       gsound  [-r|--rate num] [-n|--nbufs num] [-c|--channels num] [-s|--buf‐
11       size   num]   [-t|--type    num]    [-f|--format    str]    [-p|--play]
12       [-L|--list-devs] [-d|--debug] [-h|--help] <device> [<file>]
13
14

DESCRIPTION

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

OPTIONS

22       -r|--rate num
23              The sample rate, defaults to 44100.
24
25       -n|--nbufs num
26              The number of buffers, defaults to 4.
27
28       -c|--channels num
29              The number of channels, defaults to 1.
30
31       -s|--bufsize num
32              The number of buffer size, defaults to 2048.
33
34       -t|--type num
35              The  interface type, either alsa (Linux), win (Windows), portau‐
36              dio (generally MacOS) or file.  Default to alsa, win, or portau‐
37              dio depending on the platform.
38
39       -f|--format str
40              The I/O format.  Default to float.  May be one of double, float,
41              int32, int24, int16, or int8
42
43       -p|--play
44              Playback data from stdin.  The default is to record data to std‐
45              out.
46
47       -L|--list-devs
48              List available devices and exit.
49
50       -d|--debug
51              Enable  debug.   Specify  more  than  once to increase the debug
52              level
53
54       -h|--help
55              Help
56
57

SEE ALSO

59       gensio(5)
60
61

KNOWN PROBLEMS

63       None.
64
65

AUTHOR

67       Corey Minyard <minyard@acm.org>
68
69
70
71Aug                                   15                             gsound(1)
Impressum