How to keep time(metronome)?

Hi all,

I am trying to create a metronome/tuner app(first app btw), working on the metronome part first. I have some Java experience and am new to Swift. I have gone through the how to build an app series on Youtube.

I’ve read through this: https://codewithchris.com/avaudioplayer-tutorial/ so I understand how to play a sound, just not how to play it repetitively and be able to change the bpm.

So I looked online and found this page: https://musicalogic.wordpress.com/2016/01/17/a-very-accurate-ios-metronome-based-on-the-amazing-audio-engine-and-pure-data/.

Once I got here, I just got confused. What are The Amazing Audio Engine (TAAE), Pure Data (PD), and libPD? Do I need to learn these in order to create a metronome? If not, what would be the best way?

Thanks for any help anybody can give.

Those look like 3rd papery libraries you can import into your app. Rather than build it from scratch