             player.stop()
           }
           
-          // playerにオーディオファイルを設定
+          // playerにオーディオファイルを設定　※ 再生直前にセットしないと再生されない？
           player.scheduleFile(audioFile, atTime: nil, completionHandler: nil)
           
           // 再生開始

          audioFiles += [audioFile]
          
          let player = AVAudioPlayerNode()
          player.volume = 9.0
          engine.attachNode(player)
          engine.connect(player, to: mixer, format: audioFile.processingFormat)
          oneShotPlayers += [player]
          
          if format == nil {

          audioFile.readIntoBuffer(audioFileBuffer, error: nil)
          
          let player = AVAudioPlayerNode()
          engine.attachNode(player)
          engine.connect(player, to: mixer, format: audioFile.processingFormat)
          player.volume = 0.0
          player.play()
          player.scheduleBuffer(audioFileBuffer, atTime: nil, options:.Loops, completionHandler: nil)
          
