       @people[id] = new CheckinPerson($("#person_#{id}"))
     $('#add-a-guest').click(@addGuest)
     $('.checkin-print .btn').click(@print)
-    @sp = new SonicProtocol()
-    @sp.listen()
+    if SonicProtocol.isSupported()
+      @sp = new SonicProtocol()
+      @sp.listen()
     @
 
   selectPerson: (e) =>

    )
    ssocket.send message.split('').join('.')

window.checkin = new Checkin().render()

class SonicProtocol

  @isSupported: ->
    window.webkitAudioContext?

  constructor: () ->
    @audioContext = new webkitAudioContext();
    @alpha = '0123456789.';
