◀ VibeCruiser

worry to melody

A free music toy — play it in your browser, no install. 烦恼变音乐|一句心事,16 小节,30 多秒的情绪旅程。Local-first emotion analysis × deterministic composition × sampled piano & strings.

by @chenxiyubp · chenxiyubp/worry-to-melody on GitHubLANG JavaScriptHOSTED ON CHENXIYUBP.GITHUB.IOUPDATED 19 Oct 2026

Vote and save it — free account with email or sign in with GitHub

Made this, @chenxiyubp? See how many people played it → or use email

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

一句心事 · 16 小节 · 30 多秒的情绪旅程

▶ 在线体验 · 下载体验包 · 声音设计

五种情绪的总时长为 34–39 秒,包含结尾延音与混响。强度 1–2 保持旋律与低音;更高强度逐层加入和声、弦乐、琶音与点缀。

本地使用:下载 Release 中的 ZIP,解压后双击 index.html。无需安装、无需构建、无需后端。 首次加载 Tone.js 与音频采样需要联网;采样失败会提示“当前使用简化音色”。

编辑 emotion.js 中的 LEXICON 配置:五种情绪分别维护 strong、normal、weak 三档词表,权重为 3 / 2 / 1。直接情绪词优先于事件线索;新词应避免与否定规则、其他情绪的重叠词产生冲突。

只用开发集调整规则,留出集用于最终评估。加入真实新场景时,应另建独立评测集,不能把失败的留出样例逐一抄进词表来提高分数。正分同分优先级为 anxious → sad → angry → tired → calm;无有效命中兜底 calm。

钢琴:Alexander Holm · Salamander Grand Piano。大提琴:N. P. Brosowsky · tonejs-instruments。音频引擎:Tone.js。

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

More piano and synth toys →

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →