Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Low-latency Music Generation Using AI
Örebro University, School of Science and Technology.
2024 (English)Independent thesis Basic level (professional degree), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

In this BSc. Thesis the world of AI-generated music is explored. The paper focuses on generating waveforms from text prompts, where the generated waveforms are stored in a listenable format, such as .wav or .mp3. The project explores a model called MusicGen, which is one of the current state-of-the-art models in text-to-music. During this project several MusicGen models of different sizes have been trained. The relationship between the number of parameters and inference time is investigated. The smallest trained model with 1M parameters, achieves an inference time of around 1 second running on a CPU. Furthermore, this project highlights the difficulties when training models like MusicGen, where data is the most prominent issue. To combat limited access to data, this paper also proposes 2 solutions, namely knowledge distillation and self-labeled music. In terms of quality, the models have been evaluated using Contrastive Language-Audio Pretraining (CLAP) and Frechet Audio Distance (FAD). CLAP is a measure of how well the generated music aligns with the text prompt, and FAD is a measurement of the overall audio quality. A subjective quality evaluation has also been done. This paper shows that after around 50M parameters MusicGen’s inference time on a CPU becomes longer than the duration of the generated audio. This is an important threshold as a real-time model should generate music faster than it takes to listen to it.

Place, publisher, year, edition, pages
2024.
Keywords [en]
BSc, Thesis, Computer Science, Computer Engineering, AI, text-to-music, MusicGen
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:oru:diva-115240OAI: oai:DiVA.org:oru-115240DiVA, id: diva2:1887231
Subject / course
Computer Engineering
Supervisors
Examiners
Available from: 2024-08-07 Created: 2024-08-07 Last updated: 2024-08-07Bibliographically approved

Open Access in DiVA

Low-latency Music Generation using AI(1149 kB)483 downloads
File information
File name FULLTEXT01.pdfFile size 1149 kBChecksum SHA-512
8c4839b0a5a1968c630e363bc1bd1d0ae461d475f342427dc4e6e89d1420f6ae6103affb04c97dba29d0d472d20f0747d6b0e0a22edc44f62a3eea64f99e2043
Type fulltextMimetype application/pdf

By organisation
School of Science and Technology
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 484 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 338 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf