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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Cat meow sounds visualized with auto-correlation function

38 点作者 gbh444g超过 3 年前

7 条评论

gbh444g超过 3 年前
Hi HN!<p>I used the meow sounds from <a href="https:&#x2F;&#x2F;soundspunos.com&#x2F;animals&#x2F;10-cat-meow-sounds.html" rel="nofollow">https:&#x2F;&#x2F;soundspunos.com&#x2F;animals&#x2F;10-cat-meow-sounds.html</a>. I expected to see very little variability in the meows, maybe just 4-5 different types for basic emotions. To my surprise, each “cat meow” has astonishingly colorful, complex and unique structure, unlike human vowels that follow a more or less predictable pattern: <a href="https:&#x2F;&#x2F;soundshader.github.io&#x2F;vowels" rel="nofollow">https:&#x2F;&#x2F;soundshader.github.io&#x2F;vowels</a>.<p>The algorithm behind these images is fairly simple. It computes FFT to decompose the sound into a set of A·cos(2πwt+φ) waves and drops the phase φ to align all cos waves together. This is known as the auto-correlation function (ACF). Before merging them back, it colorizes each wave using its frequency w: the A notes (432·2ⁿ Hz) become red, C notes - green, E notes - blue, and so on. Finally, it merges the colored and aligned cos waves back, using the amplitude A for color opacity, and renders them in polar coordinates, where the radial coordinate is time.
评论 #29501690 未加载
评论 #29501488 未加载
评论 #29502284 未加载
评论 #29501803 未加载
errantspark超过 3 年前
Is &quot;dropping the phase&quot; the same thing as computing the spectral power distribution?<p>P.S. A4 = 432Hz is a stupid fad that can&#x27;t die soon enough.
评论 #29506295 未加载
评论 #29502221 未加载
评论 #29502260 未加载
nixpulvis超过 3 年前
Cool idea progressing time outwards radially, for a moment I thought I was looking at the cat&#x27;s eye through a strange filter!
beebeepka超过 3 年前
Not sure how these images are being generated but in my experience there is a wide variety of purr and meow. Can&#x27;t say unique because I have no way of knowing.<p>Cats are magical to me but in reality I can be friends with all sorts of animals, even people!
hereforphone超过 3 年前
&gt; It computes FFT to decompose the sound into a set of A·cos(2πwt+φ) waves and drops the phase φ to align all cos waves together. This is known as the auto-correlation function (ACF).<p>How is simply dropping the phase transforming FFT into ACF (according to various definitions of ACF as shown here: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Autocorrelation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Autocorrelation</a>)?
评论 #29502180 未加载
评论 #29502226 未加载
RosanaAnaDana超过 3 年前
Things like this are why I go on the internet.
rawling超过 3 年前
Well, I guess this one is never going to be more relevant: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;26" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;26</a>
评论 #29502269 未加载