Papers › Video-based Music Generation

Video-based Music Generation

5 Feb 2026arXiv:2602.07063added by Syntology

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.

PaperPDFCode Syntology ran

In Syntology 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="2602.07063")

Code

Syntology Ran 8 of 47 code samples harvested from 5 repositories linked to this paper; 39 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: found in paper text by Syntology: 47 samples from 5 repositories, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

kuleshov/audio-super-res found in paper text by Syntology report
serkansulun/midi-emotion found in paper text by Syntology report
serkansulun/lyricsemotions found in paper text by SyntologyGPL-3.0 report
serkansulun/emsync found in paper text by Syntology report
serkansulun/video-emotion found in paper text by Syntology report
serkansulun/trailer-genre-classification found in paper text by Syntology report
serkansulun/deep-music-enhancer found in paper text by Syntology report

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

47 samples harvested; 8 ran; 1 honoured the contract we drafted; 39 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 · honoured contract
3ran · our draft was wrong
1ran · fixture could not drive it
3ran
39unverified

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; each sample names its own and says which. “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.

DynamicPositionEmbedding serkansulun/midi-emotion/src/models/music_continuous_token.py found in paper text by Syntology ran · metamorphic tier: deterministic licence not identified · pointer only · 152679ecf1ef9922 · report
EncoderLayer serkansulun/midi-emotion/src/models/music_continuous_token.py found in paper text by Syntology ran · metamorphic tier: deterministic licence not identified · pointer only · 85bf08d4887e9f87 · report
RelativeGlobalAttention serkansulun/midi-emotion/src/models/music_continuous_token.py found in paper text by Syntology ran licence not identified · pointer only · b1df47d7f97fe9ef · report
gelu serkansulun/video-emotion/src/beats/modules.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · f30ebf4e48b7e2d7 · report
generate_mask serkansulun/midi-emotion/src/models/music_continuous_token.py found in paper text by Syntology ran · our draft was wrong fingerprinted licence not identified · pointer only · b70d86b4cc18c96c · report
scale_coords_landmarks serkansulun/video-emotion/src/face_detector/detect_face.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 6299962009a1327a · report
sequence_mask serkansulun/midi-emotion/src/models/music_continuous_token.py found in paper text by Syntology ran · our draft was wrong licence not identified · pointer only · cfe964d3e7be6c9d · report
sinusoid serkansulun/midi-emotion/src/models/music_continuous_token.py found in paper text by Syntology ran · honoured contract licence not identified · pointer only · 3868efd42e3f901a · report
MusicTransformerContinuousToken serkansulun/midi-emotion/src/models/music_continuous_token.py found in paper text by Syntology unverified licence not identified · pointer only · 4dc56122300c0f54 · report
build_model serkansulun/emsync/midi/src/midi_model.py found in paper text by Syntology unverified licence not identified · pointer only · 3fe06f3d52eeff49 · report
calculate_metrics serkansulun/trailer-genre-classification/classification/src/utils_classify.py found in paper text by Syntology unverified licence not identified · pointer only · 4d37c5189d2765e3 · report
check_file serkansulun/video-emotion/src/face_detector/face_utils/general.py found in paper text by Syntology unverified licence not identified · pointer only · fafed0059ad244e6 · report
check_img_size serkansulun/video-emotion/src/face_detector/face_utils/general.py found in paper text by Syntology unverified licence not identified · pointer only · e941f0db5b01cce0 · report
confidence_margin serkansulun/emsync/evaluation/analyze_surveys.py found in paper text by Syntology unverified licence not identified · pointer only · c037442045dd4ab6 · report
detect_flow_peaks serkansulun/emsync/evaluation/alignment_utils.py found in paper text by Syntology unverified licence not identified · pointer only · 0def171c916bfb27 · report
exif_size serkansulun/video-emotion/src/face_detector/face_utils/datasets.py found in paper text by Syntology unverified licence not identified · pointer only · 2ae73fdbbb2cb8ba · report
extract_frames serkansulun/emsync/evaluation/alignment_utils.py found in paper text by Syntology unverified licence not identified · pointer only · 20906b6ed112a728 · report
gelu_accurate serkansulun/video-emotion/src/beats/modules.py found in paper text by Syntology unverified no licence file found · pointer only · 4aa7333ffd7e18c6 · report
generate_caption_beam serkansulun/emsync/video/src/video_models.py found in paper text by Syntology unverified licence not identified · pointer only · 26b68a2b7a4b988b · report
get_activation_fn serkansulun/video-emotion/src/beats/modules.py found in paper text by Syntology unverified no licence file found · pointer only · 01233f4856456c5f · report
get_confirm_token serkansulun/deep-music-enhancer/output/models/get_models.py found in paper text by Syntology unverified no licence file found · pointer only · 135b3dc835ffe6ad · report
get_device serkansulun/emsync/video/src/video_models.py found in paper text by Syntology unverified licence not identified · pointer only · ec48a0d0fe4601e1 · report
get_hash serkansulun/video-emotion/src/face_detector/face_utils/datasets.py found in paper text by Syntology unverified licence not identified · pointer only · 94786637156cb923 · report
get_latest_run serkansulun/video-emotion/src/face_detector/face_utils/general.py found in paper text by Syntology unverified licence not identified · pointer only · 089483b79b786710 · report
get_model_size serkansulun/emsync/utils.py found in paper text by Syntology unverified licence not identified · pointer only · a2e74f864f0823aa · report
hz_to_midi serkansulun/emsync/evaluation/music_tagging.py found in paper text by Syntology unverified licence not identified · pointer only · 63d03307274d1130 · report
img2label_paths serkansulun/video-emotion/src/face_detector/face_utils/face_datasets.py found in paper text by Syntology unverified licence not identified · pointer only · 18798c71577ea6ed · report
ind2multihot serkansulun/trailer-genre-classification/classification/src/utils_classify.py found in paper text by Syntology unverified licence not identified · pointer only · 63df39d517887771 · report
init_model serkansulun/trailer-genre-classification/classification/src/classifiers.py found in paper text by Syntology unverified licence not identified · pointer only · 9c2bd411d477fbd8 · report
is_empty serkansulun/trailer-genre-classification/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 0f369e196ec20e7c · report
kl_div_multilabel serkansulun/emsync/evaluation/get_kl_divergence.py found in paper text by Syntology unverified licence not identified · pointer only · b7d96bf8bc6a35f1 · report
logit2multihot serkansulun/trailer-genre-classification/classification/src/utils_classify.py found in paper text by Syntology unverified licence not identified · pointer only · 52219e2113444323 · report
midi_to_hz serkansulun/emsync/evaluation/music_tagging.py found in paper text by Syntology unverified licence not identified · pointer only · c1c8cd1745fa5a3e · report
mse serkansulun/deep-music-enhancer/src/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 0f4b88ac326d4d6e · report
n_trainable_parameters serkansulun/trailer-genre-classification/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 1ad16fe7e0fc5b08 · report
parse_ytdlp_format serkansulun/trailer-genre-classification/preprocessing/src/video_utils.py found in paper text by Syntology unverified licence not identified · pointer only · 38f01b54d514cd7f · report
pickle_load serkansulun/trailer-genre-classification/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 55c31b5b64373d2a · report
read_audio serkansulun/deep-music-enhancer/src/utils.py found in paper text by Syntology unverified licence not identified · pointer only · d966e1dca32ddf33 · report
run_parallel serkansulun/emsync/utils.py found in paper text by Syntology unverified licence not identified · pointer only · a67f547c95e062e4 · report
select_elements_with_distance serkansulun/trailer-genre-classification/classification/src/dataset.py found in paper text by Syntology unverified licence not identified · pointer only · e4a0781857b210e3 · report
select_smallest_yt_video serkansulun/trailer-genre-classification/preprocessing/src/video_utils.py found in paper text by Syntology unverified licence not identified · pointer only · e7da76ecb3cc11a8 · report
set_dropout serkansulun/emsync/midi/src/midi_model.py found in paper text by Syntology unverified licence not identified · pointer only · 1193a85c6c95eba3 · report
show_results serkansulun/video-emotion/src/face_detector/detect_face.py found in paper text by Syntology unverified licence not identified · pointer only · d2c1c632f665abbe · report
snr serkansulun/deep-music-enhancer/src/utils.py found in paper text by Syntology unverified licence not identified · pointer only · f311a971beef4bb2 · report
split_list serkansulun/emsync/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 4abf480758895f1e · report
truncate_normal_dist serkansulun/video-emotion/src/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 95123a9dcae37cb3 · report
wrap_text serkansulun/video-emotion/src/utils.py found in paper text by Syntology unverified licence not identified · pointer only · cc2b0a146bdf3e14 · report

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