Device-Guided Music Transfer

Manh Pham Hung, Changshuo Hu, Ting Dang, Dong MaarXiv 2025 · DOI

Abstract

Every playback device—from high-end studio monitors to budget earbuds—possesses a unique "sonic signature" defined by its frequency response. While music style transfer is well-explored, device-aware transformation remains a challenge. We present DeMT (Device-guided Music Transfer), a novel framework that utilizes Vision-Language Models (VLMs) to interpret hardware characteristics as visual patterns. By treating frequency response curves as images, DeMT effectively conditions a hybrid transformer model to mimic specific hardware profiles or optimize audio for target devices. Our results demonstrate high-fidelity transfer with an average SNR of 19.56 dB, highlighting the efficacy of visual reasoning in audio processing.

Introduction

The perceived quality of music is heavily influenced by the hardware used for playback. A track optimized for studio speakers may sound "thin" or "tinny" on airline earbuds due to the device's specific frequency response curve (FRC). Traditional equalization (EQ) requires manual expertise and often fails to capture the complex, non-linear characteristics of varied hardware.

Existing AI-driven audio methods often treat hardware properties as abstract numerical vectors, which can lack the structured, interpretable context necessary for robust generalization. To address this, we introduce DeMT, a framework that bridges computer vision and audio processing to enable intuitive, device-guided music transformation.

Methodology: Seeing the Sound

The core innovation of DeMT lies in its use of visual perception to understand audio hardware. The framework consists of three primary components:

  1. Visual Device Embeddings: Instead of raw decibel values, a device’s FRC is converted into a line graph. A pre-trained Vision-Language Model (Llama 3-2 11B Vision) "reads" this graph, allowing the system to reason about spectral features—such as sub-bass roll-off or treble peaks—as visual patterns.
  2. Embedding Pool (EP): To ensure robustness, multiple variations of embeddings are generated and stored. Random sampling during training helps the model adapt to different visual representations of the same hardware signature.
  3. FiLM-Conditioned Hybrid Transformer: The audio engine, based on a modified Demucs v4 architecture, incorporates these visual embeddings via Feature-wise Linear Modulation (FiLM). This mechanism shifts and scales audio features in real-time to align with the target device's profile.
The DeMT framework overview, showing the Device Embedding Extraction using a VLM and the FiLM-conditioned audio modelling.

Experimental Setup and Datasets

To evaluate DeMT, we constructed a custom dataset focused on "in-the-wild" ear-level playback. Using an IEC-711 compliant artificial ear model equipped with a condenser microphone, we recorded 600 minutes of music from the GTZAN dataset across six distinct devices, ranging from budget airline earphones to premium Sony WH-1000XM5 headphones. The industry-standard Harman target curve was also utilized as a benchmark for "ideal" frequency response.

Results and Key Insights

DeMT demonstrates significant improvements over baseline models that lack visual conditioning. Quantitative evaluation using Signal-to-Noise Ratio (SNR) and Short-Time Objective Intelligibility (STOI) revealed:

  • High Fidelity: DeMT achieved an average SNR of 19.56 dB and a STOI of 98.91%.
  • Ablation Analysis: Removing the VLM-based visual conditioning caused the SNR to drop to 2.31 dB, confirming that the "visual" interpretation of the FRC is critical to the model's performance.
  • Few-Shot Adaptation: The model can learn new hardware profiles with as little as 2% to 5% of a new device's data, making it highly practical for consumer applications.
Spectrogram comparisons of input, target, and DeMT output across various playback devices, demonstrating the model's ability to match target spectral characteristics.

A key insight from this work is that VLMs are inherently better at capturing the semantic context of hardware behavior when presented with graphical data rather than raw numerical vectors. Furthermore, providing the Harman curve as a reference point during the VLM's reasoning process significantly boosted performance.

Limitations and Future Work

While DeMT represents a breakthrough in hardware-aware audio, several areas for future research remain. The current study focused on six devices in a controlled, silent environment. Future iterations should explore "zero-shot" generalization to entirely unseen hardware and account for real-world factors like ambient noise and Active Noise Cancellation (ANC). Additionally, optimizing the computational efficiency of the 11B parameter VLM for real-time mobile use is a priority for deployment.

Summary updated

BibTeX
@misc{hung2025device,
  author = {Manh Pham Hung and Changshuo Hu and Ting Dang and Dong Ma},
  title = {{Device-Guided Music Transfer}},
  year = {2025},
  eprint = {2511.17136},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.17136},
}
Figure