       let audioFileBuffer = AVAudioPCMBuffer(PCMFormat: audioFile.processingFormat, frameCapacity: UInt32(audioFile.length))
       audioFile.readIntoBuffer(audioFileBuffer, error: nil)
       
-      samplerPlayer.volume = 0.0
-      samplerPlayer.play()
-      samplerPlayer.scheduleBuffer(audioFileBuffer, atTime: nil, options:.Loops, completionHandler: nil)
+      longShotPlayer.volume = 0.0
+      longShotPlayer.play()
+      longShotPlayer.scheduleBuffer(audioFileBuffer, atTime: nil, options:.Loops, completionHandler: nil)
       
     default:
       NSLog("Error")

      
      engine.connect(player, to: mixer, format: format)
      
      players += [player]
    }
    
    // playerにオーディオファイルを設定
    
    samplerPlayer = AVAudioPlayerNode()
    samplerPlayer.volume = 0.0
    engine.attachNode(samplerPlayer)
    engine.connect(samplerPlayer, to: mixer, format: format)

    engine.connect(mixer, to: eq, format: format)
    engine.connect(eq, to: delay, format: format)

          
          // Sound
          let audioFile: AVAudioFile = audioFiles[slit_index] as AVAudioFile
          let player: AVAudioPlayerNode = oneShotPlayers[slit_index] as AVAudioPlayerNode
          if player.playing {
            player.stop()
          }
