10 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
Hi,
I have an issue with openssl. Basically I have a ca certificate which has expired and I have regenerated a new ca.cert from the ca.key file and I have concatenated the output of the new ca.crt file and ca-bundle.crt to a new ca-bundle.crt.
Have restarted apache, however I still get the... (1 Reply)
Discussion started by: maverick_here
1 Replies
2. OS X (Apple)
Hi guys...
Macbook Pro, 13", circa August 2012, OSX 10.7.5, default bash terminal.
I require the capability to convert +32767 to -32768 into signed hex words...
The example piece code below works perfectly except...
#/bin/bash
# sign.sh
# Unsign to sign...
while true
do
# I have used... (2 Replies)
Discussion started by: wisecracker
2 Replies
3. Programming
when a date type is considered signed and unsigned is that simple referring to - for signed and positive numbers for unsigned? Further if that is the case would mutiplying and dividing ect where 2 signed numbers, like (-2)*(-2) = 4 result in a unsigned. (3 Replies)
Discussion started by: Fingerz
3 Replies
4. Shell Programming and Scripting
hi,
how to I do this?
i="4.000"
if ; then
echo "smaller"
fi
how do I convert the "4.000" to 4?
Thanks! (4 Replies)
Discussion started by: h0ujun
4 Replies
5. UNIX for Advanced & Expert Users
Why is my Live user signed into tty1 - 6?
A few details explaining the only changes I've made:
I downloaded Linux Mint 12. Burned, booted, and installed to hard drive. Performed updates. Downloaded Remastersys from repos. Remastered with updates (so I don't have to download them any... (3 Replies)
Discussion started by: bambuntu
3 Replies
6. Programming
Hi guys, I want to add a list of SIGNED numbers... but I don't know how to tell the computer to ADD THEM as signed, let me explain further:
when adding 200 + (-100) , it becomes 100, but in asm the computer always add them as unsigned, so I always get the 300. Do I have to add them in a... (4 Replies)
Discussion started by: lamachejo
4 Replies
7. UNIX for Advanced & Expert Users
Hey folks,
not sure whether this or the security board is the right forum. If I failed, please move :)
So here's the problem:
I need to build a Linux environment in which only "signed" processes are allowed to run. When I say signed I don't mean a VeriSign signature like you know it from... (5 Replies)
Discussion started by: disaster
5 Replies
8. Shell Programming and Scripting
Hi All,
I have written the below to add the numbers in a column. Postive numbers are unsigned and negative numbers are signed in the file. After the below cmd I am getting -0.00 , instead of 0.00. Can someone guide me on what I am missing in the cmd.
grep '^L' $FileName| awk -F"|" ' {... (7 Replies)
Discussion started by: gsjdrr
7 Replies
9. UNIX for Dummies Questions & Answers
... and there was absolutely nothing installed except fedora and ssh. I used yum to install vsftp and httpd, both start and ps shows they're running, and yet I can't connect with either of them. Where on earth or in redhat do I begin looking to unravel this one? I've overseen a server before but... (3 Replies)
Discussion started by: Bobby
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have an expression using grep and nawk that captures the ID number of a given Unix process. It gets printed to screen but I don't know how to declare a variable to this returned value!
For example,
ps -ef|grep $project | grep -v grep | nawk '{print $2}'
This returns my number. How... (2 Replies)
Discussion started by: babariba
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)