procedural-lofi

Featured

Generate a royalty-free lofi (or rain / typing / chime / any ambient) soundtrack ENTIRELY in code — no sampled audio ships. Fingerprint a beloved reference recording, shape synthesis to the measured spectral + temporal curve, freeze one human-blessed take into constant tables, and re-synthesize at launch (loop the bed, scatter the foreground → never repeats, ~0 KB, no licensing risk). Use when adding ambient/generative audio to an app, game, terminal UI, or site, or on 'add another lofi/rain/ambient sound'. Bundles the parameter tables (LOFI-BIBLE.md) + the numpy fingerprint/synth/freeze pipeline.

AI & Automation 474 stars 29 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Procedural Lofi — build a soundtrack in code, not in a sample pack This skill is the end-to-end recipe for a lofi bed (and its sibling ambient sounds: rain, keystrokes, door chimes, printer, water cooler…) that is **synthesized at runtime from constants** — zero audio files, zero royalties, and no two minutes ever sound the same. It was proven out on a real shipping product (an animated pixel-art office that plays ambient sound scaled by how busy the on-screen agents are), then distilled here. Two documents ship alongside this one: - **`reference/LOFI-BIBLE.md`** — the parameter tables. Harmony (chord grammar, voice-leading, register clamps), groove (swing %, drag ms, velocity curves), per-voice sound design (pad / bass / EP keys / sparkle / drums / texture / tape chain), mix targets (band shares, HPF strategy, loudness), and generative lessons from prior art. Every number is cited and, where it conflicts with a measurement, the measurement wins. - **`scripts/`** — the Python (numpy) pipeline: `analyze_*.py` (fingerprint a reference), `synth_audition.py` (a runnable numpy synth that produces `.wav` auditions), and `export_score.py` (freeze a good take into a constants table for the port). Read those two when you reach the step that needs them. This file is the map. --- ## The core idea (why code, not samples) A sampled lofi loop is: (a) a licensing liability, (b) heavy to bundle, and (c) audibly repetitive — the human brain catches a loop seam on the 3rd ...

Details

Author
IvanWng97
Repository
IvanWng97/pixtuoid
Created
3 months ago
Last Updated
today
Language
Rust
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

sound

Sound and music with no audio files — synthesized clicks, chimes, thumps, ambience and a soundtrack. Use when adding sound effects, audio feedback, music, ambience or a soundscape to a game, when sound should react to what is happening, when audio is silent or only plays once, or when a burst of sounds clips into a click.

38 Updated 2 weeks ago
C-Aniruddh
AI & Automation Listed

fabius-ludus

fabius's game-craft layer — how to make a small game that's actually fun and actually ships: find the core loop first, add game feel (juice) deliberately, model state as an explicit machine, hold the pixel-art lane, balance one knob at a time, and scope to a jam-sized cut. Use when building a game, a game prototype, a game mechanic, a game loop, a playable, an interactive toy, a sticker/character game, or anything with win/lose/score state — or when the user says "make a game", "the loop isn't fun", "add juice", "balance this", or "make it feel good to play". The core-loop template, the juice checklist, the state-machine skeleton, and the pixel-art constants live in references/game-playbook.md; the engine recipes and feel patterns live in references/engine-recipes.md, bundled and indexed by CORPUS.md, paged in on demand.

2 Updated yesterday
shear559
AI & Automation Solid

iterate-fat-llama

End-to-end iterate-and-ship loop for fat_llama — refreshes the review-current-state factblock, runs test-fat-llama, and dispatches generate-code to fix what it finds, repeating up to 5 cycles or until audio quality is fully satisfactory; rolls back to whichever cycle scored best if none was fully satisfactory; then regenerates docs, bumps the version, and opens a PR for review. Use when asked to autonomously iterate on fat_llama's code/tests/audio quality and ship the result as a reviewable PR, not just check it once.

14 Updated yesterday
bkraad47