aboutsummaryrefslogtreecommitdiffstats
path: root/examplesite/configuration.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examplesite/configuration.sh')
-rw-r--r--examplesite/configuration.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/examplesite/configuration.sh b/examplesite/configuration.sh
new file mode 100644
index 0000000..9ca0942
--- /dev/null
+++ b/examplesite/configuration.sh
@@ -0,0 +1,14 @@
+# Configuration file for the encoder scripts
+
+all_radios=(
+ "radio1"
+ "radio2" )
+
+# for each radio, write here the full encoder command.
+# encode-jack needs:
+# URL ID dabmux-URL [amplitude correction]
+radios[radio1]="./encode-jack.sh http://radio1streamurl.example.com radio1 tcp://localhost:9000"
+
+# Attenuate radio2 by 3dB
+radios[radio2]="./encode-jack.sh http://radio2streamurl.example.com radio2 tcp://localhost:9001 -3"
+