yset(1)

yset1

Modify y sound server resources and settings

Usage

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

Overview

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

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

Releases

5 releases since Debian 3.0 (Woody); the text changed 2 times.

  1. 3.0
  2. 3.1
  3. 4.0–6.0

Authors

http://wolfpack.twu.net/contacts.html

From yiff-server 2.14.5-7 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.