Paraslash network audio streaming tools
para_write - play wav or raw audioSYNOPSIS
para_write [--help] [--detailed-help] [--version] [--loglevel=<severity>] [--writer=<’name [options]’>] [--channels=<num>] [--sample-rate=<rate>] [--sample-format=<format>]DESCRIPTION
para_write reads audio data from stdin and starts one supported writer.OPTIONS
print help and exit
print help, including all details, and exit
print version and exit
control amount of logging
values: debug, info, notice, warning, error, crit, emerg
Log only messages with severity greater or equal than the given value. Possible values:
debug: Produces really noisy output. info: Still noisy, but won’t fill up the disk quickly. notice: Indicates normal, but significant event. warning: Unexpected events that can be handled. error: Unhandled error condition. crit: System might be unreliable. emerg: Last message before exit.
select writer to start
May be given multiple times, and the same writer may be specified more than once. If this option is not given, the first supported writer is started. The list of supported writers is shown in the help output.
Options for a particular writer may be specified for each given ’--writer’ option separately. You will have to quote these options like this:
--writer ’oss --device /dev/dsp2’
specify number of channels
It is only necessary to specify this option for raw audio. If it is not given, the channel count is queried from the parent buffer tree nodes (e.g. the decoder) or the wav header. Only if this query fails, the default value applies.
do not guess the input sample rate
It is only necessary to specify this for raw audio. See the discussion of the --channels option.
specify sample format
values: S8, U8, S16_LE, S16_BE, U16_LE, U16_BE
It is only necessary to specify this for raw audio. See the discussion of the --channels option.WRITERS
native ALSA output plugin
set PCM device
Check for the presence of a /proc/asound/ directory to see if ALSA is present in your kernel. The file /proc/asound/devices contains all devices ALSA knows about.
duration of the ALSA buffer
This is only a hint as ALSA might pick a slightly different time, depending on the sound hardware. The chosen value is shown in debug output as BUFFER_TIME.
If synchronization between multiple clients is desired, the same buffer time should be configured for all clients.
ao - output
plugin for libao
select a output driver by name
If this is not given, the driver with the highest priority will be used. The list of available drivers and their priorities is shown in debug mode.
pass a key-value pair to the libao driver
For each time this option is given, the supplied key-value pair is appended to the list of options for the driver. Invalid keys are silently ignored. The list of available keys is shown in debug mode.
oss - output
plugin for the Open Sound System
set PCM device
output plugin that writes to a local file
specify output file name
Defaults to a random filename in ~/.paraslash.COPYRIGHT