Generating Sample-Based Musical Instruments Using Neural Audio Codec Language Models

Shahan Nercessian, Johannes Imort, Ninon Devis, Frederik Blang
7/22/2024
eess.AScs.LGcs.SD

No confident code implementation found for this paper.

Abstract

In this paper, we propose and investigate the use of neural audio codec language models for the automatic generation of sample-based musical instruments based on text or reference audio prompts. Our approach extends a generative audio framework to condition on pitch across an 88-key spectrum, velocity, and a combined text/audio embedding. We identify maintaining timbral consistency within the generated instruments as a major challenge. To tackle this issue, we introduce three distinct conditioning schemes. We analyze our methods through objective metrics and human listening tests, demonstrating that our approach can produce compelling musical instruments. Specifically, we introduce a new objective metric to evaluate the timbral consistency of the generated instruments and adapt the average Contrastive Language-Audio Pretraining (CLAP) score for the text-to-instrument case, noting that its naive application is unsuitable for assessing this task. Our findings reveal a complex interplay between timbral consistency, the quality of generated samples, and their correspondence to the input prompt.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nercessian2024generating,
  title  = {Generating Sample-Based Musical Instruments Using Neural Audio Codec Language Models},
  author = {Shahan Nercessian and Johannes Imort and Ninon Devis and Frederik Blang},
  year   = {2024},
  eprint = {2407.15641},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.15641v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.15641.svg)](https://codeofpaper.com/paper/2407.15641)

Discussion