维拉托
Velato

原始链接: https://www.futilitycloset.com/2025/10/10/velato/

深奥的编程语言Velato使用音乐作为其源代码。乐曲的第一个音符建立一个“命令根音”,随后的音程指定指令。命令根音可以在语句之间更改,并且构成和弦的音符可以按照指定的顺序解释,因此在创作上有一些自由度,以使乐曲听起来“悦耳”。这个程序产生“Hello, World”的输出: 这就是它的声音: 还有其他一些音乐语言:Fugue, VenetianScript, Yet Another Musical Esolang。

Velato is a new esoteric programming language created by “rottytooth” that “multicodes with music,” similar to how Piet uses images. The creator shared the project on Hacker News, explaining the challenge lies in crafting code that functions both musically and programmatically. Better examples composed by a professional are forthcoming. A unique variation, “HandsFree,” allows users to *whistle* code directly into a browser, utilizing a different lexicon and feel. While some commenters expressed skepticism about its practicality, others highlighted Velato’s potential as a tool for artistic expression and even steganography – hiding code within sheet music. The difficulty lies in both debugging and composing code that sounds aesthetically pleasing, requiring significant skill in both programming and music.
相关文章

原文

The esoteric programming language Velato uses music as its source code. The first note of a composition establishes a “command root” note, and the intervals that follow specify instructions. The command root can be changed between statements, and the notes that make up a chord can be interpreted in a specified order, so there’s some latitude to help a composition sound “musical.” This program produces the output “Hello, World”:

https://esolangs.org/wiki/File:Velato_HelloWorld.gif

Here’s what that sounds like:

A few other musical languages: Fugue, VenetianScript, Yet Another Musical Esolang.

联系我们 contact @ memedata.com