[英]AudioKit issue, mic not sensitive enough
I have an issue where the microphone on my 6s will only give me an output if I am right in front of the microphone.我有一个问题,如果我正好在麦克风前面,我 6s 上的麦克风只会给我一个输出。 I'd like to change the sensitivity so that it will read a frequency even from a couple of feet distance.我想更改灵敏度,以便它甚至可以从几英尺的距离读取频率。
This is how I initialize the AKMicrophone:这是我初始化 AKMicrophone 的方式:
AKSettings.audioInputEnabled = true
mic = AKMicrophone()
tracker = AKFrequencyTracker.init(mic)
silence = AKBooster(tracker, gain: 0)
Try sticking a booster before the tracker:尝试在追踪器前贴一个助推器:
mic = AKMicrophone()
boostedMic = AKBooster(mic, gain: 5)
tracker = AKFrequencyTracker.init(boostedMic)
silence = AKBooster(tracker, gain: 0)
Adjust the constant "5" accordingly.相应地调整常数“5”。 HTH!哼!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.