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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

But what does a sorting algorithm sound like?

49 点作者 henryl将近 16 年前

6 条评论

jim-greer将近 16 年前
The visualizations linked there are great too:<p><a href="http://www.hatfulofhollow.com/posts/code/timsort/index.html" rel="nofollow">http://www.hatfulofhollow.com/posts/code/timsort/index.html</a><p><a href="http://www.hatfulofhollow.com/posts/code/visualisingsorting/" rel="nofollow">http://www.hatfulofhollow.com/posts/code/visualisingsorting/</a>
bigwill将近 16 年前
Great start. You could definitely get a more musical sound out of it by mapping it onto a scale rather than just the full range of MIDI notes. Also, this approach operates on fixed note lengths--another interesting idea might be to use one of the compared numbers to determine note length rather than a second pitch.
nudded将近 16 年前
I can't wait for the first array that will sound like the mario tune when sorted. Kudos to the creater if a different algorithm will create another song
dca将近 16 年前
And so now, thanks to this, we have the answer... it sounds like an old NES RPG.
jpwagner将近 16 年前
That is amazing!<p>Great idea.
mburney将近 16 年前
Very cool.