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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Optimizing latency of an Arduino MIDI controller

93 点作者 unkown-unknowns超过 7 年前

6 条评论

jarmitage超过 7 年前
Relevant plug: if you&#x27;re interested in making ultra low latency (as low as 80us) embedded musical instruments, check out Bela:<p>- <a href="http:&#x2F;&#x2F;bela.io" rel="nofollow">http:&#x2F;&#x2F;bela.io</a><p>- <a href="http:&#x2F;&#x2F;github.com&#x2F;belaplatform" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;belaplatform</a><p>- Many of these papers 2015 or later feature Bela: <a href="http:&#x2F;&#x2F;instrumentslab.org&#x2F;publications&#x2F;" rel="nofollow">http:&#x2F;&#x2F;instrumentslab.org&#x2F;publications&#x2F;</a>
评论 #15123828 未加载
评论 #15124842 未加载
评论 #15124709 未加载
评论 #15122544 未加载
评论 #15122501 未加载
joren-超过 7 年前
In the publication below [1] a comparison with respect to latency is made between Teensy, Arduino Uno, xOSC, Bela, Raspberry PI and xOSC. One of the findings is that serial over USB is slower than Midi over USB while technically very similar. The Axoloti [2] is not included in the publication but is of interest as well when building low latency audio devices.<p>[1] <a href="http:&#x2F;&#x2F;www.eecs.qmul.ac.uk&#x2F;~andrewm&#x2F;mcpherson_nime2016.pdf" rel="nofollow">http:&#x2F;&#x2F;www.eecs.qmul.ac.uk&#x2F;~andrewm&#x2F;mcpherson_nime2016.pdf</a><p>[2] <a href="http:&#x2F;&#x2F;www.axoloti.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.axoloti.com&#x2F;</a>
评论 #15126013 未加载
jononor超过 7 年前
Surprised to be on HN! Open for questions if anyone has got any.
评论 #15122443 未加载
revelation超过 7 年前
Not directly related to the OP, but since it&#x27;s a popular setup: the best you can hope for with a USB 2.0 FTDI or USB serial converter is USB fullspeed frame rate, or 1 kHz. So 1 millisecond in one direction.
评论 #15122695 未加载
tzs超过 7 年前
&gt; My first idea was to use a high-speed camera, using the video image to determine when pad is hit and the audio to detect when sound comes from the computer. However even at 120 FPS, which some modern cameras&#x2F;smartphones can do, there is 8.33 ms per frame. So to find when pad was hit with higher accuracy (1ms) would require using multiple frames and interpolating the motion between them.<p>I wonder how accurate you could get if you hit the pad with the phone and used the phone&#x27;s accelerometer to figure out when the impact occurred?
评论 #15128264 未加载
MrZeus超过 7 年前
When I read the title of the article I wondered &quot;did they just discover ASIO4ALL?&quot;<p>Yes. Yes, they did.<p>- <a href="http:&#x2F;&#x2F;asio4all.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;asio4all.com&#x2F;</a>