|
← 判断力与美学 ← Judgment & Aesthetics
SAE 判断力与美学 · 余项之美
SAE Judgment & Aesthetics · Beauty of the Remainder
2026-05-20

CLAVIER-36:当细胞自动机开始为自己作曲

CLAVIER-36: When Cellular Automata Begin Composing for Themselves

Han Qin (秦汉)

River Dillon做了一件精确的事:他写了一门编程语言,让程序在二维网格中像细胞自动机一样自行演化,而演化的副产品是音乐。CLAVIER-36(简称C36)的核心机制并不复杂——字母是运算符,数字是字面量,网格按英文阅读序逐行求值,每个周期所有算子同步更新。它内置了采样器和正弦波合成器,支持MIDI输出。程序里放一个时钟算子,接一个比较器,再接一个采样器,你就有了一个节拍。但这只是表面。真正的问题是:当你把随机数送进量化器,把量化器的输出接入音高参数,把INTERFERE算子发射的符号弹射进程序自身的内存空间——符号在网格中自主移动直到碰壁毁灭——这些机制叠加之后,你写的不再是音乐,而是一个会自己作曲的有机体。

CLAVIER-36的余项结构是嵌套的。第一层:它脱胎于Orca——Hundred Rabbits的Devine Lu Linvega创造的那门传奇的网格式音乐语言。Orca本身是对传统作曲的凿构:用字母算子替代音符,用局部规则替代全局编排,音乐成为代码执行的余项。但Orca在十年间逐渐变成了已构——它有了社区共识、美学范式、教程体系。River Dillon从零重新实现Orca,然后让它分叉。C36凿掉了Orca无法自行解决的问题:Orca依赖外部工具发声(SuperCollider、Ableton),时序不精确(Devine本人在播客中讨论过这个问题);C36把整个信号处理管线吞进自身,实现了采样级精准时序。代价是——程序现在是自足的生命体,不再需要宿主。这个"代价"就是余项。

第二层余项来自36进制数字系统。36=26个字母+10个数字,恰好等于英文键盘上所有单字符字母数字键的总数。而36÷12=3,刚好三个八度的音域。River Dillon称这是"一个幸运的巧合"。但SAE美学看到的不是巧合——这是键盘硬件(已构)和音乐结构(已构)之间的一条未被规划的桥梁。没有人设计键盘时考虑过三个八度;没有人设计十二平均律时想过ASCII码。这个对齐是两个独立已构系统碰撞后暴露的余项,C36只是第一个把这个余项变成乐器的实践。36种音阶(从大调到减和弦,从琉球五声到Bartók Gamma)填满了base-36编号空间的每一个位置——音阶本身变成了地址。

第三层是命名的缝隙。C36在Steam上以"Audio Production"和"Early Access"的标签发布——但它不是一个DAW,不是一个音序器,不是一个游戏,不是一个细胞自动机模拟器,也不是一门通用编程语言。Steam的分类系统无法命名它。TOPLAP的live coding社区认识网格式编程(Orca是他们的),但C36的自足合成和元编程能力(程序在运行时修改自身)将它推向了一个Orca从未到达的领域。Handmade Network收录了它——那个主张"手工软件"的社区——但C36的关切不是性能优化或底层控制,而是音乐的自主涌现。它坐在live coding、细胞自动机、游戏平台、数字音频工作站和元编程之间的空地上,哪个范畴都无法完整地收编它。

现在看到C36比以后看到更重要。它还在Early Access阶段,27个算子完成了36个中的27个,语义会发生重大变化。River Dillon在Steam页面上明确警告:正式版之前创建的补丁很可能无法在未来版本中加载。这不是缺陷——这是一门语言还在生长的证据。它的逻辑还没有硬化成已构。当社区发现编程技巧、当算子设计被用户实践改写、当MIDI输出和外部时钟同步完成——C36会变成另一个东西。但那时它的余项身份将开始沉淀。此刻,它还是活的。

clavier36.com ↗

River Dillon has done something precise: he wrote a programming language in which programs evolve on a two-dimensional grid like cellular automata, and the byproduct of that evolution is music. The core mechanism of CLAVIER-36 (C36) is not complicated—letters are operators, digits are literals, the grid evaluates row by row in English reading order, all operators update synchronously each cycle. It ships with a built-in sampler and sine wave synthesizer, and supports MIDI output. Place a clock operator, wire it to a comparator, connect a sampler, and you have a beat. But this is surface. The real question begins when you feed random numbers into a quantizer, route the quantizer's output into a pitch parameter, and launch an INTERFERE operator that fires symbols into the program's own memory space—symbols that move autonomously through the grid until they collide with something and are destroyed. Stack these mechanisms together and what you are writing is no longer music. It is an organism that composes for itself.

The remainder structure of C36 is nested. The first layer: it descends from Orca, the legendary grid-based music language created by Devine Lu Linvega of Hundred Rabbits. Orca was itself a chisel operation on traditional composition—letter-operators replaced notes, local rules replaced global arrangement, and music became the remainder of code execution. But over a decade Orca gradually became construct: it acquired community consensus, an aesthetic paradigm, a tutorial ecosystem. River Dillon reimplemented Orca from scratch, then let it diverge. C36 chisels away what Orca could not resolve on its own: Orca depends on external tools for sound (SuperCollider, Ableton) and suffers from timing imprecision (Devine himself has discussed this on a podcast). C36 swallows the entire signal processing pipeline, achieving sample-accurate timing. The cost is that the program is now a self-sufficient organism that no longer needs a host. That "cost" is the remainder.

The second layer of remainder comes from the base-36 numeral system. 36 = 26 letters + 10 digits, exactly the total number of single-character alphanumeric keys on an English keyboard. And 36 ÷ 12 = 3—precisely three octaves of range. River Dillon calls this "a happy coincidence." But SAE aesthetics sees not coincidence but an unplanned bridge between keyboard hardware (construct) and musical structure (construct). No one designed the keyboard with three octaves in mind; no one designed twelve-tone equal temperament thinking about ASCII. This alignment is the remainder exposed when two independent construct-systems collide, and C36 is the first practice to turn that remainder into an instrument. Thirty-six scales—from Major to Diminished, from Ryukyu pentatonic to Bartók Gamma—fill every position in the base-36 address space. The scales themselves become addresses.

The third layer is the naming gap. C36 is listed on Steam under "Audio Production" and "Early Access"—but it is not a DAW, not a sequencer, not a game, not a cellular automaton simulator, and not a general-purpose programming language. Steam's category system cannot name it. TOPLAP's live-coding community recognizes grid-based programming (Orca is theirs), but C36's self-contained synthesis and metaprogramming capabilities—programs that modify themselves as they run—push it into territory Orca never reached. The Handmade Network lists it—a community that advocates for handmade software—but C36's concern is not performance optimization or low-level control; it is the autonomous emergence of music. It sits on open ground between live coding, cellular automata, game platforms, digital audio workstations, and metaprogramming. No single category can fully claim it.

Seeing C36 now matters more than seeing it later. It is still in Early Access—27 of 36 operators are complete, and the semantics will change significantly. River Dillon explicitly warns on the Steam page that patches created before version 1 will likely not load in future versions. This is not a defect; it is evidence that a language is still growing. Its logic has not yet hardened into construct. When the community discovers programming techniques, when operator design is rewritten by user practice, when MIDI output and external clock sync are finalized—C36 will become something else. But by then its remainder identity will have begun to sediment. Right now, it is still alive.

clavier36.com ↗