the video becomes more tranquil, the music may adopt a softer demeanor.

4.3. Web User Interface

To make our music generation accessible and user-friendly, we have incorpo-

rated our models into an intuitive web interface using the Django web frame-

work (Django Software Foundation, 2019) as shown in Figure 10. This interface

empowers users with the following capabilities:

1. Video Selection: Users can effortlessly select their desired video by ei-

ther uploading it directly or providing a YouTube link.

2. Key and Chord Progression Specification: Users can specify the key

and optional seed chord progression (e.g., C Am F G) as a primer.

Once the video is chosen and uploaded, our model processes the video and

generates a matching audio file. To achieve this, the MIDI file is rendered

through a FluidR3 General MIDI soundfont. Finally, the original video stream

is synced with the newly generated audio using MoviePy (Burrows et al., 2021) .
Video2Music