Sync LED lights to music from Spotify or Apple Music
You want your LED strip to pulse with the song playing on Spotify or Apple Music. There are two ways to get there: the microphone built into some LED controllers, and the microphone in your phone. Neither one hears Spotify directly. Both listen to the music playing out loud in the room. Here’s why, and how to set up each.
Why your lights can’t hear Spotify directly
Apple sandboxes every third-party app on an iPhone, to keep it from gathering information stored by other apps. In our reading of how iOS works, that also means a lighting app can’t simply tap into the sound Spotify or Apple Music is playing. And Spotify doesn’t hand it over either:
- Spotify’s developer kit for iPhone apps lets another app send the Spotify app commands like play, pause and skip. The music itself keeps playing inside Spotify.
- Spotify’s Web API can give apps an analysis of each song, with its tempo, beats and sections, but since November 27, 2024 new apps can’t use it.
Some light apps, such as Lotus Lantern, have a Music tab with a player of their own: previous, play/pause, next and a song list. It is separate from Spotify and Apple Music.
So AnyGlow, like the Lotus Lantern and Govee Home apps, listens through a microphone, just like a controller with a built-in mic. That also means an app that listens through a microphone can’t follow music in your headphones or AirPods: the lights react only to sound the microphone can hear.
Option 1: the controller’s own microphone
Many LED controllers have a small microphone of their own. The light then reacts to sound by itself: the app only switches the mode on and sets it up, and the controller does the listening. You’ll find a mic in controllers like these:
- ELK-BLEDOM lights sold with Lotus Lantern, duoCo Strip and similar apps, though not every ELK controller has one (more in ELK-BLEDOM: what it is and how to control it);
- Magic Home controllers such as the “Controller RGB with MIC” and several addressable models;
- Govee lights with a built-in mic;
- some Keepsmile and BanlanX controllers.
Check the box or the product listing for a built-in mic. If it doesn’t say, switch the app to the controller’s mic and play music or clap right next to the box. A controller without a mic won’t react. Not sure which app your light uses? Which app does my LED strip use? tells you from its Bluetooth name.
The Lotus Lantern manual shows where the setting lives:
- Open the Mic tab at the bottom of the screen.
- Choose External MIC. That’s the microphone on the controller. (Phone MIC uses your phone’s instead.)
- Pick one of the four rhythm styles: Classic, Soft, Dynamic or Disco.
- Move the sensitivity slider until the lights follow the beat but ignore people talking.
The manual shows an older version of the app, so the names may differ a little in yours. Govee says its Music Mode can listen through your phone’s microphone or the light’s built-in mic, so look for the same choice in the Govee Home app.
What the controller’s mic does well:
- It runs without your phone. Once it’s on, you can lock the phone, close the app or leave the room.
- It reacts to any music it can hear, from any speaker or the TV.
Where it falls short:
- It hears what’s near the controller box, and the box may be tucked behind a TV or under a desk. If the lights barely react, move the box toward the speaker, or the speaker toward the box.
- You choose from the styles stored in the controller. An ELK controller has four.
Option 2: your phone’s microphone
This works with any light, mic or not, as long as its app has a music mode that uses the phone’s mic. The phone listens, finds the beat and sends the light a stream of colors over Bluetooth or Wi-Fi. In Lotus Lantern it’s the same Mic tab, with Phone MIC chosen.
What the phone’s mic does well:
- You can put the phone right next to the speaker.
- The app decides the colors, and depending on the app, one phone can drive several lights to the same beat.
Where it falls short:
- The app has to keep running, and the phone has to stay where it can hear the music.
- Every color change goes over the air, and cheap controllers take only so many updates a second. Open-source notes on one Lotus Lamp X lamp put its safe rate at about 10 commands a second. A light that stutters may be getting more updates than it can take.
- Some apps stop your music the moment they start listening. iOS stops other audio when an app starts using sound, unless that app asks to mix with it. If that happens, play the music on another device or speaker.
Tips for either way
- Play it out loud. Music in headphones or AirPods is silent to every microphone in the room.
- Start the sensitivity in the middle. Raise it for quiet music, lower it if the lights twitch when someone talks.
- Mind the flashing. Flashing light can trigger seizures in people with photosensitive seizure disorders, so they should avoid light that flashes to music altogether. The web’s accessibility guidelines (WCAG) allow a web page no more than three flashes in any one second, but that is a rule for web pages, not a promise that any light show is safe.
Which one should you use?
| Controller’s mic | Phone’s mic | |
|---|---|---|
| Listens | Next to the controller box | Wherever the phone is |
| Needs the phone | Only to switch it on | The whole time |
| Follows | Any music playing out loud | Any music playing out loud |
| Patterns | The styles stored in the controller | Whatever the app offers |
| Good for | Mood light while the phone is elsewhere | A speaker next to you, several lights in step |
Music mode in AnyGlow
AnyGlow, our iPhone app, does both. If your controller has a mic AnyGlow supports, the light’s screen has a Mic tab for it, with the controller’s own settings, free for up to 5 lights. Music mode is a Pro feature and works the phone’s way: it listens through the iPhone’s microphone, so it follows Spotify, Apple Music, YouTube or a record player, as long as the music plays out loud. Music playing on the same iPhone keeps playing while it listens.
- Four styles. Calm keeps one color and lets the bass gently raise and lower its brightness, with no flash on the beat. Pulse flashes one color on each beat. Spectrum blends three colors, one each for the bass, the mids and the treble. Beat hop jumps to a new color on each beat.
- Colors. Sunset, Ocean or Neon, or One color… for a color you pick.
- Sensitivity. Turn it up for quiet music, down if the lights jump at every sound.
- Limit flashing. On by default. It ignores any beat that comes less than a third of a second after the last one, so beat flashes stay at three a second or fewer, and it smooths the glow between beats. The Calm style doesn’t flash on the beat at all.
- Nothing is recorded. The sound is analyzed on your iPhone as it plays. AnyGlow never records it, stores it or sends it anywhere, and uses the microphone only while music mode is running.
Music mode runs while AnyGlow is open, and keeps the screen awake meanwhile. When you tap Stop or leave the app, each light goes back to its last steady color, and a light that was off turns off again. Without Pro, Preview 30 seconds (free) lets you try it three times a day. Pro is one purchase, never a subscription ($7.99 in the US; local prices vary).
Which lights can follow it:
- Every Bluetooth and Wi-Fi light you’ve added, several at once, or a whole group.
- Single color (dimmer) lights follow the music in brightness only, since they have no color to change.
- Lights whose Bluetooth name starts with IOTB show up dimmed: they change color too slowly to follow music.
- Remote-only lights, controlled through an infrared bridge, and Apple Home lights aren’t offered.
AnyGlow sends each light 12 updates a second, or fewer when its controller can’t take that many. If a light still stutters, lower its rate in the light’s screen under Light settings › Music update rate, from 5 to 20 a second.
Sources
- Apple: Apple Platform Security, Security of runtime process in iOS, iPadOS and visionOS (checked November 27, 2026)
- Apple Developer: AVAudioSession mixWithOthers (checked November 27, 2026)
- Spotify: Spotify iOS SDK, on GitHub (checked November 27, 2026)
- Spotify for Developers: Introducing some changes to our Web API, November 27, 2024 (checked November 27, 2026)
- Spotify for Developers: Get Track’s Audio Analysis (checked November 27, 2026)
- LotusLantern APP Manual, a product document hosted by Lowe’s (checked November 27, 2026)
- Govee: Govee Home App (checked November 27, 2026)
- Home Assistant: Magic Home integration (checked November 27, 2026)
- wporter82: Lotus Lamp X protocol notes for the MELK-OA10 lamp (checked November 27, 2026)
- W3C: Understanding Success Criterion 2.3.1, Three Flashes or Below Threshold (checked November 27, 2026)