Group Group Group Group Group Group Group Group Group

Synching two music files to match their bpm in swift


#1

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.


#2

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


#4

Thank You so much for the information :blush: