How Does MoodLight Detect Music and Let You Share It With Friends?

Updated

MoodLight's music detection comes from its Mood Detector, a toggle on the main page that listens through your device's microphone and drives the on-screen colors in response to sound. To use it, you turn the detector on, grant the browser microphone permission when prompted, then adjust colors, speed, and brightness until the light reacts the way you want. Sharing works by sending the page to friends rather than exporting a file — they open the same site and run their own session. The catch worth knowing up front: the page itself warns that anyone sensitive to flashing lights, or with photosensitive epilepsy, should not use the application.

Turning on music detection

The Mood Detector is a simple on/off control on the MoodLight page. The practical sequence is:

  1. Open moodlight.org in your browser.
  2. Click Enable Mood Detector.
  3. When the browser asks for microphone access, allow it. Without that permission the detector has no audio input and the light will not respond to sound.
  4. Play music near your device — through speakers, another phone, or the same computer — and watch the colors shift with the audio.

A few things follow from how this works:

  • The microphone is the input, not the audio file. MoodLight reacts to what the mic hears, so room noise, conversation, and speaker volume all affect the result. A quiet room with the music source close to the mic gives the cleanest response.
  • Your system's input settings matter. If the wrong microphone is selected at the OS level, or the input volume is muted, the detector will appear to do nothing.
  • Full screen is optional but recommended. The page notes that pressing F11 switches to full screen, which makes the effect read as room lighting rather than a browser tab.

Adjusting the look before you share

Music detection only controls when the colors change. The appearance comes from the controls below it, and these are what you'll want to tune before sending the page to anyone:

Control What it affects
Colors The palette used for the light
Change Color every 12 seconds Automatic color cycling on a timer
Turn On Activates the selected colors or preset
Presets Disco, Strobe, Relaxing, Forest, Sunrise, Sky, Random
Brightness Overall light intensity
Glow Softens the light output
Blend Mixes colors together
Clear All Resets your color selections

The presets cover very different moods — Disco and Strobe are fast and high-contrast, while Relaxing, Forest, Sunrise, and Sky are slower and softer. Random cycles through combinations. If you're setting up for a party, test the preset with the music you actually plan to play, since a fast preset plus a loud, bass-heavy track produces far more flashing than the same preset in a quiet room.

Sharing it with friends

MoodLight is a web page, so sharing means passing along the link rather than exporting a light pattern. Your friends open moodlight.org on their own device and set it up themselves — their colors, speed, and detector settings are their own, not a copy of yours.

That has a few practical consequences:

  • Test before you send. Run the detector and preset for a minute or two so you know it behaves on your setup, then share the link with a short note about which preset you used.
  • Tell them about the microphone step. A friend who opens the page and clicks the detector without allowing mic access will think it's broken. Mention that they need to grant permission.
  • Repeat the flashing-light warning. The site's own warning applies to whoever opens it, so it's worth passing along rather than assuming they'll read it.

Common snags

  • No reaction to music: almost always a microphone permission or input-device problem. Check the browser's site permissions and your OS input settings.
  • Reacts to everything, not just music: the mic is picking up the whole room. Move the sound source closer or lower the input gain.
  • Too intense: switch from Disco or Strobe to a slower preset and reduce brightness.
  • Settings look wrong on a friend's screen: they're running their own session, so their colors and speed are independent of yours.

If you or anyone nearby is sensitive to flashing lights or has photosensitive epilepsy, do not use the application — that guidance comes directly from the site and is not something the settings can work around.