DAB+ script and infrastructure used for Kanal Plus ensemble in Denmark
From Opendigitalradio
(Difference between revisions)
Revision as of 10:39, 22 September 2011
Here's the script by Ulrik Brinck of Kanal Plus for local ensemble in Denmark
The ensemble consists of 4 DAB+ programmes with DLS.
The hardware setup is made of:
- Intel Core i7-2600 4x3.40Ghz PC running Ubuntu Desktop 11.04, 32 bit version
- 2 AudioScience ASI5042 soundcards
- Ettus USRP1 with WBX daughterboard
File:Danish DAB+ grass roots trial (Kanal Plus).pdf with PC, amplifier, antenna (pics by Niels Dreijer)
Script
#!/bin/sh DABPLUS=crc-dabplus killall CRC-DabMux killall CRC-DabMod killall CRC-Dwap.py killall $DABPLUS killall mbuffer sleep 3 rm -f fifoer/fifo* for id in 0 1 2 3 4 5 6 7 8; do [ -e fifo$id ] || mkfifo fifoer/fifo$id done CRC-DabMux -c 0xE1 -i 0x9101 -L "NivaaDAB" -l "NivaaDAB" \ -F "diverse/testcd.dab" -b 64 -S -i 0x9101 -y 0 -L "Forsoegskanal" -l "Forsoeg" -C \ -F fifoer/fifo1 -k -b 144 -S -i 0x9102 -y 27 -L "Retro-Radio" -l "Retro" -C \ -F fifoer/fifo2 -k -b 144 -S -i 0x9103 -y 10 -L "Kanal Plus 90" -l "Plus 90" -C \ -F fifoer/fifo3 -k -b 88 -S -i 0x9104 -y 9 -L "US Radio" -l "US Radio" -C \ -O fifo:///dev/stdout | \ crc-dabmod -g2 -r3200000 -c128000000 | \ mbuffer -m 32m -P 25 | \ crc-dwap.py -r3200000 -f204640000 -g-14 -u & sleep 3 $DABPLUS -g -i card://hw:3,0,0 -b 144 -d tcpserver://:49102 -p 28 -t dls | mbuffer -m 100k -P 100 > fifoer/fifo1 & $DABPLUS -g -i card://hw:2,0,0 -b 144 -d tcpserver://:49103 -p 28 -t dls | mbuffer -m 100k -P 100 > fifoer/fifo2 & $DABPLUS -g -i card://hw:2,0,3 -b 88 -d tcpserver://:49104 -p 28 -t dls | mbuffer -m 100k -P 100 > fifoer/fifo3 & wait