Skip to content
attrip.Make things to explore your curiosity
MenuClose

SCRATCH ROOM: a browser DJ deck for playing with two WAV files

Published · Updated · 8 MIN READ · Notes and discoveries

RECORD / 2026

I made SCRATCH ROOM, a small browser DJ tool where you load two WAV files and turn a pair of virtual decks.

Put a backing track on A and a voice or another sound on B, then scratch the B deck with a mouse or keyboard. The demo includes a backing track and four voice samples cut from my original song 声を上げろ, so you can start by pressing the demo button before loading your own files.

Open SCRATCH ROOM

Start with the demo

SCRATCH ROOM is designed for PC use. Press 音を出すデモ (Demo with sound) to prepare samples for A and B. For your own WAV files, load a backing track into A and the voice or sound you want to scratch into B. The files are handled in the browser; the tool does not upload them to a server.

The SCRATCH ROOM PC screen with two turntables and the central ROOM MIXER

The layout is intentionally simple. A is the backing track, B is the scratch deck, and the center is the mixer. Play A and B independently, then move the crossfader in the middle to change the balance between them.

Scratch the B deck with J, K, and L

You can move the B deck with the mouse, or use J, K, and L on a PC keyboard.

KeyAction
JScratch the B deck backward
KHold the B deck still
LScratch the B deck forward
SpaceMute B while the key is held
← / →Move the crossfader left or right

SCRATCH ROOM keyboard map showing J/K/L, Space, A, and R

Start A, then start B. When B is playing, press J or L to make the sound move like a record scratch. Use K to hold it, and hold Space to cut B. That sequence is a straightforward way to get a feel for the controls.

A and B start or stop their decks. Q and W return to the cue point, 1–4 switch the voice phrases, and Esc stops everything. Press R to start recording.

Change TEMPO while keeping the pitch

Each deck has a TEMPO slider. With the key-lock setting enabled, you can change playback speed within ±16% while keeping the pitch. Use it to bring a backing track closer to the speed you want, or to listen more slowly at first. Press 0 to return to the reference value.

TEMPO and scratching are separate controls here. TEMPO changes the speed of the whole track, while scratching turns the moment-to-moment movement of the B deck into sound. This is not intended as a one-to-one recreation of professional turntables or mixers; it is a small PC experiment for trying the distinction with a keyboard.

Record a take and save it as WAV

Press R in 演奏を録って、共有する (Make a take) below the mixer to start recording. A take can be up to three minutes, and it remains on the page after you stop.

A SCRATCH ROOM recording take with controls to save or share a WAV, up to three minutes

You can preview a saved take in the browser. Use WAVを保存 (Save WAV) to download a PCM16 stereo WAV. On browsers that support it, 音声を共有 (Share audio) opens the operating system share sheet. If sharing is not supported, use the save button. Takes are not stored in the cloud, and the tool does not create a public URL for a recording.

What I checked while making it

During development I ran 57 tests and checked that a three-minute recording stops and becomes a WAV. I also measured a 440 Hz pure tone at different TEMPO values to check that key-locked speed changes do not change its pitch.

Those are development checks, not a promise about listening quality, latency, or delivery to every share destination on every PC and browser. The sound can also vary with the browser and audio hardware. Start with a short WAV, use the demo, and then try it in your own setup.

SCRATCH ROOM puts two sound sources, keyboard scratching, and a downloadable WAV take into one small screen. Start with J, K, and L, and see what your own sounds do.

Open SCRATCH ROOM

Leave a thought

Leave your name blank to post as Anonymous.