Madlib Bridge

填空桥段 · 把桥段里的词换成你的

Bridges are where songs change the subject. We fill proven bridge shapes with random words to break your writer's block — then you edit the result until it sounds like you.

Last updated: November 2026 · Reviewed by the SongSpark editorial team最后更新:2026 年 11 月 · 由 SongSpark 编辑团队 审校

Four bridge skeletons, filled with random words

Madlib Bridge contains four fixed bridge shapes. Each is a short paragraph of three or four sentences with nine to twelve blanks, and each blank draws from its own ten-word bank. You press a template chip, the blanks fill with random words, and the finished paragraph appears in an editable text box. That is the whole mechanism. The tool does not know your song and does not produce line breaks, but it does keep the single previous fill so that Undo has something to restore.

The paragraph format is important to understand, because bridges are usually written as two to four short lines. What you get here is connected prose: "Every window I post reminds me of the river bend, where we sang under the phone screen. If I could mend the melody, I'd whistle it for the stranger." Your first job after filling is editorial — choose one sentence, break it at the commas, and throw the rest away.

The chips are labelled Template 1 to Template 4 and nothing else, so the only way to learn which shape is which is to click through all four once. Each has a different bias: one is organised around a repeated memory, one around a "we were X then" contrast, one around something hidden in a container, and one around an object left behind. Two of them run long enough that you will almost certainly edit them down.

填空桥段一共有四种固定的桥段骨架,每一种都是三到四句的短段落,含九到十二个空位,每个空位都从自己那一个十字词库里取词。点一个模板标签,空位被随机填满,成品段落出现在可编辑的文本框里。机制就这么多:它不知道你的歌在讲什么,也不会帮你断行,但会保留上一版填充,好让「撤销」有东西可恢复。

段落这个格式必须搞清楚,因为桥段通常是二到四句短行。这里给你的是连贯的散文:"Every window I post reminds me of the river bend, where we sang under the phone screen. If I could mend the melody, I'd whistle it for the stranger." 填完之后第一件事是编辑:挑一句,在逗号处断开,其余全删掉。

标签只写"模板 1"到"模板 4",没有别的提示,所以想知道哪个骨架长什么样,只能把四个都点一遍。四个各有偏向:一个围绕反复出现的记忆,一个围绕"那年我们如何"的对比,一个围绕藏在容器里的东西,一个围绕被留下的物件。其中两个句子偏长,你几乎一定会把它们删短。

How to use Madlib Bridge

  1. Click a template chip, or the Fill the blanks button. Both produce a result immediately; the chip also switches which of the four shapes you are filling.
  2. Read the whole paragraph once before changing anything. You are looking for one sentence that could plausibly follow your chorus.
  3. Delete the other sentences. Keep one. A bridge is short; three sentences of filler will undo the tension you just built.
  4. Break the survivor at its commas into two to four lines, one clause per line, so it can be sung.
  5. Replace the words that make no sense, starting with the verbs. Then fix the tense so the segment matches your verse.
  6. Use the Copy button last, because it copies whatever is in the box at that moment — edited or raw. Refilling the blanks replaces your work with no warning and no undo.
  1. 点一个模板标签,或按"填词"。两者都会立刻出结果;点标签同时还会切换你在填四种骨架中的哪一个。
  2. 先整段读一遍,别急着改。你要找的是那一句能接在副歌之后的话。
  3. 把其它句子删掉。只留一句。桥段本来就短,三句废话会把你刚建立的张力全部抵消。
  4. 在逗号处断开,切成两到四行,一行一个分句,这样才能唱。
  5. 先改那些说不通的词,从动词开始。然后调整时态,让这一段和主歌对得上。
  6. 最后才按"复制",因为它复制的是当时框里的内容——改过的或原始的。重新填词会直接覆盖你的修改,既不提示也不可撤销。

How it works under the hood

The data lives in two structures inside the shared lyric engine: MADLIB_TEMPLATES, an array of four strings, and MADLIB_BANKS, an object of sixteen named lists holding 158 words between them. The bank names are deliberately narrow: noun through noun7, verb, verb2, verb3, verb4, adj, adj2, place and someone. Fifteen of the lists contain ten words; the someone list contains eight, which is why "nobody" and "the stranger" show up a little more often than you would expect.

Filling is a single regular-expression pass. Every {key} in the template is replaced by a random pick from the matching bank, and if a key has no bank the code falls back to the literal string "something" — that path is unreachable while the four templates exist, but it is there. Nothing checks that a noun which is supposed to be a place reads like a place, and nothing adjusts a verb's form. The consequence is visible in the output: verb2 is nine parts past tense — "broke", "stole", "sang", "bent", "raced" — plus one base form, "dance", while verb and verb3 hold base forms, so a single paragraph can slip from "where we sang" to "If I could mend", which is a tense clash rather than a stylistic choice. The blank counter under the box is just the result of matching {...} in the template string, not the number of words the engine actually changed.

Rendering is immediate and synchronous: the button handler reads the template, writes the filled string into the textarea, counts the slots and updates the small line beneath it with a bilingual message. There is no history, no diff, no variant list and no download. Everything you see is a single string in a textarea, which means your edits and the generated text are the same object — editing is expected, not supported as a feature.

数据放在共享歌词引擎里的两个结构里:MADLIB_TEMPLATES 是四条字符串的数组,MADLIB_BANKS 是十六个命名列表组成的对象,合计 158 个词。列表名字故意定得很窄:noun 到 noun7、verb、verb2、verb3、verb4、adj、adj2、place、someone。其中十五个列表各十个词,someone 只有八个——所以 "nobody" 和 "the stranger" 出现得比你预期稍多。

填充只做一次正则替换:模板里每个 {键名} 都从对应的词库随机取一个词;若某个键没有词库,代码会退回字面量 "something"——只要那四个模板还在,这条路径走不到,但它确实存在。没有任何东西检查"本该是地点的名词是否读起来像地点",也没有东西调整动词形式。后果在输出里直接可见:verb2 里十个词有九个是过去式(broke、stole、sang、bent、raced),还混着一个原形 dance,而 verb 和 verb3 基本都是原形,所以同一段话可以从 "where we sang" 滑到 "If I could mend",那是时态冲撞,不是风格选择。框下面那个空格计数,只是匹配模板字符串里 {...} 的结果,并不等于引擎真正替换过的词数。

渲染是即时且同步的:按钮处理器读取模板,把填好的字符串写进 textarea,统计空位数量,再更新下面那行双语提示。没有历史、没有对比、没有多版本、不能下载。你看到的一切就是 textarea 里的一个字符串——你的编辑和生成文本是同一个对象,编辑本来就是预期行为,而不是被特意支持的功能。

A worked example

One raw fill of Template 1, straight out of the engine:

模板 1 直接填出来的一次原始结果:

Every window I post reminds me of the river bend, where we sang under the phone screen. If I could mend the melody, I'd whistle it for the stranger. Somewhere between chapter and habit, I found my guitar case.

Three problems: you do not post a window, a phone screen is not somewhere you stand under, and the last sentence is filler. Keep the skeleton, replace the words, cut the third sentence:

Every letter I post reminds me of the river bend
where we danced under the porch light
If I could rewind that melody
I'd sing it for you
Every window I post reminds me of the river bend, where we sang under the phone screen. If I could mend the melody, I'd whistle it for the stranger. Somewhere between chapter and habit, I found my guitar case.

三个问题:你不会"post a window"(寄一扇窗);电话屏幕下面站不了人;最后一句是填充。保留骨架,替换词语,把第三句删掉:

我每寄出一封信,就想起那道河湾
我们曾在门廊灯下跳舞
如果我能把那段旋律倒回去
我会唱给你听

Notice what survived: the shape "Every X I Y reminds me of Z / where we ... / If I could ... / I'd ...". That four-beat shape is the actual product. The nouns are yours, the melody is still missing, and the tense is now consistent, which matters because the original slipped from "we sang" to "I'd whistle" inside two clauses.

注意活下来的是什么:那个"每一次 X 我 Y 就想起 Z/我们曾在……/如果我能……/我会……"的四拍结构。这个结构才是产品,名词是你的,旋律还缺,时态现在统一了——这点很关键,原句在两小句之内就从 "we sang" 滑到 "I'd whistle"。

Songwriter's tips

  • Trust the skeleton, not the nouns. A bridge needs a turn, and the turn lives in the sentence shape: "somewhere between A and B" does the work even when A and B are nonsense.
  • Fix the verb before the noun. A wrong verb breaks a line; a strange noun can survive if the verb is right.
  • Read it aloud at the tempo you intend to sing. Prose that reads fine can be unsingable once the commas become breaths.
  • Delete until one sentence is left. If a sentence cannot survive being removed, it was padding.
  • Do not keep a fill you would be embarrassed to show. The tool is a page-turner, not a collaborator; treat every output as a first draft you must beat.
  • Write the bridge's first line yourself. Use the fill only for the middle, where the subject is supposed to shift.
  • 信骨架,不要信名词。桥段要有一个转折,而转折住在句式里:"在 A 和 B 之间"哪怕 A、B 都是乱填的也照样起作用。
  • 先改动词,再改名词。动词错了整句就塌;动词对了,名词怪一点也能活。
  • 用你打算唱的语速念一遍。读起来通顺的散文,一旦逗号变成换气口,可能根本唱不出来。
  • 删到只剩一句。删掉就活不下来的句子,本来就是填充。
  • 羞于展示的填充不要留。这工具是翻页器,不是合作者;每一次输出都是你必须打败的初稿。
  • 桥段的第一句自己写。只在中间那个"该换话题"的位置用填充结果。

FAQ

Is Madlib Bridge free, and is there a limit on how many bridges I can fill?这个工具免费吗?填词有次数限制吗?
It is free and unlimited. There is no account, no quota and no paid version of this tool; the four templates and sixteen word banks are part of the page's JavaScript, so filling blanks costs nothing and needs no server.免费且不限次数。不需要账号,没有配额,也没有付费版;四个模板和十六个词库都写在页面的 JavaScript 里,填词不花钱,也不需要服务器。
Does the bridge I write get sent to a server?我写出来的桥段会被传到服务器吗?
No. Filling runs in your browser and the textarea is plain local text. The tool keeps your most recent template and your edits in localStorage so a refresh does not lose them, and nothing else leaves the device.不会。填充在你浏览器里完成,textarea 就是本地纯文本。工具把最近一次选的模板和你的修改存进 localStorage,刷新不会丢;除此之外没有任何东西离开这台设备。
The sentences are grammatical but they make no sense. Why?句子语法没问题,但意思说不通,为什么?
Because each blank is filled independently from its own ten-word bank, with no agreement or collocation check. A bank word can land in a slot where it does not fit, such as a person being told at a place, or a noun acting as an adverbial. That is expected output, not a broken build: the grammar skeleton is the useful product and the words are disposable.因为每个空位都是从自己那十个词里独立取词的,没有一致性检查,也没有搭配检查。词库里的词可能落进不合适的槽位,比如"在某地被告知一个人",或者让名词去当状语。这是预期输出,不是出 bug:有用的是语法骨架,词是消耗品。
How should I use the result if it is mostly nonsense?如果结果大半是废话,该怎么用?
Keep the shape and replace the words. Leave the sentence structure, the blank order and the punctuation alone, then swap every noun for one from your own song and fix the tense. One edited line per template is a better result than four raw fills kept as they are.留形状,换词。句式、空位顺序、标点都别动,把每个名词换成你自己歌里的物件,再统一时态。每个模板改出一句好句子,胜过把四份原始填充原样留着。
What is this actually good for, and what is it not good for?它适合做什么,不适合做什么?
Good for a bridge that has to change the subject quickly, for breaking a chorus loop that will not move, and for warming up when the next line is blank. It is not good for finishing a bridge you already half-wrote, because none of the four templates knows what your verse said.适合需要快速换话题的桥段、适合把卡在同一个和弦里的副歌循环打断、适合下一句完全空白时热身。不适合用来补完你已经写了一半的桥段,因为这四个模板都不知道你主歌说了什么。

Where to go next

  • Structure Planner — decide where the bridge actually sits, and how long it should be, before you write a second one.歌曲结构规划——在写第二段桥之前,先定它究竟落在哪一段、该有多长。
  • Hook Builder — a bridge usually pays off a hook; build the hook first and the bridge has something to resolve.副歌钩子——桥段通常要回落到钩子上;先把钩子立起来,桥段才有东西可收。
  • The Complete Guide to Song Structure — explains what a bridge is allowed to do that a verse is not, which is the part most fills get wrong.歌曲结构完整指南——讲清桥段能做而主歌不能做的事,而这正是多数填充最容易错的地方。
  • How to Write a Song in 10 Minutes — a timed workflow that gives each section, bridge included, a fixed number of minutes.十分钟写一首歌——一套计时流程,给每个段落(包括桥段)固定的分钟数。