@IBAction func disableDecimatedTapped(sender: UIButton) {
NSLog("disableDecimatedTapped:")
/* try 1
engine.stop()
engine.detachNode(distortionA)
player.scheduleBuffer(buffer, atTime: nil, options: AVAudioPlayerNodeBufferOptions.Loops, completionHandler: nil)
engine.connect(player, to: distortionB, format: buffer.format)
engine.connect(distortionB, to: engine.mainMixerNode, format: buffer.format)
engine.prepare()
try! engine.start()
player.play()
*/
// try 2
engine.disconnectNodeOutput(distortionA)
engine.connect(player, to: distortionB, format: buffer.format)
engine.stop()
engine.detachNode(distortionA)
try! engine.start()
player.play()
}