---
name: "yset"
section: "1"
platform: "linux"
package: "yiff-server"
version: "2.14.5-7"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/yset"
---

# yset(1)

modify Y sound server resources and settings

## NAME

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

## AUTHORS

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

## SEE ALSO

- YIFF home page

  http://wolfpack.twu.net/YIFF/

yiff(1) yaudiocd(1) [yhost(1)](/yhost/1.md) [ymixer(1)](/ymixer/1.md) [yplay(1)](/yplay/1.md) [yrecinfo(1)](/yrecinfo/1.md) [yshutdown(1)](/yshutdown/1.md)
