WorldDMB GA 2010 Open DAB demonstration

From Opendigitalradio
Revision as of 16:30, 7 July 2011 by Coinchon (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A short demonstration of the creation of a live DAB transmission using a presentation laptop has been performed during the presentation on local DAB broadcasting. It has been done using a average Dell laptop and was consisting of the transmission of multiplex of:

  • Live sound from the laptop microphone
  • Live retransmission of Maxxima webradio
  • Live retransmission of France Inter
  • Live retransmission of SWR3

Here are the setup and scripts used



  • Dell Latitude E6400 laptop (Centrino 2 CPU)
  • USRP1 Universal Software Radio Peripheral with WBX RF daugtherboard (50MHz-2.2GHz)
  • Mini-circuits bandpass filter


  • Ubuntu Linux 10.04
  • Gnuradio 3.3
  • Jack open Audio connection kit
  • arecord (from ALSA utils)
  • Toolame open MPEG Layer II encoder
  • CRC MMBtools open source DAB multiplexer: CRC-DabMux
  • Non blocking buffer: bfr
  • CRC MMBtools open source DAM modulator: CRC-DabMod
  • Baseband USRP1 VHF player


2 scripts were used in parallel, one for the multiplexer/modulator and the other for getting the sound stream and encode them

Script for stream and encode:


arecord -t raw -f S16_LE -c 2 -r 48000 -D jackplug1 |toolame -s 48 -D 4 -b 128 /dev/stdin ./1.ff &
arecord -t raw -f S16_LE -c 2 -r 48000 -D jackplug2 |toolame -s 48 -D 4 -b 128 /dev/stdin ./2.ff &
arecord -t raw -f S16_LE -c 2 -r 48000 -D jackplug3 |toolame -s 48 -D 4 -b 128 /dev/stdin ./3.ff &
arecord -t raw -f S16_LE -c 2 -r 48000 -D jackplug4 |toolame -s 48 -D 4 -b 128 /dev/stdin ./4.ff &

Script for multiplexing, encoding, playout:

CRC-DabMux -L "MyMux"  -A 1.ff -b 128 -i 1 -S -L "LiveMic" -C \
-A 2.ff -b 128 -i 2 -S -L "Maxxima" -C \
-A 3.ff -b 128 -i 3 -S -L "France Inter" -C \
-A 4.ff -b 128 -i 4 -S -L "SWR3" -C \
-O fifo:///dev/stdout |\
CRC-DabMod -f -g1 -r3200000 |\
bfr -p -b 32m -m 8m |\

(bfr is the buffer, is the baseband player)

Startup procedure

  • Start jack audio server using Jack Control (you need to have install jack audio server and tools)
  • Launch the 2 scripts.
  • By default (depending on .asoundrc file) all source will be connected to the laptop microphone
  • Play the streams of Maxxima, France Inter and SWR3 using any player compatible with jack. In our case we used mplayer. See below:
mplayer -ao jack
mplayer -ao jack
mplayer -ao jack
  • Connect the outputs of the different mplayer to the input of the multiplexer using "connectionS" in JACK control
Personal tools