EsounD: The Enlightened Sound Daemon
Prev | Chapter 3. Running EsounD | Next

# 3.2. esdctl

controls certain aspects of the sound daemon.

esdctl `[options]`

commands | purpose
--- | ---
lock | foreign clients may not use the server
unlock | foreign clients may use the server
standby, off | suspend sound output for other programs
resume, on | resume sound output
cache SAMPLE | cache sample from file SAMPLE in the server
getid NAME | retrieve a sample id from its name
free NAME | uncache a sample in the server by NAME
play NAME | play a cached sample once
loop NAME | play a cached sample in a loop
stop NAME | stop a looping sample at end of sample
serverinfo | get server info from server
allinfo | get player and sample info from server
panstream ID LEFT RIGHT | set left and right volume levels for a stream
pansample ID LEFT RIGHT | set default left and right volume levels for a sample

lock - only the "owner" of the daemon can play sounds. the first key (obtained from ˜/.esd-auth) submitted to the daemon identifies the owner.

unlock - anyone can play sounds through the daemon.

standby - frees the audio device for use by other programs. all sounds are ignored until the daemon is resumed.

resume - brings daemon out of standby mode

NOTE: more than one option may be listed on the command line

Prev | Home | Next
Running EsounD | Up | esdcat, esdmon, esdrec