       backgroundColor: Color4(0,0,0,1), fontName: "Menlo", fontColor: Color4(1,1,1,1))
     boldText = tools.textRenderer("Menlo-Bold")
     super.init(tools: tools, settings: set)
+    
+    innerMarkerAudio = try? AVAudioPlayer(contentsOfURL: NSBundle.mainBundle().URLForResource("inner", withExtension: "wav")!)
+    middleMarkerAudio = try? AVAudioPlayer(contentsOfURL: NSBundle.mainBundle().URLForResource("middle", withExtension: "wav")!)
+    outerMarkerAudio = try? AVAudioPlayer(contentsOfURL: NSBundle.mainBundle().URLForResource("outer", withExtension: "wav")!)
     
     let d : GLfloat = 0.8284271247461902
     // Inner loop

      inner: Color4(r: 1, g: 1, b: 1, a: 1)
    )
    
    let lit : Bool
    // Work out what position in the looped audio we are
    switch(data.LastBeacon.marker) {
    case .Inner:
      let loopCycle = data.LastBeacon.elapsed % 0.5
      lit = loopCycle > 0.375
    case .Middle:
      let loopCycle = data.LastBeacon.elapsed % 0.75
      lit = loopCycle > 0.125 && (loopCycle < 0.25 || loopCycle > 0.625)
    case .Outer:
      let loopCycle = data.LastBeacon.elapsed % 0.25;
      lit = loopCycle > 0.125
    default:
      lit = false
    }
    let cols = (
      outer:  data.LastBeacon.marker == .Outer && lit ?  litMarkerColours.outer : markerColours.outer,
      middle: data.LastBeacon.marker == .Middle && lit ? litMarkerColours.middle : markerColours.middle,

//    data.BeaconBearing = 30
//    data.RunwayHeading = data.Heading

    HandleBeaconSounds()
    
    drawCompass()
    drawNeedleNDB()
    drawCourseNeedle()
