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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The problem of de-synchronized metronomes

19 点作者 nicolodev超过 3 年前

5 条评论

seanhunter超过 3 年前
Steve Reich made a lot of music based on the phasing in and out of imperfect time sources in the 1970s. If you're interested, check out "Music for 18 Musicians", "It's Gonna Rain", "Come out to show them", and if memory serves "Pulses" (might have that title wrong) which is literally just a bunch of mechanical metronomes which go in and out of phase as they wind down.
评论 #30017744 未加载
评论 #30008712 未加载
jfrankamp超过 3 年前
Fireflies solve this problem with only local knowledge... maybe a variation of the problem that attacks/constrains it in a similar way?
ars超过 3 年前
The physical metronomes are using phase, not frequency, to synchronize. On top of that, they all start off at approximately the same frequency.<p>So just having a global average frequency is not the same thing.<p>Specifically: They tick in one direction faster than the other, which causes them to slowly shift phase.
评论 #30008708 未加载
评论 #30003793 未加载
Const-me超过 3 年前
When people simulating real-time physics, it&#x27;s almost always a bad idea to use semaphores like that. Instead, all pieces of the systems are normally simulated in lockstep. If the system has sufficient computations, a simulation step can be parallelized to use multiple CPU cores, but they are synchronized at every timestep of the simulation. Otherwise it will inevitably fail, there are way too many reasons for unfairness in the scheduler: other processes, hyperthreading, NUMA, unequal cooling&#x2F;throttling, and more.
technothrasher超过 3 年前
More related to metronomes coming into phase with each other than your semaphore problem, but... for your viewing pleasure: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=e-c6S6SdkPo" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=e-c6S6SdkPo</a>