当我停止AKOperationGenerator时,我听到了一个小故障。
binauralGenerator = AKOperationGenerator(numberOfChannels: 2) { _ in
let bin = SoundEngineer.binaural(left: Binaural.leftFrequency,
right: Binaural.rightFrequency,
amplitude: Isochronic.amplitude*0.67)
return bin
}
AudioKit.output = binauralGenerator
AudioKit.start()
// This is how I stop
generator.stop()
在iPhone6上运行的AudioKit 4.0.4。