# Make an iPhone ringtone from a song

> Markdown version of https://stella.sh/how/audio/make-ringtone for agents and LLMs.
> Cut a song into an iPhone .m4r ringtone that starts where you want, under 40 seconds and faded out: GarageBand on the phone, or Stella (stella.sh) on your computer.

On the iPhone itself, GarageBand can trim a song and share it as a ringtone (30 seconds at most). From a computer, an iPhone ringtone is a short AAC file named .m4r, up to 40 seconds, synced with Finder on a Mac or the Apple Devices app on Windows. Stella (stella.sh) cut a song to a 30-second .m4r starting exactly at 1:05 with a fade at the end, and said how to get it onto the phone.

- Checked: 13 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 13 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: A ringtone in about 1 minute. Checked afterwards against an answer key written before the run: an .m4r that is really AAC in the MP4 format iPhones use, 30 seconds long, starting at 1:05 of the song (matched against the song's audio), fading out at the end, and the song unchanged. The song is fictitious, synthesised for this run with a quiet verse and a louder chorus from 1:05. The work is sped up 2×.

Video (41 s): https://stella.sh/media/proofs/audio/make-ringtone/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. The song Lanterns is in Music.
- 0:01 The prompt: an iPhone ringtone starting where the chorus comes in at 1:05.
- 0:09 Stella replies: from 1:05, about 30 seconds to stay under the 40-second limit, with a fade-out.
- 0:15 Cutting and saving the ringtone.
- 0:26 Done: a 30-second .m4r from 1:05 to 1:35, with how to put it on the iPhone.

What Stella does:

1. Finds “Juniper Lane - Lanterns” in Music
2. Cuts 30 seconds starting at exactly 1:05, the time you gave, so it stays under the iPhone's 40-second limit
3. Adds a 3-second fade-out so it doesn't stop mid-note
4. Saves it as AAC in the iPhone ringtone format, Juniper Lane - Lanterns (Ringtone).m4r, next to the song, which it leaves unchanged
5. Says that nobody listened to confirm the chorus starts there, and explains how to put it on an iPhone with Finder, iTunes or GarageBand

## The prompt to paste

```text
Make an iPhone ringtone from 'Lanterns' in my Music folder, starting where the chorus comes in at 1:05.
```

## Make it yourself

1. **On the iPhone: GarageBand.** Import the song into a GarageBand project (Loop browser, Files), drag it to the start, trim it so the part you want begins at 0:00 and lasts 30 seconds or less, then go to My Songs, press and hold the project, Share, Ringtone. GarageBand can't open songs bought with copy protection.
2. **On a computer: cut and convert.** With ffmpeg, `ffmpeg -ss 65 -t 30 -i "Lanterns.mp3" -af afade=t=out:st=27:d=3 -c:a aac -b:a 256k -f ipod "Lanterns.m4r"` takes 30 seconds from 1:05, fades the last 3 and writes an iPhone ringtone. Audacity can do the cut and fade, then export M4A that you rename to .m4r.
3. **Mac: sync it with Finder.** Connect the iPhone, select it in the Finder sidebar, and drag the .m4r onto the General tab. It appears under Settings, Sounds & Haptics, Ringtone.
4. **Windows: Apple Devices or iTunes.** Connect the iPhone, open the Apple Devices app (or iTunes on older Windows), select the phone and drag the .m4r into its Tones section.
5. **Android is simpler.** Android plays MP3 ringtones. Copy the cut MP3 into the phone's Ringtones folder, then pick it in Settings, Sound, Phone ringtone.

## Where Stella stops

- Stella makes the file; it can't reach your phone. Putting it on the iPhone needs Finder, the Apple Devices app or GarageBand, as above.
- It cut at the time you gave and didn't listen for the chorus. If the start is a little off, say how much to move it.
- Only use songs you own. Copy-protected tracks can't be cut.
- The song's name and tags go to the AI model you use in Stella; the audio is cut on your computer. Recorded on Linux with ffmpeg already there; on Mac or Windows Stella would usually download ffmpeg first.

## Questions

**How long can an iPhone ringtone be?**
Up to 40 seconds for ringtones synced from a computer; GarageBand on the phone limits you to 30. Text tones should be much shorter.

**Can I make a ringtone without a computer?**
Yes, with GarageBand on the iPhone, as above. It takes more taps, and you trim by dragging rather than typing a time.

**What is an .m4r file?**
AAC audio in an MP4 container, the same as .m4a, with an extension iPhones recognise as a ringtone. Renaming an MP3 to .m4r doesn't work.

**Can it change the song in other ways?**
Yes: [make the volume even](https://stella.sh/how/audio/normalize-audio-volume) across a playlist, or [change the key of a song](https://stella.sh/how/audio/change-key-of-song) to sing along.

**Is Stella free for this?**
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

**Can I control what Stella changes on my computer?**
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Sources: [Apple: Create a custom ringtone on iPhone with GarageBand](https://support.apple.com/en-us/120692), [ffmpeg documentation](https://ffmpeg.org/ffmpeg.html).

## Related problems

- [Convert M4A to MP3, keeping the same names](https://stella.sh/how/audio/convert-m4a-to-mp3.md)
- [Make all your songs the same volume](https://stella.sh/how/audio/normalize-audio-volume.md)
- [Make a GIF from a video clip](https://stella.sh/how/video/make-gif-from-video.md)
- [Edit MP3 tags in bulk (and add the album art)](https://stella.sh/how/audio/edit-mp3-tags-in-bulk.md)
- [Convert FLAC to MP3, keeping the song names and album art](https://stella.sh/how/audio/convert-flac-to-mp3.md)
- [Transcribe voice memos to text](https://stella.sh/how/audio/transcribe-voice-memos-to-text.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
