Setting a song as a ringtone on your iPhone is easier than you think. With just a few simple steps, you can create a custom ringtone from any type of music file, including M4A and MP3.To get started, you'll need to save the music file to your computer. Once you've done that, open the Settings app on your iPhone and select Sounds & Haptics. On the next screen, select the Standard Ringtone option and this will set the song clip as a custom ringtone on the iPhone.
If you're using macOS Catalina or later, you can use the Music app on your Mac to create the ringtone. When you open the Music app, select the song you want to use as a ringtone and click File > Convert > Create AAC Version. This will create an AAC version of the song that you can use as a ringtone.Once you've created the AAC version of the song, right-click it and select Get Info. On the next screen, click Options and set the Start and Stop times for the song clip.
This will determine how long your custom ringtone will be.When you're done setting the Start and Stop times, click OK and then right-click the song again. This time, select Create AAC Version and this will create a new version of the song with your custom Start and Stop times.Now that you have your custom ringtone, open iTunes on your Mac and drag it into the Tones section of iTunes. Then connect your iPhone to your Mac using a USB cable and sync it with iTunes. When the sync is complete, open Settings on your iPhone and select Sounds & Haptics.
As you can see in the image above, you can also use the song as a custom ringtone, assign the song to a contact, or tap Done to add the custom ringtone to the list of other ringtones on your iPhone.