andreasjansson / synth-one-liner

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

replicate.com
Total runs: 205
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Github
Model's Last Updated: September 18 2023

Introduction of synth-one-liner

Model Details of synth-one-liner

Readme

Synth one-liner

In 2011 Viznut posted a blog post called “Algorithmic symphonies from one line of code – how and why?” . He described a way to generate algorithmic 8-bit synth compositions in a single line of C. For example,

main(t){for(t=0;;t++)putchar(t*(((t>>12)|(t>>8))&(63&(t>>4))));}

You’d compile that program and pipe it to your soundcard, and it would play an ever-evolving piece of noise music.

This is so fucking cool. That little equation t*(((t>>12)|(t>>8))&(63&(t>>4))) will tweak the bits of the value of the current time step as a kind of chaos process that actually sounds great!

I wanted to see if I could do that automatically.

Automatic one-liners

Using CodeLlama 7B I make a prompt with a bunch of one-liners from IRC .

I then use Llama.cpp’s grammar decoder to constrain the output to valid one-liners. Those one-liners are then evaluated and converted to audio.

Cover image by https://replicate.com/yash-banka/moon

Pricing of synth-one-liner replicate.com

Run time and cost

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

Runs of andreasjansson synth-one-liner on replicate.com

205
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About synth-one-liner replicate.com Model

synth-one-liner replicate.com

synth-one-liner replicate.com is an AI model on replicate.com that provides synth-one-liner's model effect (Generate "algorithmic symphony" one-liners with grammar-constrained CodeLlama), which can be used instantly with this andreasjansson synth-one-liner model. replicate.com supports a free trial of the synth-one-liner model, and also provides paid use of the synth-one-liner. Support call synth-one-liner model through api, including Node.js, Python, http.

andreasjansson synth-one-liner online free

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

andreasjansson synth-one-liner online free url in replicate.com:

https://replicate.com/andreasjansson/synth-one-liner

synth-one-liner install

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

synth-one-liner install url in replicate.com:

https://replicate.com/andreasjansson/synth-one-liner

synth-one-liner install url in github:

https://github.com/andreasjansson/synth-one-liner

Url of synth-one-liner

Provider of synth-one-liner 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

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