andreasjansson / cantable-diffuguesion

Bach chorale generation and harmonization

replicate.com
Total runs: 5.8K
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Github
Model's Last Updated: January 11 2023

Introduction of cantable-diffuguesion

Model Details of cantable-diffuguesion

Readme

Cantable Diffuguesion

Bach chorale generation and harmonization

Usage

You can use Cantable Diffuguesion to generate Bach chorales unconditionally, or harmonize melodies or parts of melodies.

For harmonization we use tinyNotation , with a few modifications: * The ? symbol followed by a duration denotes a section that the model should in-paint, e.g. ?2 will in-paint a half note duration. * The ?* symbol will in-paint everything between a defined beginning and an end, e.g. c2 ?* B4 c2 will start the piece with c2 , then generate notes for the specified duration, and finally the melody will end with B4 c2 . * Optional bars | are ignored and can be used to make the melody notation more pleasing.

Training

Cantable Diffuguesion is a diffusion model trained to generate Bach chorales. Four-part chorales are presented to the network as 4-channel arrays. The pitches of the individual parts are activated in the corresponding channel of the array. Here is a plot of a single input example, where the four channels are plotted on separate images:

As in Stable Diffusion, a U-Net is trained to predict the noise residual.

After training the generative model we add 8 channels to the inputs, with the middle four channels representing a mask, and the last four channels are masked chorales. We randomly mask the four channels individually, as opposed to Stable Diffusion Inpainting that use a one-channel mask.

The two plots below show a mask and a masked input array:

Dataset

We use all four-part pieces in the Music21 Bach Chorales corpus . 85% are used for training, the rest for validation and testing.

Inspiration

Pricing of cantable-diffuguesion replicate.com

Run time and cost

This model runs on Nvidia A100 (80GB) GPU hardware . We don't yet have enough runs of this model to provide performance information.

Runs of andreasjansson cantable-diffuguesion on replicate.com

5.8K
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About cantable-diffuguesion replicate.com Model

cantable-diffuguesion replicate.com

cantable-diffuguesion replicate.com is an AI model on replicate.com that provides cantable-diffuguesion's model effect (Bach chorale generation and harmonization), which can be used instantly with this andreasjansson cantable-diffuguesion model. replicate.com supports a free trial of the cantable-diffuguesion model, and also provides paid use of the cantable-diffuguesion. Support call cantable-diffuguesion model through api, including Node.js, Python, http.

andreasjansson cantable-diffuguesion online free

cantable-diffuguesion replicate.com is an online trial and call api platform, which integrates cantable-diffuguesion's modeling effects, including api services, and provides a free online trial of cantable-diffuguesion, you can try cantable-diffuguesion online for free by clicking the link below.

andreasjansson cantable-diffuguesion online free url in replicate.com:

https://replicate.com/andreasjansson/cantable-diffuguesion

cantable-diffuguesion install

cantable-diffuguesion is an open source model from GitHub that offers a free installation service, and any user can find cantable-diffuguesion on GitHub to install. At the same time, replicate.com provides the effect of cantable-diffuguesion install, users can directly use cantable-diffuguesion installed effect in replicate.com for debugging and trial. It also supports api for free installation.

cantable-diffuguesion install url in replicate.com:

https://replicate.com/andreasjansson/cantable-diffuguesion

cantable-diffuguesion install url in github:

https://github.com/andreasjansson/cantable-diffuguesion

Url of cantable-diffuguesion

cantable-diffuguesion replicate.com Url

cantable-diffuguesion Owner Github

Provider of cantable-diffuguesion replicate.com

Other API from andreasjansson

replicate

Return CLIP features for the clip-vit-large-patch14 model

Total runs: 83.4M
Run Growth: 0
Growth Rate: 0.00%
Updated:March 06 2023
replicate

Answers questions about images

Total runs: 29.6M
Run Growth: 0
Growth Rate: 0.00%
Updated:November 21 2023
replicate

The DeepFloyd IF model has been initially released as a non-commercial research-only model. Please make sure you read and abide to the license before using it.

Total runs: 2.0M
Run Growth: 0
Growth Rate: 0.00%
Updated:April 29 2023
replicate

Create tileable animations with seamless transitions

Total runs: 529.1K
Run Growth: 0
Growth Rate: 0.00%
Updated:February 13 2023
replicate

Monster Labs' control_v1p_sd15_qrcode_monster ControlNet on top of SD 1.5

Total runs: 402.0K
Run Growth: 0
Growth Rate: 0.00%
Updated:September 18 2023
replicate

Stable Diffusion fined-tuned on frames from Monkey Island 1 and 2

Total runs: 2.4K
Run Growth: 0
Growth Rate: 0.00%
Updated:November 02 2022
replicate

Suite of models to evaluate the image quality of text-to-image models with respect to their input prompts.

Total runs: 1.9K
Run Growth: 0
Growth Rate: 0.00%
Updated:October 15 2024
replicate

FLUX.1 [dev] trained on the Replicate goo

Total runs: 1.3K
Run Growth: 0
Growth Rate: 0.00%
Updated:August 23 2024
replicate

An open-source model for program synthesis. Competitive with OpenAI Codex.

Total runs: 1.1K
Run Growth: 0
Growth Rate: 0.00%
Updated:May 25 2022
replicate

Flux LoRA trained on generated images of random shapes

Total runs: 897
Run Growth: 0
Growth Rate: 0.00%
Updated:August 22 2024
replicate

Llama-2 13B with support for grammars and jsonschema

Total runs: 748
Run Growth: 0
Growth Rate: 0.00%
Updated:September 20 2023
replicate

Monkey Island database for Retrieval-augmented Diffusion model

Total runs: 622
Run Growth: 0
Growth Rate: 0.00%
Updated:August 20 2022
replicate

Generate plasma shader equations

Total runs: 466
Run Growth: 0
Growth Rate: 0.00%
Updated:December 06 2023
replicate

Implicit neural differentiable FM synthesizer

Total runs: 390
Run Growth: 0
Growth Rate: 0.00%
Updated:October 28 2022
replicate

Generate music based on the Monkey Island theme using the FIGARO model

Total runs: 305
Run Growth: 0
Growth Rate: 0.00%
Updated:August 20 2022
replicate

Image similarity metric that that compares a reference image to a set of images.

Total runs: 299
Run Growth: 0
Growth Rate: 0.00%
Updated:October 15 2024
replicate

Generate "algorithmic symphony" one-liners with grammar-constrained CodeLlama

Total runs: 205
Run Growth: 0
Growth Rate: 0.00%
Updated:September 18 2023
replicate

Inpainting and video2video experiments with Wan 2.1

Total runs: 171
Run Growth: 0
Growth Rate: 0.00%
Updated:March 11 2025
replicate

Random rectangles, ellipses, lines, in random colors

Total runs: 87
Run Growth: 0
Growth Rate: 0.00%
Updated:August 22 2024