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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: A singing synthesizer for the browser with algorithmic 3-part harmony

3 点作者 zebproj10 个月前
Hello HN!<p>This is a demo I built during my batch at the Recurse Center. It&#x27;s built using WebAudio, WebAssembly (via Rust), and the Canvas API. The source code for this demo, along with my other vocal synthesis related RC demos[0], can be found at a monorepo[1] where I&#x27;ve been dumping all my RC work and logs.<p>The sound is generated using a physical model of the human singing voice, using a work-in-progress project called VoxBox [2].<p>The harmonization is done using something that kind of resembles a markov chain. Only, instead of using weighted probabilities and randomness, I use a selection heuristic that chooses a chord based on how often it has been used and how much voice movement is required.<p>Thanks for reading! Happy to answer any other questions.<p>0: <a href="https:&#x2F;&#x2F;pbat.ch&#x2F;recurse&#x2F;demos&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pbat.ch&#x2F;recurse&#x2F;demos&#x2F;</a><p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;PaulBatchelor&#x2F;Recurse&#x2F;tree&#x2F;main&#x2F;scratch&#x2F;trio">https:&#x2F;&#x2F;github.com&#x2F;PaulBatchelor&#x2F;Recurse&#x2F;tree&#x2F;main&#x2F;scratch&#x2F;t...</a><p>2: <a href="https:&#x2F;&#x2F;github.com&#x2F;paulBatchelor&#x2F;voxbox">https:&#x2F;&#x2F;github.com&#x2F;paulBatchelor&#x2F;voxbox</a>

2 条评论

thebuilderjr10 个月前
Wow this is awesome. I&#x27;ve been wanting to do some rust WASM. Can you share a little bit about your experience? To me the workflow always felt a little clunky having to run custom scripts to generate the WASM. Hopefully the developer experience has improved since those days?
yardshop10 个月前
Sounds great!<p>I wish there was a little more ring out when releasing the mouse.<p>But otherwise, very nice harmonies!