     // AudioPlayerの準備
     var format: AVAudioFormat = setAudioFile(tones.first!)
     for i in 0..<SLIT_COUNT {
-      
       let player = AVAudioPlayerNode()
       player.volume = 9.0
       engine.attachNode(player)


  let SLIT_COUNT = 8
  var prevDeg: Double = 0.0
  var slitDegs: Array<Double> = [] // 分割数に応じて360度を当分した角度を保持しておく配列
  
  override func viewDidLoad() {
    super.viewDidLoad()

    beaconManager.delegate = self
    beaconManager.requestAlwaysAuthorization()
    
    // sound
    let count = Double(SLIT_COUNT)
    for i in 0..<SLIT_COUNT {
      playerPoints += [360.0/count*Double(i)]
    }
    
    engine = AVAudioEngine()
