If you are using AudioKit and Waveform together, the compiler will report an error of Ambigious use of toFloatChannelData() as both Waveform and AudioKit have an extension on AVAudioFile that do the same thing. I have replaced the name in Waveform's to floatChannelData() -- i'm not sure if this is the best approach as this will probably be a breaking change for folks but I also can't imagine not using waveform without AudioKit.
If you are using
AudioKit
andWaveform
together, the compiler will report an error ofAmbigious use of toFloatChannelData()
as both Waveform and AudioKit have an extension onAVAudioFile
that do the same thing. I have replaced the name in Waveform's tofloatChannelData()
-- i'm not sure if this is the best approach as this will probably be a breaking change for folks but I also can't imagine not using waveform without AudioKit.