Papers › Conditional Generation of Audio from Video via Foley Analogies

Conditional Generation of Audio from Video via Foley Analogies

17 Apr 2023CVPR 2023 1arXiv:2304.08490archive 2025-07-28

Yuexi Du, Ziyang Chen, Justin Salamon, Bryan Russell, Andrew Owens

The sound effects that designers add to videos are designed to convey a particular artistic effect and, thus, may be quite different from a scene's true sound. Inspired by the challenges of creating a soundtrack for a video that differs from its true sound, but that nonetheless matches the actions occurring on screen, we propose the problem of conditional Foley. We present the following contributions to address this problem. First, we propose a pretext task for training our model to predict sound for an input video clip using a conditional audio-visual clip sampled from another time within the same source video. Second, we propose a model for generating a soundtrack for a silent input video, given a user-supplied example that specifies what the video should "sound like". We show through human studies and automated evaluation metrics that our model successfully generates sound from video, while varying its output according to the content of a supplied example. Project site: https://xypb.github.io/CondFoleyGen/

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2304.08490")

Code

Syntology Ran 1 of 13 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 13 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

XYPB/CondFoleyGen officialmentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 1 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
12unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from XYPB/CondFoleyGen. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

gram_matrix XYPB/CondFoleyGen/audio_generation.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 1090950b58e9358b · report
check_match XYPB/CondFoleyGen/audio_type_analysis.py official repository unverified MIT (permissive) · e2037f0f6ae0a1bc · report
create_gen_key2orig_key XYPB/CondFoleyGen/create_test_folder.py official repository unverified MIT (permissive) · 707cb66d1f960dda · report
get_style_model_and_losses XYPB/CondFoleyGen/audio_generation.py official repository unverified MIT (permissive) · 8c86f518bf3ee01a · report
load_specs_as_img XYPB/CondFoleyGen/audio_generation.py official repository unverified MIT (permissive) · 295b08649ff00eba · report
make_folder_for_samples XYPB/CondFoleyGen/evaluation/generate_samples.py official repository unverified MIT (permissive) · 3f45383acb251f26 · report
onset_nms XYPB/CondFoleyGen/predict_onset.py official repository unverified MIT (permissive) · 6609e7e473de823b · report
pipeline_extract_audio XYPB/CondFoleyGen/video_preprocess.py official repository unverified MIT (permissive) · 14890f5890893ac8 · report
pipeline_reencode_mov XYPB/CondFoleyGen/video_preprocess.py official repository unverified MIT (permissive) · 4473929782c8d1c1 · report
pipeline_resize XYPB/CondFoleyGen/video_preprocess.py official repository unverified MIT (permissive) · ca2c953686f5cb93 · report
process_action XYPB/CondFoleyGen/audio_type_analysis.py official repository unverified MIT (permissive) · 3f48d259e25d02bc · report
process_type XYPB/CondFoleyGen/audio_type_analysis.py official repository unverified MIT (permissive) · cb8eaae03e9b85ac · report
sample_spectrogram XYPB/CondFoleyGen/evaluation/generate_samples.py official repository unverified MIT (permissive) · 48ef389d993cb3c8 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

CLIP

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections