-
Re: Store file on app and compare it with a recorded file.
eskimo Feb 1, 2017 4:31 AM (in response to McMatt_)There’s a bunch of parts to this but the key component is DSP Magic™. Comparing two sounds to see how similar they are is a very specialist technical field. iOS certainly does not provide APIs for that. You’ll have to write (or acquire) the code to do it. It’s possible that someone here has some specific experience to share but, if not, you’re going to have to research this independently.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: Store file on app and compare it with a recorded file.
McMatt_ Feb 1, 2017 2:31 PM (in response to eskimo)I researched a little and it seems that getting the fft of a file seems to be the quickest option to try out. What is the best way to do this in Swift? I am a javascript developer and have not messed with swift.
-
Re: Store file on app and compare it with a recorded file.
eskimo Feb 1, 2017 3:03 PM (in response to McMatt_)Apple does provide Fourier tranform APIs as part of the Accelerate framework. Specifically, you’ll want to look at the vDSP subsystem. It’s possible to call these APIs from Swift but, as they’re low-level C APIs, it’s not particularly pleasant. Moreover, there’s a big gap between a working Fourier transform and an audio comparison library.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
-