yset(1) modify Y sound server resources and settings

SYNTAX

yset <parameter [value...]> [options]

DESCRIPTION

Modify Y server Audio values, change to preset Audio modes on Y server, adjust Y Sound cycle value, and set many other Y server resources.

PARAMETERS

audio <name>
Change to a preset Audio mode defined on the Y server, use yrecinfo --modes to get a list of available preset Audio modes.
audiovalues <sample_rate> <channels> <sample_size> <fragment_size>
Change Audio to specific values:

        <sample_rate>   Sample rate in Hz.
        <channels>      Number of channels.
        <sample_size>   Sample size in bits.
        <fragment_size> Fragment size in bytes.
cycle <microseconds>
Adjust the cycle in microseconds.
shellout
Shells out the recorder (not all Y servers support this feature).

OPTIONS

--recorder <address:port>
Specify which Y server to connect to.
--help
Print help screen and exit.

RETURN VALUE

0
Success.
1
General error.
2
Cannot connect to Y server error.
3
Systems error.

ENVIRONMENT VARIABLES

RECORDER
Specifies the Y server <address:port> to connect to. This is a fall back if the argument --recorder is not specified.

EXAMPLES

To change the Y server's preset Audio mode to the one named Default, type:

# yset audio default

To change the Y server's preset Audio mode to the one named PlayStereo11025, type:

# yset audio PlayStereo11025

To change the Y server's Audio to sample rate 11025 Hz, 2 channels, sample size 8 bits, and 1024 bytes fragmented sound buffer size, type:

# yset audiovalues 11025 2 8 1024