TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

JavaScript Library for Objective Sound Programming

83 pointsby matsuualmost 13 years ago

8 comments

gosubalmost 13 years ago
<p><pre><code> T("+", T("*", c_env = T("adsr", 20, 1740, 0.5), T("+", c1 = T("konami"), c2 = T("konami"), c3 = T("konami"))), T("*", b_env = T("adsr", 0, 220), b0 = T("pulse"))).play(); </code></pre> This is what happens when your programming language does not let you specialize math operations, or you lack a decent macro system.
评论 #4027478 未加载
fruchtosealmost 13 years ago
Awesome examples. It would be nice to get support for formats besides WAV, but that's future work. Is MP3 decoding proprietary, or just encoding?
评论 #4026189 未加载
评论 #4026287 未加载
burnvictimalmost 13 years ago
This is super cool! Is HTML5 audio in a pretty decent state at this point as far as reliability?
smagchalmost 13 years ago
I was thrilled when Flash had sound api quite a long time ago.<p>I'm now much more thrilled to see this. A lot of nerdy people will publish free open source synthesizer over the next few years.<p>We need javascript plugin interface like VST.
评论 #4028775 未加载
epaikalmost 13 years ago
Wow, I'm seriously impressed.<p>I'm inspired to make a game using this library I think!
wcarssalmost 13 years ago
This is insanely cool.
mahmudalmost 13 years ago
Beautiful.
koglerjsalmost 13 years ago
Excellent. I will definitely use this. In fact, I'm commenting largely to bookmark this.
评论 #4027182 未加载