Audiokit FFT comparison

112 views
Skip to first unread message

Ahmet Fatih Aktepe

unread,
Sep 24, 2017, 2:19:40 PM9/24/17
to AudioKit Users Group
Hi all,

I'm very new to Audiokit and trying to experiment some of its functionalities. I want to compare 2 music input, one is recorded and the other one from microphone feed. Recorded will be the base and I want to find differences between recorded one and microphone feed. I wonder if this is possible with Audiokit.

Thanks.

Ahmet Fatih Aktepe

unread,
Sep 25, 2017, 4:51:17 AM9/25/17
to AudioKit Users Group
More correct version of the question is; I want to compare 2 music inputs comparing midi or fft output is the better way?

24 Eylül 2017 Pazar 11:19:40 UTC-7 tarihinde Ahmet Fatih Aktepe yazdı:

Aurelius Prochazka Ph.D.

unread,
Sep 25, 2017, 6:08:31 AM9/25/17
to AudioKit Users Group
Yeah, that's not a trivial task, not sure if there's anything already built in AudioKit that will help you.  All I can do is wish you the best of luck on what sounds like it could be a difficult problem to tackle in a good way.

Aure

Ahmet Fatih Aktepe

unread,
Sep 26, 2017, 3:29:30 PM9/26/17
to AudioKit Users Group
Thanks for the answer anyway :) I've started this as a MS project. Currently working on my own algorithm to do the comparison. One more question about the subject, can I translate a sound(both recorded and microphone feed) to MIDI format with AudioKit?

Thanks,
Fatih.

25 Eylül 2017 Pazartesi 03:08:31 UTC-7 tarihinde Aurelius Prochazka Ph.D. yazdı:

Aurelius Prochazka Ph.D.

unread,
Sep 27, 2017, 3:27:11 AM9/27/17
to AudioKit Users Group
Also not a trivial task. You could use frequency tracker but that won't do chords, and you'd have to do some magical code to know when to stop notes, when to bend, etc.  Likely a very difficult thing to get right.

Michael Holroyd

unread,
Jan 23, 2018, 3:41:43 PM1/23/18
to AudioKit Announcements
If you just want to get the raw FFT data -- hook up an AKFrequencyTracker then go edit AudioKit/Common/Internals/Soundpipe/modules/ptrack.c and inside the ptrack function spit out the contents of spec[4*i] after all the FFT stuff is done. ( inside the loop that looks like for (i = 4*MINBIN;i < (4*(n-2)) && npeak < numpks; i+=4) { )

Best,
  Michael Holroyd
Reply all
Reply to author
Forward
0 new messages