roarctl(1)
π roarctl(1) π
okay bestie, so this is roarctl(1), straight out of the System Manager's Manual: roard β and it's literally the remote control for your RoarAudio sound server. sit down, get comfy, we're doing this. π
β¨ NAME β¨
roarctl β the RoarAudio sound server control tool. that's it, that's the girl. π
πΈ SYNOPSIS πΈ
roarcat [OPTIONS]... COMMAND [OPTS] [COMMAND [OPTS] [COMMAND [OPTS]
[...]]]
(yes, it really says roarcat up there in the original synopsis and we are not touching it, no cap. icon behavior. π)
π¦ DESCRIPTION π¦
So what does this thing do?? It controls the RoarAudio sound server. How? By sending commands to the server. That's the whole vibe. Go look at COMMANDS for the full list of what you can throw at it. β¨
π GENERAL OPTIONS π
--helpβ prints some help text. classic.--verbose,-vβ be verbose. and yeah, you can stack this one multiple times if you want it extra chatty. π₯--list-libstandardsβ similar toserverstandards, reports the list of standardslibroarsupports.--list-aiprofilesβ shows audio info profiles and then dips out (exits).--enum-serversβ lists servers found on the network. depending on the build options oflibroar, this includes results from many tests, like standard server locations, OpenSLP located servers, X11 located servers, DECnet's neighbor, IP's ARP table, and other sources. she's thorough. π§
π NETWORK OPTIONS π
--server SERVERβ the server to connect to. simple as that.
β BASIC COMMANDS β
helpβ same as--help.listaiprofilesβ lists audio info profiles.aiprofileget PROFILEβ displays the given audio info profile.sleep TIMEβ sleeps forTIMEseconds. self-care command fr.ping NUMβ pings the serverNUMtimes. it does this by sendingNOOPcommands to the server, and prints the response time plus a small statistics section.
not supported on all platforms, bestie. just so you know. π
servernameβ shows the server address of the server you're currently connected to. this can be different from what you gave, like in the case of special server names such as+fork.whoamiβ reports the client ID ofroarctlon the current server. main character moment.standby,off,resume,onβ brings the server into standby mode, or back into active (operating) mode.standbymodeβ tells you if the server is in standby mode or not.exitβ quits the server.terminateβ terminates the server as soon as all clients are disconnected and all streams reach EOF.
π STREAM COMMANDS π
volume STREAMID CHANNELS VOL0 VOL1 VOL2...β sets the mixing level for a stream with idSTREAMID.
CHANNELS is the number of channels to set volume on. 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 get the level you give as VOL0. if you use stereo, it'll try to set the mixing levels the way you're used to from stereo setups β even if the setup isn't actually in stereo.
The parameters VOL0 ... VOLn and how many of them there are depends on what you gave as CHANNELS. you have to give exactly CHANNELS parameters.
β οΈ if you give a numerical (not symbolic) value forCHANNELSand the stream actually has a different number of channels, the behavior is undefined. in the current implementation only the firstCHANNELSchannels will be updated. this behavior may change in the future. so like, be careful bestie. π
kick TYPE IDβ kicks an object ofTYPEwith idID. possible types are:clientstreamsamplesource
you can get the ID via list* (see below).
newvirtual P D E R B Cβ adds a new virtual (child) stream. this is used with container formats such as RAUM, Ogg and Matroska.
parameters, one by one:
Pβ stream ID of Parent stream.Dβ stream Direction.Eβ stream codEc.Rβ sample Rate.Bβ Bits per sample.Cβ number of Channels.
flag ID FLAGS,unflag ID FLAGS,toogleflag ID FLAGSβ sets, removes or toggles flags on a stream.IDis the stream id,FLAGSis a comma separated list of flags.
it is not possible to set all kinds of flags at runtime. π
protectflag ID FLAGSβ protects flags on a stream.IDis the stream id,FLAGSis a comma separated list of flags.
protected flags can't be changed anymore after they got protected. periodt. π
π META DATA COMMANDS π
role ID ROLEβ set stream roleROLEon streamID.metaget ID TYPEβ read meta date of typeTYPEfrom streamID.metasave ID FILEβ saves the meta data of streamIDto fileFILE. the format is oneKEY=Valuepair per line, and the same format is used by Xiph's tools.metaload ID FILEβ loads meta data from fileFILEinto streamID. the format is the same as formetasave.
π SERVER INFO COMMANDS π
serverinfoβ gets general information about the server. this includes software vendor and version.servertimeβ reports the server's system time.serverstandardsβ reports a list of standards the server supports.libstandardsβ similar toserverstandards, reports the list of standardslibroarsupports. same as--list-libstandards.serveroinfoβ gets information about server output.serveroinfo2 DIRβ gets information about server output for a given direction.
π«Ά LISTING COMMANDS π«Ά
listclientsβ gets information about clients.clientinfo IDβ gets information about clientID.liststreamsβ gets information about streams.streaminfo IDβ gets information about streamID.allinfoβ same as"serveroinfo listclients liststreams".
πΈ ENVIRONMENT VARIABLES πΈ
below are only the basic environment variables, bestie β for a complete list see libroar(7). β¨
HOMEβ the user's home directory.ROAR_SERVERβ the address of the listening server. this may be in the form ofhost:portfor TCP/IP connections, and/path/to/sockfor UNIX Domain Sockets. this is the same as the--serveroption.
π BUGS π
- Make the meta data commands api-fixed and list them here.
- more often check if the user gave us enough arguments.
π SEE ALSO π
roarvorbis(1), roarfish(1), roarbaseclients(1), roartestclients(1), libroar(7), RoarAudio(7).
β HISTORY β
for history information see RoarAudio(7).
and that's the whole page, babe π this gorgeous piece of documentation is brought to you by RoarAudio, dated July 2008 (vintage! iconic!), and it lives in section roarctl(1) of the manual. go forth and control that sound server. mwah. πβ¨
π¦ where this page comes from
- ubuntu jammy: roarclients 1.0~beta12-4 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms