Example of live re-transmission on DAB of an Internet Radio radio station

From Opendigitalradio
Revision as of 23:10, 27 November 2009 by Coinchon (Talk | contribs)

Jump to: navigation, search

In this example the mp3 stream from an Internet radio station is taken, decoded, re-encoded in MPEG Layer II, multiplexed, modulated and transmitted in DAB. All this is done live using unix pipe to create the chain. (MMbtools runs on linux)

mpg123 -r 48000 -s http://fbpc5.epfl.ch:8000/fb_128 |toolame -s 48 -D 4 -b 128 /dev/stdin /dev/stdout |\
CRC-DabMux -A /dev/stdin -b 128 -i 1 -p 3 -S -L "Frequence Banane" -C -O fifo:///dev/stdout |CRC-DabMod -f -g1 -r3200000 |CRC-Dwap.py -r3200000 -f-222064000 -u

Commands:

  • mpg123: mp3 decoder for the Internet stream, resampling at 48kHz (-r)
  • toolame: MPEG Layer II encoder. 48kHz sampling, bitrate 128kbps, 4 bytes per MPEG frame for DAB program associated data (PAD)
  • CRC-DabMux: DAB multiplexer
    • Audio channel declaration (-A)
    • bitrate 128kbit/s (-b 128)
    • DAB subchannel ID 1 (-i 1)
    • Error Protection Level 3 (-p 3)
    • Service declaration (-S) with Program label "Frequence Banane" (-L)
  • CRC-DABMod: OFDM Modulator, output sampling frequency of 3.2 MHz
  • CRC-Dwap.py: baseband signal player (based on gnuradio) for the USRP, output Frequency of 222.064MHz (DAB Channel 11D)


This stream is working fine on a laptop with a 2.16GHz Intel Core Duo processor.


Dab1.jpg
Dab2.jpg
Personal tools