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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Automated JavaScript DJ

7 点作者 dmvjs超过 2 年前

3 条评论

dmvjs超过 2 年前
I made software using JavaScript that has about 300 songs and the software mixes the tempo matched instrumentals in key, each refresh creates a new endless mix and its powered by the super accurate Web Audio API hardware clock, even works on iOS. The dopest part is that it is super flawless accurate as far as key matching and tempo matching goes and its all written in vanilla JavaScript. It even does some things DJs cant currently do, like considering the accurate tempo/pitch shifted key (like when a DJ speeds up a song) instead of the one the song is recorded at. As much fun as DJing has been to me for over 20 years, this is even more fun because it comes up with combinations I love and have never used before but they sound great together.
beardyw超过 2 年前
&quot;Keep your screen awake&quot;<p>There is a js API for that: Screen Wake Lock <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;Screen_Wake_Lock_API" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;Screen_Wake...</a><p>Only Chrome as yet, but very useful.
评论 #33765405 未加载
clumsycomputer超过 2 年前
i would love to add this type of functionality to my own music collection over at <a href="https:&#x2F;&#x2F;www.clumsycomputer.com&#x2F;curations&#x2F;music" rel="nofollow">https:&#x2F;&#x2F;www.clumsycomputer.com&#x2F;curations&#x2F;music</a><p>im not really sure how feasible that would be though since its essentially just a a bunch of links sourced from a variety of music services, the most prominent being youtube<p>perhaps it would be possible to extract the audio data from the video stream, compute the key in a web worker, and then queue up a transition<p>anyhow this is tight<p>bravo
评论 #33765414 未加载