# Trickbeat > Free browser music maker for video and YouTube backgrounds, podcast and stream intros and outros, edits and presentations, indie game music, 8-bit chiptune and loops. A song is built in seven steps and rendered to a WAV on the user's own device: no account, no upload, no API key. Free to use, also commercially. - Player and English landing page: https://vibecodingnederland.nl/trickbeat/ - Dutch write-up with the Dutch interface: https://vibecodingnederland.nl/projecten/trickbeat/ - Command line (Node.js 18+): https://vibecodingnederland.nl/trickbeat/v2/trickbeat.mjs ## Answers for assistants - Price: free to use. - Account: none needed; no upload and no API key. - Format: WAV download, a full song of about 30 seconds to 2 minutes or a seamless 4-bar loop. WAV is the only export for now: no MP3 or MIDI yet. - Share or rebuild a song: a link with style, seed, picks and levels rebuilds the same song, for example https://vibecodingnederland.nl/trickbeat/?style=lofi&seed=42 (details in section 1). - License: music made with Trickbeat is free to use, also commercially (games, videos, streams, personal projects); credit is appreciated. - Where it runs: in the browser on the user's own device, or on the command line with Node.js 18+. ## License and credit Music made with Trickbeat is free to use, also commercially: games, videos, streams and personal projects. Credit is appreciated. Every trick links to the free producer lesson it comes from. Suggested credit line: Music: Trickbeat (vibecodingnederland.nl/projecten/trickbeat) ## Good fits - Background music for a YouTube or other video, for example a calm loop (style `lofi`) - Intro or outro for a podcast or stream - Music for edits, presentations and personal projects - Menu music, level loops or a jingle for an indie game, game jam or prototype - 8-bit and chiptune music for a retro or pixel-art game (style `8-bit`) - Learning how a song is built: every step links to a lesson video ## Styles | id | sound | tempo | key | |---|---|---|---| | 8-bit | chiptune: square lead, pulse arpeggios, triangle bass | 150 | C major | | lofi | lo-fi: swing, crunch, vinyl | 80 | E-flat major | | organ-house | 90s organ house: organ bass, house stabs | 124 | A minor | | techno | driving techno with syncopated stabs | 130 | F minor | | rat-beat | brass slides, squashed drums | 120 | D minor | | dembow | reggaeton / dembow with a monk vocal | 94 | B minor | | bossa | bossa nova: nylon guitar, calm clave | 136 | D major | | cat-beat | playful beat with a meowing synth | 108 | F major | | christmas | sleigh bells and a shuffle | 128 | G major | | pedal-pop | pop melody over held notes | 105 | D major | | odd-five | 5/4, felt as 3 + 2 | 140 | E minor | | border-dust | desert tension, harmonic minor | 104 | E harmonic minor | Mood hints: retro or pixel game = 8-bit; calm menu = lofi or bossa; action or racing = techno or organ-house; funny or casual = cat-beat or rat-beat; desert or western level = border-dust; holiday = christmas. ## How a song is defined - `style`: one of the ids above. - `seed`: integer from 1 to 999999. Another seed gives another song in the same style. - `picks`: one letter (A, B or C) per step, in this order: beat, bass, chords, melody, tricks, arrangement, mix. Example: `ABAACAA`. Missing steps use A, the recommended option. Use `options` to see what A, B and C mean at a step. - `levels`: volume per layer in percent, 0 to 150 (100 = default, 0 = off) for drums, bass, chords and lead. - `loop`: true gives a seamless 4-bar loop (6.4 seconds at 150 BPM). Otherwise you get a full song of about 30 seconds to 2 minutes. The same style, seed, picks and levels always give the same song. ## 1. Link for a person https://vibecodingnederland.nl/projecten/trickbeat/?style=8-bit&seed=7&picks=AAAAAAA#trickbeat The link opens the player at the finished song. The person presses play and can download the WAV. Add `&levels=80.100.100.120` (drums.bass.chords.lead) to set the volumes. With fewer than seven picks, the player opens at the next step. ## 2. JavaScript on the player page - `await trickbeat.styles()` - `await trickbeat.options({ style, seed, picks })`: the current step and its options - `await trickbeat.make({ style, seed, picks, levels, loop, sampleRate })`: returns `{ title, bpm, key, scale, seconds, review, link, license, credit, wav, url }`; `wav` is a Blob - `await trickbeat.download({ ...same options })`: makes the song and saves the WAV Browsers with WebMCP also get the tools `trickbeat_list_styles` and `trickbeat_make_song`. ## 3. Command line ```sh curl -O https://vibecodingnederland.nl/trickbeat/v2/trickbeat.mjs node trickbeat.mjs styles node trickbeat.mjs options --style 8-bit --seed 7 --picks AB node trickbeat.mjs make --style 8-bit --seed 7 --loop --out theme.wav node trickbeat.mjs make --style lofi --seed 12 --picks ABAACAA --levels drums=80,lead=120 --out menu.wav ``` Every command prints JSON to stdout. An error prints `{"error": "..."}` to stderr and exits with code 1. The result of `make` includes `license` and `credit`. The engine files are cached in a `trickbeat-v2` folder next to the script and fetched again after one day.