RPLAYD(8)
β¨ RPLAYD β¨
okay so bestie, welcome to the rplayd page β that's the rplay sound server, and yes, it lives in section 8 of the System Manager's Manual. it's giving daemon energy π
. grab a strawberry π and let's get into it.
π SYNOPSIS π
rplayd [options]
literally that's it. flags only. she doesn't take arguments, she takes vibes. β¨
πΈ DESCRIPTION πΈ
rplayd is the sound server for the rplay audio system. she sits there, ears up, listening for requests to play, pause, continue, and stop sounds, and she speaks both the RPLAY and RPTP protocols. normally RPLAY requests roll in on port 5555/udp and RPTP on 5556/tcp β though the old-school ports 55555/udp and 55556/tcp are also supported, for the elders π«Ά. who's allowed in? that's the rplay.hosts file's whole job. access is restricted using it, periodt.
you can start rplayd during the system boot process, via inetd, or just... by individual users, main character style. root access may be required depending on audio device permissions, so check yourself before you wreck yourself π
in most cases rplayd plays sounds that are already chillin' on the local disk. but β and this is the fun part β rplayd can also be sent sounds over the network, and she can reach out to other rplayds to share sound files like she's networking at a party π¦. the index of all the local sound files is stored in rplay.conf, and the remote rplayds you want to gossip with are specified in rplay.servers. sounds received from other rplayds get stored in a cache directory, normally /.rplay-cache under /tmp β i.e. /tmp/.rplay-cache. cache entries expire on an LRU basis. lowkey efficient.
many sound file formats are supported by rplayd. these include:
AU AIFF WAV VOC UB UL
G.721 4-bit, G.723 3-bit, G.723 5-bit
GSM
other formats can be played using external helper applications, which convert unknown file formats to CD quality data that rplayd can then play. see rplay.helpers(5) π
several sounds can be played at once, and sounds can be played at any sample rate. rplayd can be configured to output many different formats using the various --audio options. it's giving versatile. it's giving range. π
on some systems β namely Solaris and Linux β rplayd can read sounds directly from CDROM using CDDA. the special sound name cdrom: will play the entire CDROM. cdrom:3-5 will play tracks 3 through 5. iconic π
π OPTIONS π
okay this is the long part. every single one is here, no skips, no cuts. drink some water first π«Ά
-A DEVICE,--audio-device=DEVICEβ use DEVICE for the audio device (default:/dev/dsp).-B N,--audio-bits=Nβ audio device bits per sample,8or16.--audio-channels=Nβ number of audio channels to use.1== mono,2== stereo.-c N,--audio-close=Nβ close/dev/dspafter N idle seconds; disabled with0(default:5).-F N,--audio_flush=Nβ flush/dev/dspafter N idle seconds; disabled with0(default:-1). N =-1: flush when spool is empty. N =-2: flush after each audio write. (not recommended) π N should be <= to the audio close timeout.--audio-format=FORMATβ tellrplaydto write audio data using FORMAT, where FORMAT can beulaw,linear-8,ulinear-8,linear-16, orulinear-16. (linear= signed,ulinear= unsigned)--audio-fragsize=Nβ audio fragment size (default:0). the default size is zero, which lets the audio driver pick the "best" size. the size specified must be a power of 2 greater than 16. example:256,1024,4096.--audio-info=INFO,--info=INFO,-i INFOβ specify complete audio device information with one option. INFO is of the form:format,sample-rate,bits,channels. examples:ulaw,8000,8,1andlinear-16,44100,16,2. also provided are:--audio-info-ulaw,--info-ulaw->ulaw,8000,8,1--audio-matchβ attempt to match the sample rate of the audio device with the sample rate of the current sound when no other sounds are playing. if the match fails,--audio-sample-rateis used. this option overrides--audio-bufsize.--audio-port=PORT[,PORT...]β output audio to the specified audio port(s). valid ports arespeaker,headphone, andlineout. multiple ports can be specified usingspeaker,headphone,lineout.-r N,--audio-rate=Nβ write the audio buffer N times per second (default:0).-R N,--audio-sample-rate=Nβ sample rate of the audio device.--authβ enable host access authentication. π-D DIR,--cache-directory=DIRβ use DIR forrplay.cache(default:/tmp/.rplay-cache).--cache-removeβ remove the cache directory and all its contents whenrplaydexits.-s N,--cache-size=Nβ maximum size in bytes of the rplay cache; disabled with0(default:8388608).--cdrom0=DEVICE,--cdrom1=DEVICE,--cdrom2=DEVICE,--cdrom3=DEVICEβ specify thecdrom[0-3]to DEVICE mapping. for Solaris 2.x the default mapping iscdrom[0-3]->/vol/dev/aliases/cdrom[0-3]. Linux usescdrom[0-3]->/dev/cdrom[0-3]. π-C FILE,--conf=FILEβ use FILE forrplay.conf(default:/etc/rplay/rplay.conf).-T N,--connection-timeout=Nβ close idle RPTP connections after N seconds; disabled with0(default:300).-d,--debugβ enable debug mode. π-f HOST,--forward=HOSTβ forward all RPLAY packets to HOST.--forkβ enable backgroundingrplaydat startup. (enabled)--group=GROUPβ run with GROUP privs. (default:audio)--helpβ display helpful information. π«Ά--helpers=FILEβ use FILE forrplay.helpers(default:/etc/rplay/rplay.helpers).-H FILE,--hosts=FILEβ use FILE forrplay.hosts(default:/etc/rplay/rplay.hosts).--inetdβ enable inetd mode. (disabled)-L FILE,--log-file=FILEβ use FILE forrplay.log(default:/tmp/rplay.log).-l N,--log-level=Nβ use logging level N where0 <= n <= 4.--memory-cache-size=Nβ maximum size in bytes of the memory cache; disable caching with0(default:4194304).--memory-cache-sound-size=Nβ maximum size in bytes of a sound that can be cached in memory. a value of0means to try and cache all sounds. (default:2097152)-N,--no-audioβ disable audio, RPTP file server mode.--no-authβ disable host access authentication.-n,--no-inetdβ disable inetd mode. (disabled)--no-forkβ disable backgroundingrplaydat startup. (enabled)--options-file=FILEβ readrplaydoptions from FILE.--port=PORT,--rplay-port=PORTβ use PORT as the RPLAY/UDP port. (default:5555) (--other-rplay-portmay also be available)--rptp-port=PORTβ use PORT as the RPTP/TCP port. (default:5556) (--other-rptp-portmay also be available)-S FILE,--servers=FILEβ use FILE forrplay.servers(default:/etc/rplay/rplay.servers).-t N,--timeout=Nβ exit after N idle seconds; disabled with0(default:0).--user=USERβ run with USER privs. (default:nobody)-v,--versionβ print the rplay version and exit. β¨
π¦ FILES π¦
the whole friend group:
~/.rplaydrc/tmp/.rplay-cache/usr/local/etc/rplay.conf/usr/local/etc/rplay.helpers/usr/local/etc/rplay.hosts/usr/local/etc/rplay.servers
π SEE ALSO π
go read these next, bestie, i'm obsessed with them:
rplay.conf(5), rplay.helpers(5), rplay.hosts(5), rplay.servers(5), rplay(1), rptp(1)
and that's the page!! π this whole thing is from the System Manager's Manual and it's dated 6/29/98 β yeah, she's a vintage icon, an elder stateswoman of audio daemons, and she still ate πβ¨ no cap. go forth and play some sounds fr fr π«Ά
π¦ where this page comes from
- debian bookworm: rplay-server 3.3.2-18
- debian trixie: rplay-server 3.3.2-20
- ubuntu jammy: rplay-server 3.3.2-18
- ubuntu noble: rplay-server 3.3.2-18build2
- ubuntu questing: rplay-server 3.3.2-21
- ubuntu resolute: rplay-server 3.3.2-22
- ubuntu stonking: rplay-server 3.3.2-22ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms