Focus

Marimba

A steady marimba arpeggio over a soft pulse.

Choose a mood

85%

Layers

Lead
Pads
Bass
Ambience

Ambience

Want to build your own mix of rain, brown noise and more? Open the Noise Generator.

Sleep timer

Off — plays until you stop it.

Pomodoro

Work for 25 minutes with focus music, then take a 5-minute break with relaxing music. The music switches by itself and the change is announced.

Save what’s playing

Press play, then record up to 15 minutes.

The recording is made and kept on this device, and is gone when you leave the page unless you save it.

Keyboard shortcuts

Space
play / pause
1 – 5
Focus, Meditate, Relax, Sleep, Dream
← →
previous / next variation
↑ ↓
volume
T
hear the time left

For a bedtime shortcut, open /focus-music?scene=sleep-rain&t=30 — it picks the scene and a 30 minute timer, and you press play.

  • 100% Free
  • No Sign-Up
  • No Credit Card
  • No Free Trial
  • No Pro Tier
  • No Watermarks

Nothing is uploaded. Just open it and start.

Live focus music, generated in your browser

Free, no sign-up, no credit card, no trial. Play calm, generative ambient music to focus, meditate, or relax — pick a mood and one of its variations, balance the layers, add rain or ocean underneath, set a sleep timer or a Pomodoro, and record what you hear. Every note is synthesized live on your device, so the music never loops and nothing is ever uploaded or downloaded.

Endless & generative

Composed live, note by note — it never loops and never repeats, with nothing to download.

Moods & mixer

Five moods with several variations each — then balance lead, pads, bass, and ambience to taste.

Sleep timer & Pomodoro

A sleep timer that fades out on the audio clock, and 25/5 Pomodoro blocks that switch between focus and relax music.

Shortcuts & shareable setups

Space, 1–5 and arrow keys, plus a link that opens your exact scene, mix and timer.

Private & client-side

No account, no upload — the music is synthesized on your device with the Web Audio API.

Frequently asked questions

Is this a playlist or a looping track?
Neither. The music is composed live in your browser, note by note, from a scale and a set of chords — so it never repeats and there's nothing to download or stream. Every session sounds different because the notes and timing are chosen at random within each mood.
How are the moods different, and what are the variations?
There are five moods — Focus, Meditate, Relax, Sleep, and Dream — and each has several variations built from genuinely different instruments and arrangements. Focus offers a marimba, a felt piano, and a driving pulse; Relax offers a Rhodes, a nylon guitar, and soft keys; Dream offers a music box, glass bells, and a celeste. Each variation also has its own background texture — rain, ocean waves, wind, a stream, vinyl crackle, or a soft hiss. Pick a mood, then pick a variation — every one is generated live, so it keeps evolving and never loops.
Does it use binaural beats or make health claims?
No. It's simply calm, non-distracting music. Steady, gentle sound helps many people concentrate or unwind by masking sudden noises and giving the mind something even to rest on — we don't claim any special brainwave effect.
Will it keep playing if I lock my phone or switch tabs?
Yes, in most browsers. It plays through your device's media player, so it keeps going in a background tab, with the screen locked, or while you use another app — and play/pause controls appear on your lock screen. A few older mobile browsers still pause web audio when the screen locks, so on phones and tablets "Keep screen awake" starts switched on to keep the tab in front — switch it off in the session controls if you'd rather let the screen dim.
Can I black out the screen while it plays?
Yes. Tap "Lights off" under the player and the whole page goes black, with just a faint clock and the name of what's playing — and those fade away after a few seconds, leaving an unlit screen. The music, the session timer and the mixer all carry on behind it. Tap anywhere or press any key to bring the page back. It's there for sleep and meditation sessions, where the screen is the brightest thing in the room.
How does the sleep timer work?
Pick 15, 30, 45, 60 or 90 minutes. The countdown runs on the audio clock, not on a page timer, and the fade-out is booked ahead of time on the output: the sound eases down over the last fifth of the time (between 5 seconds and 3 minutes) and the music stops at zero. It keeps counting with the screen locked or the tab in the background, and keeps going when you change scene. If the browser suspends audio entirely, the clock pauses with it. Pressing pause cancels the timer; the next play starts a fresh countdown.
Does it get boring over a long session?
"Let it evolve" is on by default. Over a session the brightness slowly breathes, the lead plays a little busier or sparser, an arpeggio changes its direction every few minutes, and every 8 to 14 minutes the music moves to a related key (never more than a fifth up from where it began), always at a chord change. Every note stays in the key of the moment. Switch it off for music that stays exactly as it began. Every scene is also levelled to the same loudness and the output has a limiter, so changing mood never jumps in volume and 100% does not distort.
How does Pomodoro mode work?
Press Start Pomodoro to work in blocks (25 minutes by default) with the music you chose for working, then a short break (5 minutes) with the music you chose for breaks; after four blocks you get a long break (15 minutes). The tool crossfades between the two scenes and announces each change for screen readers. It works out where you are from the real clock, so a sleeping tab catches up correctly, and it carries on if you change scene yourself (your pick becomes the scene for that kind of phase). Pausing the music pauses the Pomodoro. There is a link to open the current phase in the Timer tool.
Can I save or share my setup?
Your scene, volume, layers, ambience, timer and Pomodoro choices are remembered in this browser. "Copy link to this setup" makes a link that opens with the same settings (they are in the part of the address after the # and never reach a server). You can also write a bedtime link by hand: /focus-music?scene=sleep-rain&t=30 picks Sleep · Rain with a 30 minute timer, and you press play. Opening a link never changes your own saved setup until you change something.
Can I play just rain or ocean sounds?
Yes. Under Ambience, choose any bed (rain, ocean waves, wind, stream, vinyl crackle, soft hiss or low hum) to sit under any scene, or tick "Ambience only" to turn the music off. For a fuller mix of noise colours and fans, use the Noise Generator.
Can I save what I hear?
Yes. Press Record while it plays to capture up to 15 minutes of exactly what the speakers get, then preview it and save it as a WebM (or M4A on Safari) file, or as a WAV if it is under 6 minutes. The recording is made on your device and kept in memory only until you save it, discard it or leave the page. Rendering a track faster than real time is not offered, because the music is composed live.
Are there keyboard shortcuts?
Space plays and pauses, 1 to 5 pick Focus, Meditate, Relax, Sleep and Dream, the left and right arrows move between variations, up and down change the volume, and T says how much time is left. Scene changes, volume, timer milestones (5 minutes and 1 minute left) and Pomodoro changes are announced to screen readers.
Why do I have to press play first?
Browsers only allow sound to start after you interact with the page, so the music begins when you tap a mood or the play button. That's a browser rule, not a limitation of the tool.
Is it free and private?
Completely. It runs entirely in your browser with no sign-up, no account, and nothing uploaded — the sound is generated on your own device.

Spotted a bug or have a suggestion?

Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.