dev.to | 📄 原文链接 | 2026-11-08 收录

你的脉搏演奏 90 年代酸性 techno:跳舞控制滤波器

来源:dev.to — 2026-11-06

📋 概述

一个用 Presage SDK 做的音乐玩具:本地 Node 服务跑摄像头会话,把脉搏、呼吸和表情通过 WebSocket 送进浏览器,页面用 Web Audio 合成 16 步音序、303 味酸性贝斯线、鼓、铺底、钢琴切片和 hoover,全部实时合成,没有一个采样。矛盾在于测脉搏要求不动、音乐要求你动,所以应用让两者轮流:跳舞时运动驱动声音,静止几秒就重新读一次脉搏。

🔑 核心要点

💡 金句

“Pulse and breathing need you to hold still, and the music asks you to move, so the app makes the two take turns”
译:测脉搏和呼吸需要你保持不动,而音乐要你动起来,所以应用让这两件事轮流进行。
← 返回 dev.to 首页