The Lanlan Jam experiment originated from lanlan.site, a platform exploring creative web interactions. The project emerged from a desire to bring physical DJ mixing gestures into the browser, making turntable techniques accessible without specialized hardware. The jam interface lives at jam.lanlan.site and works across devices—phones, tablets, desktops—turning any screen into a mixing station.
How the web app translates physical gestures
The interface maps common DJ actions to touch gestures. Turning the phone sideways orients the layout for thumb-based control. Each record accepts a thumb press, and a crossfader sits between them. An "Easy" mode keeps playback in time, while "Manual" mode gives full control for experienced users. A loop tab lets recorders capture and layer up to five phrases. Holding the bass cut button and releasing it creates a drop effect. Scratching happens by dragging a record, nudging the platter's edge, or using dedicated start/stop buttons (Q/P for A/B, 1–4 pads for trigger patterns).
The design philosophy treats the web page as a tangible instrument. Touch gestures mirror what a physical DJ would do: carrying the arm by its headshell to drop the needle, touching a platter's edge to nudge tempo, using the crossfader ←→ to blend between channels. The interface responds to these inputs in real time, with visual feedback that helps users understand which deck is active, whether a loop is recording, and when the bass filter is engaged.
Technical implementation and accessibility
Lanlan Jam runs entirely in the browser without requiring plugins or external software. The core interactions use standard touch events, with fallbacks for mouse-based desktop use. The loop recording system captures audio chunks, stores them in memory, and plays them back on a timed grid. The bass cut filter applies a low-pass effect that attenuates low frequencies while the button is held, then releases abruptly for the "drop" sound. All processing happens client-side, so there's no server round-trip latency during a session.
The platform includes a "listen live" mode for users who want to experience mixes without actively mixing. Headphone users can tune in to a public stream. For those who want to host their own jam, the site provides an option to open jam.lanlan.site on any screen and start a new session. This makes it possible for multiple people to contribute to a shared mix, each controlling a deck from their own device.
Why it matters for web interaction design
The project demonstrates how web technologies can replicate tactile, muscle-memory-based interactions that traditionally required physical hardware. By mapping familiar DJ gestures to touch screens, Lanlan Jam lowers the barrier for people who might never touch a real turntable but understand the concept of mixing tracks. It also shows how browser audio APIs can handle real-time processing—looping, filtering, and crossfading—without needing a native application.
For developers interested in similar projects, the code structure is open and approachable. The touch-to-sound mapping can be adapted for other musical interfaces, and the loop-recording pattern appears in many web audio experiments. The project's GitHub-linked documentation explains how the audio graph is set up, how touch events are normalized across device types, and how the visual layout adjusts to different screen sizes.
Practical use cases
Musicians can use Lanlan Jam sketch out ideas quickly without loading a digital audio workstation. DJs traveling without gear can practice transitions on a phone or laptop. Educators can demonstrate mixing concepts in a browser-based environment that students can replicate on their own devices. The "practise" mode lets users loop a section and layer sounds while learning where the cut-bass and drop moments fall in a track.
Because the interface works on phones, it's also suitable for on-the-spot creativity. Someone waiting in line, commuting, or taking a break can open the page, start a loop, and begin layering sounds. The five-layer limit keeps sessions from becoming unwieldy, and the visual layout shows exactly how many loops are active.
Hosting your own jam
Anyone can host a session by opening jam.lanlan.site on a shared screen. This is useful for remote jam sessions, where each participant controls a deck from their own device, or for public installations where a single screen becomes a community mixing station. The "scan to play" QR code on the site launches the interface on mobile devices, making it easy to start a session without typing a URL.
The platform doesn't store mixes or user data. Each session runs transiently in the browser, so there's no account required and no persistence after the page is closed. This keeps the focus on the immediate act of mixing rather than on building a social graph or collecting analytics.
Under the hood
The audio synthesis uses the Web Audio API's oscillator, filter, and convolver nodes. The loop recorder captures PCM data at the sample rate of the host context, stores buffers in JavaScript, and plays them back with precise timing using the Web Audio API's scheduling methods. The crossfader applies a gain crossfade between two channels, with curve shaping that mimics the feel of physical vinyl crossfaders. Touch event handling normalizes for different pointer types—touch, mouse, pen—so the same gestures work regardless of device.
Visual feedback uses Canvas 2D drawing commands to render the decks, crossfader position, loop indicators, and bass filter status. The graphics respond to user input in real time, with smooth animations that don't block the main thread. The entire codebase is small enough that a single developer can review and modify it, which has helped the project iterate quickly based on user testing.
What this means for creators
Lanlan Jam proves that web-based audio interaction can feel as immediate as dedicated software or hardware. The gesture-to-sound mapping is intuitive enough that new users can start mixing within seconds, while the manual controls give experienced users enough depth to craft longer transitions. The project's openness—the code is available, the hosting is free, no login required—means creators can experiment without barriers.
For teams building web audio products, Lanlan Jam offers a reference implementation of touch-to-audio mapping, loop recording, and real-time filter effects. The patterns used here—normalizing touch events, scheduling audio in the Web Audio API, providing visual feedback that matches the audio state—apply to many contexts beyond DJ mixing.
The project also highlights how a simple idea, executed well, can find an audience. Lanlan Jam doesn't try to be a full-featured DAW or a replacement for professional DJ software. It targets a specific niche: quick, tactile, browser-based mixing that anyone can access from a phone or computer. That focused scope is part of what makes it work.
As web audio APIs continue to mature and browser capabilities expand, projects like Lanlan Jam show what's possible when the focus is on immediate, tangible interaction rather than feature accumulation. The interface may evolve—new gestures, more layers, additional effects—but the core principle of turning touch into sound, with minimal friction, seems likely to influence many future web creations.