Synching two music files to match their bpm in swift

Hi i am new to ios developement and was wondering is there any way in swift we can sync two music files so that their bpm gets matched.

Hi @guneet311, thank you for posting here and welcome to the awesome world of iOS development. I do not know if you can sync two music files so their bpm matches but I believe there is a way to at least obtain the bpm of audio using MediaPlayer. One idea for syncing the files could be to change speed/rate of one of the music files to the other.

Here are a few resources that could help jump start this project.

Apple Documentation for BPM
Calculating time and tempo code example
BPM Analyser Repository

Best,
Gina

1 Like

Thank You so much for the information :blush:

1 Like

This topic was automatically closed after 166 days. New replies are no longer allowed.