TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Play a physically simulated trombone in the browser

9 点作者 matheist将近 4 年前

2 条评论

matheist将近 4 年前
I&#x27;ve been working on this physically simulated trombone on and off for a few months. A recent Show HN doing something similar [1] gave me the motivation to go and finish it up.<p>It&#x27;s a physical simulation of a trombone, with lips, mouthpiece, bore, slide, and bell. The overall approach is a digital waveguide [2], with lips modeled as a blown-open valve. Lip and bell parameters are approximated from [3].<p>Move the cursor (or your finger) left&#x2F;right to control embouchure (which controls the lip-valve&#x27;s spring constant) and move the cursor up&#x2F;down to extend&#x2F;retract the slide (modeled as a variable delay line). Space-bar&#x2F;touch&#x2F;click to blow. If you&#x27;re at a keyboard, g to growl and f to flutter-tongue.<p>Diagonal colored lines indicate where the embouchure and slide length align to form a resonance, and the vertical dashed lines are rough locations of B-flat and F.<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27207250" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27207250</a><p>[2] <a href="https:&#x2F;&#x2F;ccrma.stanford.edu&#x2F;~jos&#x2F;pasp&#x2F;Digital_Waveguide_Theory.html" rel="nofollow">https:&#x2F;&#x2F;ccrma.stanford.edu&#x2F;~jos&#x2F;pasp&#x2F;Digital_Waveguide_Theor...</a><p>[3] <a href="https:&#x2F;&#x2F;core.ac.uk&#x2F;download&#x2F;pdf&#x2F;56376581.pdf" rel="nofollow">https:&#x2F;&#x2F;core.ac.uk&#x2F;download&#x2F;pdf&#x2F;56376581.pdf</a>
ksaj将近 4 年前
This is really interesting. Even though it&#x27;s a trombone simulator, because of the way it is played, it really could be an instrument of its own. But I did learn a lot about trombone I didn&#x27;t know before, so it does exactly what your text says you want it to.<p>I can imagine synth musicians coming up with all kinds of new sounds with that style of interface, but with switchable sound samples.