CRC
March 8, 2012
                 Open Broadcasting
                     Platforms
Pascal Charest




                               1
Background:
Mobile Multimedia Broadcasting
            Projects


                                 2
New Applications for Radio
       Radio Technologies (AM, FM, DAB, ..)
                        =
                     Mobile

      Goal : explore, demonstrate, innovate, ...
          Mobile multimedia applications

       Methodology: Prototypes (not products)
        integration of system building blocks
        re-use, remix, tweak, develop, ... buy

                                                   3
Problematic
Commercial equipment and mobile handsets
NOT optimal for playing around (R&D)

- Closed, expensive, NDAs, ...
- MNOs (used to?) control handsets functionality
- Can’t easily modify functionality
- ...

Instead: Generic HW + Free/Libre OSS

                                                   4
Software + Generic HW
       CRC-mmbTools
        DAB Transmitter      OpenBTS
                          GSM Base Station




USRP Oscilloscope
                             ???
   Test System




                                             5
The Software Advantage
●
  Can be changed, fixed, enhanced... easily
●
  Can be copied at almost no cost
●
  Can be distributed at almost no cost
●
  Functionality can be enhanced after HW has been
  produced, distributed: upgrades. ...




                                                    6
Defining Free Software
●
  As in free beer or as in free speech?
●
  You are free to do what you want with it... once
  you've paid for it !
●
  Executable software available at no cost with limited
  or full functionality: freeware, shareware
●
  Free open source: license limits redistribution
●
  Free libre open open source (FLOSS): copyleft (GPL)
●
  Free open source BSD: free to do anything
●
  WARNING: Software Patents = Legal Gray Zone


                                                          7
CRC-mmbTools Timeline
●
  2000-2006: Mains tools developed
●
  2006: IBC demo DAB, DRM, DMB (USRP)
●
  2007: First live CD released (freeware)
●
  2008: GPL CRC-DABMUX, CRC-DABMOD, …
●
  2009: Demo EBU Village IBC, Android DAB
●
  2010: NAB demo Live CD FM tx + FM hybrid app
●
  2011: FM-RDS Android Library, FM TwoO
●
  2012: NAB???



                                                 8
End-to-end DAB tool chain




                            9
Transmitter and receiver
      TRANSMITTER                  “Open” Receivers
                                      since 2007
 Integrated GNU/Linux Open
 Source DAB transmitter
 with USRP since 2006




                             2007         2008
                             GNU/Linux    Android 1.6
                             FreeRunner   Google G1
                             USB DAB Rx   DAB over Wifi


                                                          10
CRC-mmbTools Live CD
●
  Free
●
  “One-click” transmitter
●
  CRC-DABMUX
●
  CRC-DABMOD
●
  Pre-encoded content:
   DAB, DAB+, DLS,
   MOT, Slideshow,
   DMB, …
●
  Installable



                            11
Testing in the “Cloud” CRC Web Appliances


                       ●
                         First DAB+ encoder
                       ●
                         Upload .mp3
                       ●
                         Get .ETI
                       ●
                         Playback with CRC-
                         EtiStreamer
                       ●
                         Reference encoder,
                         compliance, ...



                                              12
Building Communities
     Around OSS


                       13
RAI + Rai Way: TPEG




CRC Openmokast




                      14
Total Broadcast Consultants

                              ●
                                Experimental license
                              ●
                                Since April 2012
                              ●
                                Dedicated lines, wireless links
                              ●
                                11 DAB and DAB+ services
                              ●
                                Internet mp3 audio streams

                              ●
                                Barix Exstreamers (mp3 decoding)
                              ●
                                CRC-DABPLUS
                              ●
                                CRC-DABMUX
                              ●
                                Farsite ETI Interface
                              ●
                                UBS Modulator
                              ●
                                SFN, 2 transmitters: 28dBw, 15dBw
Coverage in Dublin, Ireland

                                                                    15
Workshop EBU Radio Week 2011




                     10 DAB multiplexes in a room!



                                                     16
Workshop EBU Radio Week 2012




                               17
DAB+ during the EBU Radio Week 2012

●
    Experimental license
●
    100W ERP
●
    9 DAB+ services
●
    Internet mp3 audio streams
●
    20.000 Euros




       Src: opendigitalradio.org   Coverage at EBU, Geneva
                                                             18
Kanal Plus – EBU Radio Summit 2012




      Src: http://www.slideshare.net/UlrBri/120215-brinck-kanalplusdenmark
                                                                             19
FM Projects



              20
FM Project Objectives

Demonstrate new potential uses for FM-RDS
 Public Alerting to mobile devices

 Hybrid Radio: FM Audio + Mobile Internet Enhancements

 Radio Tagging




Why?
 FM already inside many smart phones

 New devices available: iPod Nano 5 (2009) ... iPhone ?

 Rumours of an FM API in Android 2.2 (May 2010)




Challenges
 US Mobile Network Operators disable FM function in handsets

 Closed APIs

 Reverse engineering


                                                                21
Early mobile developments (2002):
Reaching Portable Devices


DAB
Radio
Signal




                                           - iPaq + Wifi
                                           - Java Widget
         CRC Concept: Broadcast Hotspot    - DAB Audio streaming
         Linux embedded
         CRC Receiver Manager Software
         Receives DAB, forward over Wifi
         PC-104, Geode

                                                                   22
FM-RDS Tx/Rx Test Platform

   Tx/Rx platform to
    experiment with FM-RDS
     Hardware (generic and cheap)
       Laptop

       USRP with basic TX and basic RX

        daughter boards
     Software

       GNURadio version 3.2.2

       GNURadio Companion 3.2.2

       gr-rds (to enable RDS)




   Built from free software


                                          23
FM-RDS Tx/Rx Software

   GNURadio FM-RDS applications




                                   24
PC        Development
                  Platform
                     ODA Rx on G1
Rx
                                      PC

                                     USRP

                                     Tx FM

                                     Rx FM
G1
             Tx
                                     USRP

                                      PC

                                     WiFi

                                      G1
     USRP

                                           25
FM/RDS Library on Windows Mobile

   2009-2010
    App. for HTC Touch Pro
     Windows Mobile
      (closed platform)
     FM-RDS chip

      (no official API)
     Developed RDS decoder

      (rdslib)

       Presented at NAB 2010
                                   Copyright: HTC




                                                    26
FM/RDS Library ported to Android

   2010 (After NAB)
    App. for T-Mobile G1
     Android
      (open platform)
     FM-RDS chip

      (no! → RDS over WiFi)
     Developed FM-RDS app.

      (Support for ODAs)
      (Using USRP + PC)


   Ready for Android handset      Copyright: HTC

    with FM-RDS chip.

                                                    27
Low Level Access to FM on Samsung Galaxy S

   Q4 2010
    New phone:
     Android
      (Great! It's the platform we have
      selected earlier)
     FM-RDS chip

      (yes! But no API)
     Developed an API

      (Silicon Labs fmsi4709)
     Enhanced the app

       RDS Audio Volume Region            Copyright: Samsung
       GUI Seek




                                                               28
CRC FM TwoO App




                  29
FM TwoO Overview
   Released in February 2011 on Android Market
   Pronounce: Two "O", like in Web 2.0
   Samsung Galaxy S
   Demo/Testing Application
   First FM App on Android Market
   +50k downloads to date
   Test mode (RDS via Wifi)
   RT+ Decoding
   RadioDNS: RadioVIS/EPG
   Distribute free library available




                                                  30
FM TwoO vs Samsung Stock FM App




 src: mmbtools.crc.ca




                                  31
FM TwoO Compatibility

   Galaxy S Then: YES
   Galaxy TAB: NO
   Nexus S: NO
   5 Galaxy S US models: NO?
   Galaxy S 2: root

   Galaxy S Now: ROOT




                                32
FM Driver Disabled

•Since new firmware release May 2011
•New permissions to FM radio driver
•Phone must be rooted for full TwoO functionality




                                                    33
FM TwoO UI

   RadioVIS
       A RadioDNS-based application

                            From FM-RDS
                            - RT/RT+
                            - PS
                            - PI
                            - Audio

Hybrid Radio

                            From Internet
                            - Image
                            - Text




                                            34
Our Android Projects
Openmokast                                       FM TwoO




                         2010
2008                     Android 2.2
Android 1.6              Samsung Galaxy S
Google G1                First FM RDS App on the Android Market
DAB/RDS over Wifi        FM RDS Open Data Applications
CELT audio decoder       Hybrid Radio
MOT Slideshow decoder    Public Alerting

                                                              35
Software Projects Overview



                             36
37
Thanks - The MMB Team !
  Special thanks to François Lefebvre and Roy Kyrillos
  for their great support in preparing this presentation.




                                                            38

Open Broadcasting Platforms

  • 1.
    CRC March 8, 2012 Open Broadcasting Platforms Pascal Charest 1
  • 2.
  • 3.
    New Applications forRadio Radio Technologies (AM, FM, DAB, ..) = Mobile Goal : explore, demonstrate, innovate, ... Mobile multimedia applications Methodology: Prototypes (not products) integration of system building blocks re-use, remix, tweak, develop, ... buy 3
  • 4.
    Problematic Commercial equipment andmobile handsets NOT optimal for playing around (R&D) - Closed, expensive, NDAs, ... - MNOs (used to?) control handsets functionality - Can’t easily modify functionality - ... Instead: Generic HW + Free/Libre OSS 4
  • 5.
    Software + GenericHW CRC-mmbTools DAB Transmitter OpenBTS GSM Base Station USRP Oscilloscope ??? Test System 5
  • 6.
    The Software Advantage ● Can be changed, fixed, enhanced... easily ● Can be copied at almost no cost ● Can be distributed at almost no cost ● Functionality can be enhanced after HW has been produced, distributed: upgrades. ... 6
  • 7.
    Defining Free Software ● As in free beer or as in free speech? ● You are free to do what you want with it... once you've paid for it ! ● Executable software available at no cost with limited or full functionality: freeware, shareware ● Free open source: license limits redistribution ● Free libre open open source (FLOSS): copyleft (GPL) ● Free open source BSD: free to do anything ● WARNING: Software Patents = Legal Gray Zone 7
  • 8.
    CRC-mmbTools Timeline ● 2000-2006: Mains tools developed ● 2006: IBC demo DAB, DRM, DMB (USRP) ● 2007: First live CD released (freeware) ● 2008: GPL CRC-DABMUX, CRC-DABMOD, … ● 2009: Demo EBU Village IBC, Android DAB ● 2010: NAB demo Live CD FM tx + FM hybrid app ● 2011: FM-RDS Android Library, FM TwoO ● 2012: NAB??? 8
  • 9.
  • 10.
    Transmitter and receiver TRANSMITTER “Open” Receivers since 2007 Integrated GNU/Linux Open Source DAB transmitter with USRP since 2006 2007 2008 GNU/Linux Android 1.6 FreeRunner Google G1 USB DAB Rx DAB over Wifi 10
  • 11.
    CRC-mmbTools Live CD ● Free ● “One-click” transmitter ● CRC-DABMUX ● CRC-DABMOD ● Pre-encoded content: DAB, DAB+, DLS, MOT, Slideshow, DMB, … ● Installable 11
  • 12.
    Testing in the“Cloud” CRC Web Appliances ● First DAB+ encoder ● Upload .mp3 ● Get .ETI ● Playback with CRC- EtiStreamer ● Reference encoder, compliance, ... 12
  • 13.
    Building Communities Around OSS 13
  • 14.
    RAI + RaiWay: TPEG CRC Openmokast 14
  • 15.
    Total Broadcast Consultants ● Experimental license ● Since April 2012 ● Dedicated lines, wireless links ● 11 DAB and DAB+ services ● Internet mp3 audio streams ● Barix Exstreamers (mp3 decoding) ● CRC-DABPLUS ● CRC-DABMUX ● Farsite ETI Interface ● UBS Modulator ● SFN, 2 transmitters: 28dBw, 15dBw Coverage in Dublin, Ireland 15
  • 16.
    Workshop EBU RadioWeek 2011 10 DAB multiplexes in a room! 16
  • 17.
    Workshop EBU RadioWeek 2012 17
  • 18.
    DAB+ during theEBU Radio Week 2012 ● Experimental license ● 100W ERP ● 9 DAB+ services ● Internet mp3 audio streams ● 20.000 Euros Src: opendigitalradio.org Coverage at EBU, Geneva 18
  • 19.
    Kanal Plus –EBU Radio Summit 2012 Src: http://www.slideshare.net/UlrBri/120215-brinck-kanalplusdenmark 19
  • 20.
  • 21.
    FM Project Objectives Demonstratenew potential uses for FM-RDS  Public Alerting to mobile devices  Hybrid Radio: FM Audio + Mobile Internet Enhancements  Radio Tagging Why?  FM already inside many smart phones  New devices available: iPod Nano 5 (2009) ... iPhone ?  Rumours of an FM API in Android 2.2 (May 2010) Challenges  US Mobile Network Operators disable FM function in handsets  Closed APIs  Reverse engineering 21
  • 22.
    Early mobile developments(2002): Reaching Portable Devices DAB Radio Signal - iPaq + Wifi - Java Widget CRC Concept: Broadcast Hotspot - DAB Audio streaming Linux embedded CRC Receiver Manager Software Receives DAB, forward over Wifi PC-104, Geode 22
  • 23.
    FM-RDS Tx/Rx TestPlatform  Tx/Rx platform to experiment with FM-RDS  Hardware (generic and cheap)  Laptop  USRP with basic TX and basic RX daughter boards  Software  GNURadio version 3.2.2  GNURadio Companion 3.2.2  gr-rds (to enable RDS)  Built from free software 23
  • 24.
    FM-RDS Tx/Rx Software  GNURadio FM-RDS applications 24
  • 25.
    PC Development Platform  ODA Rx on G1 Rx PC USRP Tx FM Rx FM G1 Tx USRP PC WiFi G1 USRP 25
  • 26.
    FM/RDS Library onWindows Mobile  2009-2010 App. for HTC Touch Pro  Windows Mobile (closed platform)  FM-RDS chip (no official API)  Developed RDS decoder (rdslib)  Presented at NAB 2010 Copyright: HTC 26
  • 27.
    FM/RDS Library portedto Android  2010 (After NAB) App. for T-Mobile G1  Android (open platform)  FM-RDS chip (no! → RDS over WiFi)  Developed FM-RDS app. (Support for ODAs) (Using USRP + PC)  Ready for Android handset Copyright: HTC with FM-RDS chip. 27
  • 28.
    Low Level Accessto FM on Samsung Galaxy S  Q4 2010 New phone:  Android (Great! It's the platform we have selected earlier)  FM-RDS chip (yes! But no API)  Developed an API (Silicon Labs fmsi4709)  Enhanced the app RDS Audio Volume Region Copyright: Samsung GUI Seek 28
  • 29.
  • 30.
    FM TwoO Overview  Released in February 2011 on Android Market  Pronounce: Two "O", like in Web 2.0  Samsung Galaxy S  Demo/Testing Application  First FM App on Android Market  +50k downloads to date  Test mode (RDS via Wifi)  RT+ Decoding  RadioDNS: RadioVIS/EPG  Distribute free library available 30
  • 31.
    FM TwoO vsSamsung Stock FM App src: mmbtools.crc.ca 31
  • 32.
    FM TwoO Compatibility  Galaxy S Then: YES  Galaxy TAB: NO  Nexus S: NO  5 Galaxy S US models: NO?  Galaxy S 2: root  Galaxy S Now: ROOT 32
  • 33.
    FM Driver Disabled •Sincenew firmware release May 2011 •New permissions to FM radio driver •Phone must be rooted for full TwoO functionality 33
  • 34.
    FM TwoO UI  RadioVIS  A RadioDNS-based application From FM-RDS - RT/RT+ - PS - PI - Audio Hybrid Radio From Internet - Image - Text 34
  • 35.
    Our Android Projects Openmokast FM TwoO 2010 2008 Android 2.2 Android 1.6 Samsung Galaxy S Google G1 First FM RDS App on the Android Market DAB/RDS over Wifi FM RDS Open Data Applications CELT audio decoder Hybrid Radio MOT Slideshow decoder Public Alerting 35
  • 36.
  • 37.
  • 38.
    Thanks - TheMMB Team ! Special thanks to François Lefebvre and Roy Kyrillos for their great support in preparing this presentation. 38