Skip to content

Launching

Matt Windsor edited this page Jul 3, 2014 · 2 revisions

Launching

Playslave++ can be launched in two modes, corresponding to the choice of two I/O styles. It may be launched in stdin/stdout mode, in which case it communicates directly to whichever process/user launched it via the standard input and output to which it is connected, or in TCP/IP mode, in which case it becomes a network server and can be instructed via a given TCP port (like MPD).

As well as these modes, invoking Playslave++ with no arguments will list the current set of PortAudio devices, which may aid in attaching Playslave++ to the correct device.

Listing device IDs

Use the command playslave++ (no arguments) to list the device IDs available for use. The ID parameter mentioned below must be one of these IDs.

In stdin/stdout mode

Use the command playslave++ ID to invoke Playslave++ in stdin/stdout mode.

In TCP/IP mode

Use the command playslave++ ID ADDRESS PORT to invoke Playslave++ in TCP/IP mode. The address will usually be 0.0.0.0 or 127.0.0.1 (localhost), but, if your computer has multiple outbound IP addresses, will often need to be set to whichever such IP is desired. The port may be any unused TCP port.

Clone this wiki locally