Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Lofree — Focus SoundsNew to Visual Studio Code? Get it now.
Lofree — Focus Sounds

Lofree — Focus Sounds

Abhishek Choudhury

|
2 installs
| (0) | Free
Endless lo-fi beats, café, airport, rain and colored noise — synthesized live in code. No streaming, no network.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Lofree — Focus Sounds for VS Code

Endless lo-fi beats, a cozy café, an airport lounge, rain and colored noise, all synthesized live in code inside VS Code. Nothing is streamed, downloaded or sent over the network, so it works offline and behind strict corporate firewalls.

Lofree in light and dark themes

Sounds

Sound What you hear Options
🎹 Lo-fi beats Generative chillhop: jazzy 7th/9th chords on a Rhodes-style electric piano, swung boom-bap drums, round bass, a little melody, tape wobble and vinyl crackle. Every track gets a new key, tempo, progression, groove and name, and lasts 2–3 minutes. It never repeats. Pace (Slow / Chill / Upbeat), vinyl crackle, rain outside
☕ Café Low murmur from a dozen synthetic talkers, clinking cups, a spoon stirring, the grinder and milk steamer, and lo-fi quietly playing on the speakers. Crowd (Quiet / Busy), music
✈️ Airport lounge A huge reverberant terminal with a distant crowd, rolling suitcases, footsteps, departure chimes and announcements, and the occasional plane taking off. Announcements
🌧️ Rain Thousands of individual drops over a soft rainy hiss, with gusts. Intensity (Light / Steady / Storm, which adds distant thunder)
〰️ Noise Steady masking noise. White, pink, brown or blue

There's also a focus timer (25 / 50 / 90 minutes). It fades the sound out and nudges you to take a break.

Using it

  • Click the 🎧 headphones icon in the Activity Bar to open the player.
  • Click Lofree in the status bar to play or pause from anywhere. The sound keeps playing when you switch to another sidebar view.
  • Commands (⇧⌘P): Lofree: Play / Pause, Lofree: Choose Sound…, Lofree: New Lo-fi Track, Lofree: Start Focus Timer…
  • Press Space inside the panel to play or pause.

You can bind any of the commands to a shortcut in Keyboard Shortcuts.

How it works

Everything is built with the browser's Web Audio API, running in the extension's webview:

  • Noise is generated sample by sample: white, pink (Paul Kellet's filter), brown (integrated) and blue (differentiated pink). It's then made seamlessly loopable.
  • Lo-fi is composed in real time by a small rule-based composer, using jazz progressions with voice-led rootless voicings and swung 16ths. Instruments are synthesized: a 2-operator FM electric piano, a sine/triangle bass, drums made from pitched sines and filtered noise, and a detuned-saw pad. Everything runs through a "tape" chain: a modulated delay for wow and flutter, a warm lowpass and soft saturation.
  • Crowds are synthetic voices: breathy noise plus a glottal buzz, pushed through moving vowel formant filters and shaped into syllables and phrases. From a distance (lowpass plus reverb) they read as murmur.
  • Rooms use convolution reverb with impulse responses generated in code.

Audio is scheduled about a second ahead on an audio-clock timer running in a Web Worker, so it stays smooth while you work.

Privacy & security

  • No network access at all. The webview's Content Security Policy is default-src 'none': scripts are allowed only by nonce, and styles only from the extension itself.
  • No telemetry. The only thing stored is your chosen sound, volume and options, kept in VS Code's local extension storage.

Development

npm install
npm run compile

Press F5 in VS Code to launch an Extension Development Host.

To work on the sounds without reloading VS Code, serve the folder and open dev/preview.html in a browser:

python3 -m http.server 5178

dev/render-test.html renders every scene offline and reports loudness, peaks and any broken samples.

Package a .vsix:

npm run package

Author

Made by Abhishek Choudhury — www.abhishekchoudhury.com

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft