Introduction
In the field of AI-driven music generation, the quality and richness of training data often dictate the capabilities of the resulting models. While large-scale datasets exist, they frequently lack the granular semantic metadata—such as emotional labels—necessary for controlled, expressive generation. Presented at ISMIR 2022, YM2413-MDB introduces a specialized dataset of 80s-era FM synthesis video game music designed to bridge this gap. By combining multi-instrumental MIDI and audio files with expert-verified emotion annotations, the authors provide a unique resource for researchers working on emotion-conditioned music classification and symbolic generation.
The Dataset Gap
Existing datasets for music research often fall into one of three categories, each with specific limitations:
- Single-instrument datasets: Collections like the MAESTRO (piano) dataset are high quality but lack the complexity of multi-track arrangements.
- Large-scale multi-instrumental datasets: The Lakh MIDI Dataset (LMD) offers scale but is notoriously noisy, inconsistent, and lacks high-level semantic labels like mood or intent.
- Legacy game music datasets: Collections like NES-MDB capture the unique aesthetic of 8-bit music but are limited by low polyphony (typically 4 voices) and a lack of emotional metadata.
YM2413-MDB addresses these issues by focusing on the YM2413 sound chip (common in Sega and MSX systems), which supports up to 9 simultaneous voices. This allows for more complex arrangements while maintaining a structured, machine-readable format paired with 19 distinct emotion tags curated specifically for the video game context.
Methodology
Data Acquisition and Processing
The researchers developed a rigorous pipeline to transform raw game code into a format suitable for machine learning:
- Extraction & Emulation: Binary commands were extracted from Video Game Music (VGM) files. The YM2413 chip was then emulated to produce synchronized MIDI and audio outputs.
- Metrical Alignment: Standard game music data often lacks tempo and bar information. To make the data usable for bar-based generative models, the authors used the
Madmomlibrary to extract down-beats from the audio, subsequently aligning the MIDI files to a consistent metrical grid.
Annotation Pipeline
To ensure high-quality labels, the authors moved beyond simple automated tagging. Each of the 669 tracks was tagged by two dedicated annotators and then verified by three additional reviewers. Rather than relying solely on the standard "Arousal-Valence" model, the team included 19 categorical tags that capture the specific functional roles of game music, such as "heroic," "bizarre," and "war-inspiring."
Key Insights and Technical Constraints
The dataset reveals unique 80s composition patterns that serve as stylistic hallmarks for generative models to replicate:
- Unison Playing: Composers often doubled melodies across multiple tracks to create a thicker, more robust sound within the limitations of FM synthesis.
- Simulated Reverb: Without dedicated hardware effects, composers used a second, delayed voice at a lower volume to mimic spatial depth.
- Categorical Advantage: The authors argue that categorical word tags are superior to 2D coordinate systems (Arousal-Valence) for game music, as they better capture complex, narrative-driven emotions like "bizarre" or "touching."
Experimental Results
The authors established baselines for both emotion recognition and conditional generation:
Emotion Recognition
Audio-domain models (specifically Short-chunk ResNets) outperformed symbolic-domain models, achieving an accuracy of 0.65 on a 4-quadrant emotion task. This suggests that the timbral qualities of FM synthesis carry significant emotional weight that symbolic MIDI alone may not fully capture.
Conditional Generation
Using a 12-layer GPT-2 architecture and the Multi-Track Music Machine (MMM) representation, the authors tested emotion-conditioned generation. When prompted with specific tags, the model produced statistically distinct musical features:
- "Depressed" prompts: Resulted in lower note density and longer note durations.
- "Cheerful" prompts: Resulted in higher note density and shorter, staccato notes.
- Tonality: Analysis confirmed a strong correlation between major keys and positive emotions (cheerful, touching), while minor and chromatic keys were associated with negative or complex emotions (tense, bizarre).
Limitations and Future Work
While YM2413-MDB is a significant step forward, it faces challenges common to specialized datasets. With 669 songs (approximately 15.4 hours), the dataset is relatively small for training large Transformers from scratch; the authors mitigated this by pre-training on the Lakh MIDI Dataset. Additionally, class imbalance in the emotion tags affected the performance of baseline classifiers.
Future research directions include using the dataset for multi-instrumental music transcription, source separation, and more advanced structural analysis of 80s-era compositions.
Summary updated