The Fifth Elephant 2023 Winter

The Fifth Elephant 2023 Winter

On the engineering and business implications of AI & ML



Akshat Gupta


Automated Genre Based Music Morphing using AI

Submitted Sep 30, 2023


In the realm of audio processing and music production, automated genre-based audio morphing is an emerging field that merges the creative boundaries of different music genres through the power of machine learning and natural language processing (NLP). This innovative approach leverages textual prompts to drive the transformation of audio content, transcending traditional genre constraints and enabling new forms of musical expression. This can then be used as an isolated content for personalized recommendation


Leveraging state of the art models

  1. MusicGen (by Meta) - To drive the music conditioning based on prompts
  2. LP-MusicCaps: LLM-Based Pseudo Music Captioning - Retrieve tagging based on music attributes

We finetune them on our dataset, which we created weakly using ChatGPT and in house annotations. We also used 3P datasets like WavCaps to augment our dataset iwth real world examples. We achieve audio morphing in ~30 seconds for a 5 min video.

Deployment at scale

We are deploying at scale in near future, but this will directly impact the liquidity, we have atleast 5-6 variants for the same audio (which would mean 5-6x liquidity) which then we can use in downstream tasks (like personalised recommendation, etc)

Key Points to be discussed in the talk-

  1. End to End pipeline for music morphing
  2. Finetuning on our dataset
  3. Challenges faced in terms of deployment (multi GPU) + reducing latencies.
  4. How this can be used as a personalised content for recommendation

Sample Example
music input
Theme - beats funk 80s music
Output -


{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hybrid access (members only)

Hosted by

All about data science and machine learning

Supported by


Providing all founders, at any stage, with free resources to build a successful startup.