Papers › Video-based Music Generation
Video-based Music Generation
Serkan Sulun
Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).
As the volume of video content on the internet grows rapidly, finding a suitable soundtrack remains a significant challenge. This thesis presents EMSYNC (EMotion and SYNChronization), a fast, free, and automatic solution that generates music tailored to the input video, enabling content creators to enhance their productions without composing or licensing music. Our model creates music that is emotionally and rhythmically synchronized with the video. A core component of EMSYNC is a novel video emotion classifier. By leveraging pretrained deep neural networks for feature extraction and keeping them frozen while training only fusion layers, we reduce computational complexity while improving accuracy. We show the generalization abilities of our method by obtaining state-of-the-art results on Ekman-6 and MovieNet. Another key contribution is a large-scale, emotion-labeled MIDI dataset for affective music generation. We then present an emotion-based MIDI generator, the first to condition on continuous emotional values rather than discrete categories, enabling nuanced music generation aligned with complex emotional content. To enhance temporal synchronization, we introduce a novel temporal boundary conditioning method, called "boundary offset encodings," aligning musical chords with scene changes. Combining video emotion classification, emotion-based music generation, and temporal boundary conditioning, EMSYNC emerges as a fully automatic video-based music generator. User studies show that it consistently outperforms existing methods in terms of music richness, emotional alignment, temporal synchronization, and overall preference, setting a new state-of-the-art in video-based music generation.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="2602.07063")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2602.07063", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2602.07063")
Code
Syntology 47 code samples harvested from 5 repositories linked to this paper: 42 ran (of which 2 constructed an object rather than computing a result; 26 with no instrument failure: 6 honoured, 2 violated, 18 with no contract checked; 16 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 15 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: found in paper text by Syntology: 47 samples from 5 repositories, 42 ran (26 with no instrument failure; 16 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
No sample is linked to this paper from 1 of its repositories that Syntology harvested for other papers:
- kuleshov/audio-super-res, found in paper text by Syntology: harvested for another paper, listed under the repository
Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.
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.
A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.
Code Syntology ran Syntology
47 samples harvested: 42 ran (of which 2 constructed an object rather than computing a result; 26 with no instrument failure: 6 honoured, 2 violated, 18 with no contract checked; 16 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
Licence: 47 of the 47 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 5 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 1 sample that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.
152679ecf1ef9922 · report
fixture: returned DynamicPositionEmbedding · level recorded 2026-09-22 85bf08d4887e9f87 · report
fixture: returned EncoderLayer · level recorded 2026-09-22 b1df47d7f97fe9ef · report
fixture: signature inputs:list/1/Tensor, mask:NoneType/0/? · returned Tensor · level recorded 2026-09-24 b70d86b4cc18c96c · report
fixture: signature x:Tensor/2/int, pad_token:int/0/int, batch_first:bool/0/bool · returned Tensor · level recorded 2026-09-22 census: 12 implementations from 15 papers, 5 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 1 of 2, arg 1: rank 1, kind int, dtype int64 src/models/music_continuous_token.py ran · our draft was wrong licence not identified · pointer only ·
cfe964d3e7be6c9d · report
fixture: signature length:Tensor/1/int, max_length:NoneType/0/? · returned Tensor · level recorded 2026-09-22 3868efd42e3f901a · report
fixture: signature max_seq:int/0/int, embedding_dim:int/0/int · returned ndarray · level recorded 2026-09-22 4dc56122300c0f54 · report
c037442045dd4ab6 · report
fixture: signature series:Series/1/float, percentile:int/0/int · returned float64 · level recorded 2026-09-26 0def171c916bfb27 · report
fixture: signature flow_trajectory:list/1/float, fps:float/0/float, normalize:bool/0/bool, prominence:int/0/int, distance_seconds:float/0/float · returned ndarray · level recorded 2026-09-26 20906b6ed112a728 · report
fixture: signature video_path:str/0/str · returned tuple · level recorded 2026-09-26 26b68a2b7a4b988b · report
fixture: signature model:callable/0/?, tokenizer:MinimalTokenizer/0/?, beam_size:int/0/int, prompt:str/0/str, embed:NoneType/0/?, entry_length:int/0/int, temperature:float/0/float, stop_token:str/0/str · returned list · level recorded 2026-09-26 ec48a0d0fe4601e1 · report
fixture: signature model:callable/0/? · returned str · level recorded 2026-09-26 a2e74f864f0823aa · report
fixture: signature model:callable/0/? · returned float · level recorded 2026-09-26 63d03307274d1130 · report
fixture: signature hz:Tensor/1/float · returned Tensor · level recorded 2026-09-26 b7d96bf8bc6a35f1 · report
fixture: signature target:Tensor/2/float, pred:Tensor/2/float, eps:float/0/float · returned Tensor · level recorded 2026-09-26 c1c8cd1745fa5a3e · report
fixture: signature midi:int/0/int · returned float · level recorded 2026-09-26 a67f547c95e062e4 · report
fixture: signature func:callable/0/?, my_iter:list/1/int, type:str/0/str, timer:bool/0/bool, mininterval:int/0/int, max_workers:int/0/int · returned list · level recorded 2026-09-26 1193a85c6c95eba3 · report
fixture: signature model:callable/0/?, rate:float/0/float · returned SimpleModel · level recorded 2026-09-26 4abf480758895f1e · report
fixture: signature alist:list/1/int, n_parts:int/0/int · returned list · level recorded 2026-09-26 3fe06f3d52eeff49 · report
fafed0059ad244e6 · report
fixture: signature file:str/0/str · returned str · level recorded 2026-09-26 e941f0db5b01cce0 · report
fixture: signature img_size:int/0/int, s:int/0/int · returned int · level recorded 2026-09-26 2ae73fdbbb2cb8ba · report
fixture: signature img:MockImage/0/? · returned tuple · level recorded 2026-09-26 census: 43 implementations from 74 papers, 6 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 2, kind float, dtype float32 src/beats/modules.py ran · our draft was wrong fingerprinted no licence file found · pointer only ·
f30ebf4e48b7e2d7 · report
fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-22 4aa7333ffd7e18c6 · report
fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-26 94786637156cb923 · report
fixture: signature files:list/1/str · returned int · level recorded 2026-09-26 089483b79b786710 · report
fixture: signature search_dir:str/0/str · returned str · level recorded 2026-09-26 18798c71577ea6ed · report
fixture: signature img_paths:list/1/str · returned list · level recorded 2026-09-26 6299962009a1327a · report
fixture: signature img1_shape:tuple/1/int, coords:Tensor/2/float, img0_shape:tuple/1/int, ratio_pad:NoneType/0/? · returned Tensor · level recorded 2026-09-22 d2c1c632f665abbe · report
fixture: signature img:ndarray/3/int, xyxy:list/1/float, conf:float/0/float, landmarks:list/1/int, class_num:int/0/int · returned ndarray · level recorded 2026-09-26 95123a9dcae37cb3 · report
fixture: signature mean:float/0/float, std:float/0/float, low:float/0/float, high:float/0/float · returned rv_continuous_frozen · level recorded 2026-09-26 cc2b0a146bdf3e14 · report
fixture: signature text:str/0/str, linewidth:int/0/int · returned str · level recorded 2026-09-26 01233f4856456c5f · report
4d37c5189d2765e3 · report
fixture: signature predictions:list/1/list, targets:list/1/list, threshold:float/0/float · returned dict · level recorded 2026-09-26 63df39d517887771 · report
fixture: signature inds:list/1/int, num_labels:int/0/int · returned Tensor · level recorded 2026-09-26 0f369e196ec20e7c · report
fixture: signature x:ndarray/1/float · returned bool · level recorded 2026-09-26 52219e2113444323 · report
fixture: signature logits:Tensor/2/float, threshold:float/0/float · returned Tensor · level recorded 2026-09-26 1ad16fe7e0fc5b08 · report
fixture: signature model:callable/0/? · returned int · level recorded 2026-09-26 38f01b54d514cd7f · report
fixture: signature url:str/0/str, temp_dir:str/0/str · returned list · level recorded 2026-09-26 55c31b5b64373d2a · report
fixture: signature fp:str/0/str · returned dict · level recorded 2026-09-26 e4a0781857b210e3 · report
fixture: signature lst:list/1/int, n:int/0/int, random_frame:bool/0/bool · returned list · level recorded 2026-09-26 e7da76ecb3cc11a8 · report
fixture: signature url:str/0/str, min_height:int/0/int, temp_dir:str/0/str · returned dict · level recorded 2026-09-26 9c2bd411d477fbd8 · report
census: 5 implementations from 6 papers, 4 distinct outputs across 3 buckets, one shared input per bucket src/utils.py ran fingerprinted licence not identified · pointer only ·
0f4b88ac326d4d6e · report
fixture: signature x:Tensor/2/float, ref:Tensor/2/float · returned Tensor · level recorded 2026-09-26 d966e1dca32ddf33 · report
fixture: signature path:str/0/str, make_stereo:bool/0/bool · returned tuple · level recorded 2026-09-26 f311a971beef4bb2 · report
fixture: signature x:ndarray/2/float, ref:ndarray/2/float · returned float32 · level recorded 2026-09-26 135b3dc835ffe6ad · report
Method as code Syntology
What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.
1 assembly on this paper: 1 harvested, 0 generated.
harvested Assembly for EMSYNC (graph method: EMSYNC). 7 bricks; individually on a fixture: 6 ran (of which 2 constructed an object rather than computing a result; 4 with no instrument failure: 1 honoured, 0 violated, 3 with no contract checked; 2 where Syntology's instrument failed) · 1 unverified. The assembly has not been run end-to-end.
- MusicTransformerContinuousToken entry · level 0 · unverified ·
4dc56122300c0f54 - DynamicPositionEmbedding model · level 1 · ran ·
152679ecf1ef9922 - EncoderLayer model · level 1 · ran ·
85bf08d4887e9f87 - generate_mask helper · level 1 · ran · our draft was wrong ·
b70d86b4cc18c96c - sinusoid helper · level 1 · ran · honoured contract ·
3868efd42e3f901a - RelativeGlobalAttention model · level 1 · ran ·
b1df47d7f97fe9ef - sequence_mask helper · level 1 · ran · our draft was wrong ·
cfe964d3e7be6c9d
Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2602.07063") returns these assemblies with each brick's role and wiring (how to connect).
Results from the paper
The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.07063, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.
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