Swift: Sound-Output & Microphone-Input | using AudioKit |
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm using > Xcode Version 9.2 < I'm using > AudioKit Version 4.0.4 < I've written some code you can find below that should be able to play a specific sound (frequency: 500.0HZ) "listen" to the microphone input and calculating the frequency in real time If I'm calling playSound() or receiveSound() separated everything looks fine and is really working as I expected. But calling playSound() and receiveSound() afterwards? Exactly there I got big issues. This is how I'd like to get the code working: SystemClass.playSound() //play sound