Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题,如果我就在麦克风前面,我的 6s 上的麦克风只会给我一个输出。我想改变灵敏度,以便它甚至可以从几英尺的距离读取频率。
这就是我初始化 AKMicrophone 的方式:
AKSettings.audioInputEnabled = true mic = AKMicrophone() tracker = AKFrequencyTracker.init(mic) silence = AKBooster(tracker, gain: 0)
尝试在跟踪器之前粘贴助推器:
mic = AKMicrophone() boostedMic = AKBooster(mic, gain: 5) tracker = AKFrequencyTracker.init(boostedMic) silence = AKBooster(tracker, gain: 0)
相应地调整常数“5”。!