Scroll to navigation

roarctl(1) System Manager's Manual: roard roarctl(1)


roarctl - RoarAudio sound server control tool




This tool controls the RoarAudio's sound server. This is done by sending commands to the server. See COMMANDS for a list.


Print some help text.

Be verbose. May be used multiple times.

Similar to serverstandards, reports the list of standard libroar supports.

Show audio info profiles and exit.

List servers found on the network. Depending on the build options of libroar this includes results from many tests like standard server locations, OpenSLP located servers, X11 located servers, DECnet's neighbor and IP's ARP table and other sources.


The server to connect to


Same as --help.

List audio info profiles.

Display a the given audio info profile.

Sleeps for TIME seconds.

Pings the server NUM times. This is done by sending NOOP commands to the server. The response time as well as as a small statistics section is printed.

This is not supported on all platforms.

This command shows the server address of the server currently connected to. This can be different from what has given e.g. in case of special server names like +fork.

Report client ID of roarctl on the current server.

Brings the server into standby mode or back into achtive (operating mode).

Tells if the server is in standby mode or not.

Quits the server.

Terminates the server as soon as all clients disconnected and all streams reaches EOF.


Sets the mixing level for a stream with id STREAMID.

CHANNELS is the nummber of channels to set volume. This should be the number of channels of the stream or a symbolic name. Currently the symbolic names mono and stereo are allowed. If you use mono all channels will get the level you give as VOL0. If you use stereo it will try to set the mixing levels as you are used from stereo setups even if the setup is not in stereo.

The parameters VOL0 ... VOLn and the number of them depends on what you gave as CHANNELS. You have to give exactly CHANNELS parameters.

If you give a numerical (not symbolic) value for CHANNELS and the stream does have a different number of channels the behavor is undefined. In the current implementation only the first CHANNELS channels will be updated. This behavor may change in the future.

Kicks an object of TYPE with id ID. Possible types are: client stream sample source

You can get the ID via list* (see below).

Adds a new virtual (child) stream. This is used with container formats such as RAUM, Ogg and Matroska.


Stream ID of Parent stream.
Stream Direction.
Stream codEc.
Sample Rate.
Bits per sample.
Number of Channels.

Sets, removes or toggles flags on a stream. ID is the stream id. FLAGS is a comma separated list of flags.

It is not possible to set all kinds of flags at runtime.

Protects flags on a stream. ID is the stream id. FLAGS is a comma separated list of flags.

Protected flags can not be changed anymore after the they got protected.


Set stream role ROLE on stream ID.

Read meta date of type TYPE from stream ID.

Saves the meta data of stream ID to file FILE. The Format is one KEY=Value pair per line. The same format is used by Xiph's tools.

Load meta data from file FILE into stream ID. The format is the same as for metasave.


Gets general information about the server. This includes software vendor and version.

Reports the server's system time.

Report a list of standards the server supports.

Similar to serverstandards, reports the list of standard libroar supports. Same as --list-libstandards.

Gets Information about server output.

Gets Information about server output for a given direction.


Gets Information about clients.

Gets Information about client ID.

Gets Information about streams.

Gets Information about stream ID.

Same as "serveroinfo listclients liststreams".


Below only the basic environment variables are listend. For a complete list see libroar(7).

The users home directory.

The address of the listening server. This may be in form of host:port for TCP/IP connections and /path/to/sock for UNIX Domain Sockets. This is the same as the --server option.


1) Make the meta data commands api-fixed and list them here.

2) more often check if the user gave us enough arguments.


roarvorbis(1), roarfish(1), roarbaseclients(1), roartestclients(1), libroar(7), RoarAudio(7).


For history information see RoarAudio(7).

July 2008 RoarAudio