Questions tagged [akamplitudetracker]

2 questions
5
votes
1 answer

AudioKit - How to use AKAmplitudeTracker threshold callback?

AudioKit include a great tool to track signal amplitude: AKAmplitudeTracker This tracker can be init with a thresholdCallback, I suppose that the callback should trigger when the threshold is reach. I'm playing with the MicrophoneAnalysis example…
Thomas Besnehard
  • 2,106
  • 3
  • 25
  • 47
0
votes
1 answer

AKAmplitudeTracker amplitude getting 0.0 using audioKit

I want to get the volume of AKAmplitudeTracker but getting -inf what is wrong with me please help out. AKAudioFile.cleanTempDirectory() AKSettings.audioInputEnabled = true AKSettings.bufferLength = .medium …
Developer
  • 760
  • 3
  • 15