06-29-2009
Got the solution!!!!
Thanks folks!!!!
I used eval print \${$var[violet]} and it is working fine!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to make an associative array to use in a popup_menu on a website. Here is what i have:
foreach $entr ( @entries )
{
$temp_uid = $entr->get_value(uid);
$temp_naam = $entr->get_value(sn);
$s++;
}
This is the popup_menu i want to use it in.
popup_menu(-name=>'modcon',... (4 Replies)
Discussion started by: tine
4 Replies
2. UNIX for Dummies Questions & Answers
Is it possible to say..
myArr=34
myArr=15
? (11 Replies)
Discussion started by: yongho
11 Replies
3. UNIX for Dummies Questions & Answers
About associative nature of awk arrays i'm still confused, not able to understand yet how array element can be accessed based on a string, I got one example at gawk manual to illustrate associative nature of awk arrays, it goes here:
Codeawk '
# Print list of word frequencies
{
for (i = 1;... (3 Replies)
Discussion started by: nervous
3 Replies
4. Shell Programming and Scripting
Hello,
i'm writing a little script that checks a .txt file for a specific ID that came after 9:10 am which outputs it's data to a file LateUsers.txt
once done , it should mention the following:
Number of late users
Number of unique late users
Over all late users percentage
number of... (0 Replies)
Discussion started by: rollyah
0 Replies
5. Programming
if i declare both but don't input any variables what values will the int array and file pointer array have on default, and if i want to reset any of the elements of both arrays to default, should i just set it to 0 or NULL or what? (1 Reply)
Discussion started by: omega666
1 Replies
6. UNIX for Dummies Questions & Answers
I have this piece of code. The first if statement is not working, however the second if statement is working fine.
I have set a value for Srcs to be file.srcs and want to print it.
If no value for Rcvs is set, I get the print statement correctly
hasValue="file.srcs"
if ${hasValue}; then
... (0 Replies)
Discussion started by: kristinu
0 Replies
7. Shell Programming and Scripting
I have the following code, and I am changing it to
#!/bin/bash
hasArgumentCModInfile=0
hasArgumentSrcsInfile=0
hasArgumentRcvsInfile=0
OLDIFS="$IFS"
IFS="|=" # IFS controls splitting. Split on "|" and "=", not whitespace.
set -- $* # Set the positional... (3 Replies)
Discussion started by: kristinu
3 Replies
8. Shell Programming and Scripting
I have an associative array named table
declare -A table
table="fruit"
table="veggie"
table="GT"
table="eminem"
Now say I have a variable returning the value highway
How do I find corresponding value GT ??
(this value that I find (GT in this case) is supposed to be the name of a mysql... (1 Reply)
Discussion started by: leghorn
1 Replies
9. Shell Programming and Scripting
Hi,
I have the following dataset.
A 2 1 272
A 2 2 333
A 2 3 222
A 3 1 222
A 3 2 11
B 1 1 112
B 1 2 998
B 2 1 667
C 1 1 887
C 1 2 887
C 2 1 998
I need to have an associate array based on the first column and generate a auto generated number column in the last column.
Needed output:... (2 Replies)
Discussion started by: mitt
2 Replies
10. Shell Programming and Scripting
Hello together,
i make something wrong... I want an array that contains information to associate it for further processing.
Here is something from my bash... You will know, what I'm trying to do.
I have to point out in advance, that the variable $SYSOS is changing and not as static as in my... (2 Replies)
Discussion started by: Decstasy
2 Replies
LEARN ABOUT DEBIAN
ambdec
AMBDEC(1) General Commands Manual AMBDEC(1)
NAME
ambdec - Ambisonic decoder for first and second order
SYNOPSIS
ambdec [options]
ambdec_cli config_file
DESCRIPTION
This manual page documents briefly the ambdec and ambdec_cli commands.
AmbDec is an Ambisonics decoder for up to 36 speakers. It can be used for both horizontal and full 3-D systems of first, second and third
order. The decoding matrices are fully user-configurable. AmbDec has some advanced features not found on most decoders:
Dual frequency band operation. Optimal Ambisonics reproduction requires a different decoder for low and high frequencies. This is so
mainly because human perception of sound direction uses different mechanisms at low and high frequencies. The crossover filters used in
AmbDec are phase-aligned (the two outputs are exactly in phase at all frequencies). The combined response is equivalent to a first-order
all-pass network, which is very probably inaudible.
Speaker distance compensation. If the speakers are not all at the same distance to the center of the listening area, this must be compen-
sated by including the right delays and gain corrections.
Near-field effect compensation. Ambisonics works by reconstructing the spherical harmonic components of a sound field at the center of the
listening area, using all speakers to synthesize each of them. All non-zero order components show a near-field effect depending on the
ratio wavelength=distance, and increasing for rising order. One example of this is the well known 'proximity effect' of directional micro-
phones ('directional' is equivalent to 'using non-zero order components'). Except in very large installations, where the speaker distances
will be large enough so the listening area is not in the near field, this effect must be compensated for in order to obtain a correct
reconstruction of a sound field.
OPTIONS
ambdec accepts the following command line options:
-h Show summary of options.
-c FILE
Load configuration from FILE.
-p PATH
Load presets from PATH.
-V VOLUME
Set initial volume in dB.
AUTHOR
ambdec was written by Fons Adriaensen <fons@kokkinizita.net>.
This manual page was written by Alessio Treglia <quadrispro@ubuntu.com>, for the Debian project (and may be used by others).
2010/03/14 AMBDEC(1)