linux software dsp daemonSYNOPSISlisodspd [ options ] [ -- filter [ filter-args ... ] ]DESCRIPTIONBasically lisodspd forwards data from an OSS input device to an OSS output device.OPTIONSGeneral options-h --helpDisplay help message and exit.-V --versionDisplay version number and exit.-v --verboseBe verbose: print some info messages .-q --quietKeep quiet: do not print info messages.-d --daemonDaemonize: detach process from current tree and attach it to init.-p --priority=<N>Priority: set process priority from -20 (highest priority) to 19 (lowest).
Device options-b --byte --88 bit per sample.-w --word --1616 bit per sample (default).-1 --monoMono channel mode.-2 --stereoStereo channel mode (default).-s --signedSigned sample (default).-u --unsignedUnsigned sample.-L --little-endianForce little endian byte order (LSB first).-B --big-endianForce big endian byte order (MSB first).-N --native-endianForce CPU-native endian byte order (default).-r --rate=<hz>Set sampling rate in hertz. Default is 44100.
-T --buffer=[<N>x]<T>Set output buffering to N times T ms. If N is ommitted or <=0 T is assumed to be the total buffering time and the number of frag will be calculated so that output frag time matches as close as possible the input frag time.-D --delay=<us>Additonal delay in us (exactly 2^-20th of second).
-i --input-device=<device>OSS input device path. Default is /dev/lisodsp-inp.
-o --output-device=<device>OSS input device path. Default is /dev/lisodsp-out.filterOptionnal program to filter RAW PCM from stdin to stdout.
EXAMPLESTypical deamon.Run lisodspd as a daemon with all default parameters. Echo filterRun lisodspd with an echo effects. Actually echo should not be delayed. Pitch filter (kinda ogre voice)
Run lisodspd with a one octave pitch that does not change the duration. The delay value (52428) is calculated like this:
Listen and encode MP3
Run shell command that creates a fifo and encodes mp3 from fifo into lisodsp-out.mp3 and finally duplicates data from stdin to stdout and fifo. BUGSNone has been reported.INFO
| |||
| |||
|