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.

Cat meow sounds visualized with auto-correlation function

38 pointsby gbh444gover 3 years ago

7 comments

gbh444gover 3 years ago
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 未加载
errantsparkover 3 years ago
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 未加载
nixpulvisover 3 years ago
Cool idea progressing time outwards radially, for a moment I thought I was looking at the cat&#x27;s eye through a strange filter!
beebeepkaover 3 years ago
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!
hereforphoneover 3 years ago
&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 未加载
RosanaAnaDanaover 3 years ago
Things like this are why I go on the internet.
rawlingover 3 years ago
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 未加载