08-17-2012
Usually the shell doesn't have much control over audio. How to do that for your program depends on how it uses audio, etc.
What's the program?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Working in a bash environment, in the following example, how do I direct the error message that putting in an invalid flag (-j for example) would normally produce to dev/null?
while getopts "abcd" opt
do
case "$opt" in
i) a etc ;;
r) b etc ;;
f) c etc ;;
v) d... (7 Replies)
Discussion started by: Sniper Pixie
7 Replies
2. Solaris
Please help urgently.
I need to setup up some sort of service on a solaris server on a port.
I dont need it do anything special, anything that is sent to this port from an external server should be dump to /dev/null or a flat file..
Can you help urgently? (1 Reply)
Discussion started by: frustrated1
1 Replies
3. UNIX for Dummies Questions & Answers
Is it possible to redirect errors at the command line when you run the script such as bash scriptname & 2>/dev/null? (1 Reply)
Discussion started by: knc9233
1 Replies
4. Shell Programming and Scripting
Hi
i am running oracle database import through a script and script scans the import log to see if there are any errors.
Now the porblem is that when i run the script the import log appears on the screen even if i direct the output of import to /dev/null.
imp "'/ as sysdba'"... (5 Replies)
Discussion started by: vinoo128
5 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am working on a script to measure the read performance of a busybox environment. The logical choice is to use a command line like:
(time cp * /dev/null) 2> /tmp/howlong.txt
Ah, the rub is cp or /dev/null will only accept a single file at a time.
The result in the txt file is and... (1 Reply)
Discussion started by: stevesmo
1 Replies
6. Ubuntu
I stumbled across a somewhat strange behavior of tar and find no explanation for it: i was testing a DVD for read errors and thought to simply tar the content and direct the output to /dev/null:
tar -cvf - /my/mountpoint/*ts > /dev/null
This way i expected the system to read the complete... (4 Replies)
Discussion started by: bakunin
4 Replies
7. Shell Programming and Scripting
Hello,
I'm trying to send the error output of a 'cat' operation to /dev/null like this:
cat /dirA/dirB/temp*.log > /dirA/dirB/final.log 2>/dev/null
This works perfectly in a terminal, but not when placed in a script.
If there are no files matching temp*.log the script outputs an error... (7 Replies)
Discussion started by: Nils88
7 Replies
8. UNIX for Dummies Questions & Answers
How are these two different? They both prevent output and error from being displayed. I don't see the use of the "&"
echo "hello" > /dev/null 2>&1
echo "hello" > /dev/null 2>1 (3 Replies)
Discussion started by: glev2005
3 Replies
9. Shell Programming and Scripting
Hi Guys,
Please help me.. it is urgent. I am writing a perl script to capture command output and redirect it to a logfile.At the same i want to check the return code of the command and log it if the command is not succesful in my logfile.. Here is my code, it is working but system command inside... (2 Replies)
Discussion started by: sriramperumalla
2 Replies
10. UNIX for Dummies Questions & Answers
Hello.
When I run a .ksh that contains the command below, and there is no file available in the source location the "FILE_NAME_*.CSV not found" error is still being displayed.
FILEN=$(ssh ${SOURCE_SERV} "cd ${SOURCE_LOCATION} ;ls ${FILES}") 2> /dev/null.
This is interfering with the rest... (4 Replies)
Discussion started by: jimbojames
4 Replies
DBFSD(1) General Commands Manual DBFSD(1)
NAME
dbfsd - DB Fourier Synthesis Daemon
SYNOPSIS
dbfsd [options]
DESCRIPTION
The audio daemon dbfsd serves as the backend part to the DBMix-project. It allows to connect several audio streams and combines them into
one, using high quality Fourier synthesis. Connections currently transfer data via pipes; a network (socket) connection method is being
developed, but not yet included. Use dbcat to push audio streams into dbfsd. The mixer settings are controlled via dbmixer.
Dbfsd actually can handle two different output destinations: one is the master device, usually used for the main output; the second one is
referred to as the cueing device, which is handy for so-called pre-fade listening. That is, one can check the starting position of the
next song, or adjust its pitch before sending it to the main output. Obviously, for stereo output to both the master and the cueing
device, two sound cards (or a sound card with two distinct output channels) are needed. The -e switch offers a way to cue with only a sin-
gle sound card, but output is reduced to mono streams.
OPTIONS
-a dev Set master output device to dev. (Default: /dev/dsp.)
-b dev Set cue output device to dev. (Default: /dev/dsp2.)
-c Enable cue output. (Default: cueing disabled.)
-d Print out debug messages to console. (Default: debugging disabled.)
-e Output cue as left channel of master out. This option also enables cue output even if -c is not set. (Default: cue to both chan-
nels of cue output device.)
-h Print summary of available options.
-n max Allow at most max input channels. (Default: 4.)
-o Send master output to stdout. (Default: send output to master output device.)
-r n Set number of OSS output fragments to n. Decreasing this number will reduce latency between, say, starting dbcat, and hearing the
results of that action. Too low a value, however, will results in drop-outs in the stream. This value can also be adjusted via the
preferences dialog in the dbmixer application. (Default: 128.)
-s n Set number of input channels that should be created as sockets to n. (Default: 0.)
-v Print version information. (Default: no version information.)
FILES
/tmp/chn_comm
Pipe to input channel n. Direct use of the pipes is deprecated, use dbcat instead. The pipes expect audio input in unsigned 16bit
PCM format at 44.1kHz.
SEE ALSO
dbcat(1), dbin(1), dbmixer(1), dbmix(7).
AUTHOR
This manual page was written by Daniel Kobras <kobras@debian.org>, for the Debian GNU/Linux system (but may be used by others). It is
heavily based on DBMix's README file written by Robert Michael S Dean.
July 23, 2002 DBFSD(1)