Sponsored Content
Full Discussion: cat question
Top Forums Shell Programming and Scripting cat question Post 302596339 by Scott on Tuesday 7th of February 2012 06:36:53 AM
Old 02-07-2012
Did you try cat *.exe | ecasound -i stdin -o jack ?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

strange cat question.

Does anyone know what the microprograms behind cat (and other commands) are like? In what language are those programs designed? Is their source available somewhere? No particular reason, just wondering. I know it's a bit strange... (3 Replies)
Discussion started by: sanchopansa
3 Replies

2. UNIX for Dummies Questions & Answers

Difference between cat , cat > , cat >> and touch !!!

Hi Can anybody tell the difference between Difference between cat , cat > , cat >> and touch command in UNIX? Thanks (6 Replies)
Discussion started by: skyineyes
6 Replies

3. Shell Programming and Scripting

question about cat in script

hi all i have some script echo $$ > process-id d='cat process-id' if test-s "TMP"$d then echo "serv1" else echo "serv2" fi the variable d should contain the number of the process, instead of that it contains 'cat process-id' how shall i do that the d will contain only the number?... (6 Replies)
Discussion started by: naamas03
6 Replies

4. Shell Programming and Scripting

Question regarding cat command

Hello Friends, I have a question, i am trying to write a shell script in the bash shell. #!/bin/sh NAWK=/bin/nawk AWK=/bin/awk FIX_XML_PATH=/home/administrator/testfix/fix/ Y=`ls $FIX_XML_PATH | grep xml` echo $Y cat $Y in this case when i do the echo $Y command it gives me the... (11 Replies)
Discussion started by: asirohi
11 Replies

5. OS X (Apple)

Question about cat and echo

Hello, I am trying to send text to a USB to serial adaptor and then to an external speech synthesizer. I tried using the cat and echo commands with no luck. I have gotten some audio output from my synthesizer using Kermit a terminal emulator, so I am pretty sure my synthesizer and my USB to serial... (1 Reply)
Discussion started by: jamesapp
1 Replies

6. Shell Programming and Scripting

Easy cat question

I am having problems getting a list of filenames that I want from a directory. example: I have 3 files - filename.xxx.20110505.123030 filename.yyy.20110505.123030 filename.zzz.20110505.123030 There may be multiple xxx,... (3 Replies)
Discussion started by: Drenhead
3 Replies

7. Shell Programming and Scripting

cat question

Can any one guide me how can i accomplish this by script i continuously receive files via our ftp server into a certain folder is there a way i can take those files cat it to a new file by hour and create a new file when new hour starts? (4 Replies)
Discussion started by: shehzad_m
4 Replies

8. UNIX for Dummies Questions & Answers

Question regarding Cat

Can we concatenate say, I have a few files prefixing with 2009... So now i want all the 2009 files into one single file.. Can this be achieved???? (4 Replies)
Discussion started by: saggiboy10
4 Replies

9. Shell Programming and Scripting

Simple cat and echo question

Apologies, probably a really simple problem: I've got a text file (nh.txt) with this in it: user1 email1 email2 user2 email1 email2 etc With the following basic script: for tline in $(cat nh.txt) do echo "**********" echo $tline done ... (3 Replies)
Discussion started by: nelmo
3 Replies

10. Homework & Coursework Questions

Cat/File Descriptor Question

For the command below, I need to understand what exactly the command does and provide an examples for which the output will be saved to file save2... From my understanding, if the file provides an error in the first half of the pipe, it'll save to save1 and will never give an error to save to... (2 Replies)
Discussion started by: ayz649
2 Replies
JACK-STDIN(1)						      General Commands Manual						     JACK-STDIN(1)

NAME
jack-stdin - write JACK audio data to stdin SYNOPSIS
jack-stdin [OPTIONS] port1 [ port2 ...] DESCRIPTION
jack-stdin reads raw audio data from standard-input and writes it to a JACK audio port. The number of given ports detemine the number of audio channels that are used. If more than one channel is given, the input audio-sample data needs to be interleaved. OPTIONS
-b, --bitdepth BITS Specify the bit-depth of each sample. For integer-encoding this can be 16 or 24. The default is 16. This setting is only used for integer encoding: Floating-point samples will always be 32 bit wide. -d, --duration SEC Specify the time for which jack-stdin should run in seconds. A value less than 1 means to run indefinitely. The default is 0 which reads until end-of-file. -e, --encoding FORMAT Set the input format of the data: signed-integer, unsigned-integer, floating-point (default: signed) -f, --file FILENAME Read data from given file instead of standard-input. -h, --help Print a brief usage information -p, --prebuffer PERCENT Pre-fill the buffer before starting audio output to JACK (default 50.0%). NOTE: disable pre-buffering (-p 0) or use a small buffer size to play back very short samples. -L, --little-endian The input-data is in little-endian byte-order or native-byte-order float (this is the default) -B, --big-endian Interpret input audio data in big-endian byte-order or swap the byte-order of floating-point. -q, --quiet Inhibit usual output. This affects information and buffer-overflow warnings but not setup-errors. -S, --bufsize SAMPLES Choose the internal buffer-size in samples. The default size is 65536. The given value will be multiplied by the number of channels and bit-depth to get the size of the ring-buffer. Note: the buffersize must be larger than JACK's period size. EXAMPLES
jack-stdout vlc_31994:out_1 vlc_31994:out_2 | sox -t raw -r 48k -e signed -b 16 -c 2 - -t raw -r 48k -e signed -b 16 -c 2 - tremolo 5 100 | ./jack-stdin system:playback_1 system:playback_2 cat /dev/dsp | jack-stdin system:playback_1 system:playback_2 KNOWN ISSUES
jack-stdin is not suitable to play-back files shorter than twice the jack-period size. AUTHOR
Robin Gareus <robin@gareus.org>. SEE ALSO
http://jackaudio.org/, 30 March 2011 JACK-STDIN(1)
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy