Foley

The sound it should already have, locked to the frame

Open a video, run the analysis pass, and the backend writes a 48 kHz, 24-bit stereo WAV of impacts, footsteps and room tone anchored to the frames that caused them. Every model runs locally and nothing is uploaded.

Private Windows 11 Runs locally
Get in touch
Overview

Flow first, then objects.

The analysis runs twelve stages, and the order matters. Dense optical flow runs on every consecutive frame pair first, and magnitude spikes become impact frames. Only then does object detection run, and only on those frames, because running a detector on everything is how this gets slow and noisy at the same time.

Material classification runs on the objects it found, scene and room type come from keyframes, and per-object depth places each event in the room. Events are assembled per scene with type, sub-type, intensity, screen position and depth.

Progress streams to the status bar, the run is cancellable mid-stage, and temporary frames are cleaned up in a finally block rather than on the happy path.

How

How it works.

Locked to the frames that caused it
Impacts come from optical flow magnitude spikes, so a sound is anchored to the motion that produced it rather than dropped onto a timeline near it.
Detection where it pays
YOLOv8s runs on impact frames only, then material classification on the objects it found. SigLIP handles scene and room type; Depth Anything places each object in the room.
Everything local
Models run on your own GPU through ONNX Runtime and DirectML. Nothing is uploaded, and there is no key to bring.
Broadcast-ready output
48 kHz, 24-bit stereo WAV, stems, and a preview cut. Two processes talk over one local WebSocket, and a run can be cancelled mid-stage.
Status

Private, and still being built.

Foley is an internal Locke Werks product. The source is private and there is no public release.

Handling of data is covered in the Locke Werks Privacy Policy. For access, or a conversation about what it would take to use this, write to archon@lockewerks.com.