keonroohparvar/ContinuerPipeline

A pipeline to extend Jazz music using a novel Latent Diffusion Model architecture.

Python

0

79 commits

updated Jan 13, 2026

See the code

README

ContinuerPipeline

This repo contains most of the work done for my Master's Thesis. The Continuer Pipeline is a pipeline that utilizes a novel Latent Diffusion model architecture to take a piece of music and extend it by 5 seconds.

Thesis Document

My thesis describes how this technology works in depth, but at a high level, the Continuer Pipeline simply takes in a waveform and predicts what the next 5-second chunk will sound like. It does this using a novel Latent Diffusion model architecture, and internally converts all waveforms to spectrograms to handle this problem in the image space.

To read the thesis and learn more about the project, please visit the Thesis' official page at the Cal Poly Digital Commons - A Novel Approach to Extending Music Using Latent Diffusion.

Repository Organization

The file structure of this repo is the following:

.
├── legacy                 # Contains most of the development/attempted methods to get this project working
├── .gitignore             # Basic Python .gitignore with custom ignores for local data folders
├── results                # Folder with some simple examples of           
├── README.md              # This file
└── continuer_pipeline.py  # The main file that contains the pipeline implementation

The pipeline is implemented at a high level in the continuer_pipeline.py script, and it extends the DiffusionPipeline class from HuggingFace to allow ease of use.

My trained models responsible for the diffusion process can be found on the Hugging Face hub here; please refer to the bottom of the continuer_pipeline.py file to see an example usage of how to use the pipeline.

keonroohparvar/ContinuerPipeline

A pipeline to extend Jazz music using a novel Latent Diffusion Model architecture.

Python

0

79 commits

updated Jan 13, 2026

See the code

README

ContinuerPipeline

This repo contains most of the work done for my Master's Thesis. The Continuer Pipeline is a pipeline that utilizes a novel Latent Diffusion model architecture to take a piece of music and extend it by 5 seconds.

Thesis Document

My thesis describes how this technology works in depth, but at a high level, the Continuer Pipeline simply takes in a waveform and predicts what the next 5-second chunk will sound like. It does this using a novel Latent Diffusion model architecture, and internally converts all waveforms to spectrograms to handle this problem in the image space.

To read the thesis and learn more about the project, please visit the Thesis' official page at the Cal Poly Digital Commons - A Novel Approach to Extending Music Using Latent Diffusion.

Repository Organization

The file structure of this repo is the following:

.
├── legacy                 # Contains most of the development/attempted methods to get this project working
├── .gitignore             # Basic Python .gitignore with custom ignores for local data folders
├── results                # Folder with some simple examples of           
├── README.md              # This file
└── continuer_pipeline.py  # The main file that contains the pipeline implementation

The pipeline is implemented at a high level in the continuer_pipeline.py script, and it extends the DiffusionPipeline class from HuggingFace to allow ease of use.

My trained models responsible for the diffusion process can be found on the Hugging Face hub here; please refer to the bottom of the continuer_pipeline.py file to see an example usage of how to use the pipeline.