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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Piano Emulator in Your Terminal

111 点作者 RojerGS将近 2 年前

9 条评论

JNRowe将近 2 年前
Somewhat related: textual-paint¹ which uses the same interaction library, and was recently discussed here². I&#x27;m noting this purely because I&#x27;m enjoying the increasing frequency of rich³&#x2F;textual⁴ posts, it hints at a latent desire for computing closer to how <i>I</i> enjoy it ;)<p>¹ <a href="https:&#x2F;&#x2F;github.com&#x2F;1j01&#x2F;textual-paint">https:&#x2F;&#x2F;github.com&#x2F;1j01&#x2F;textual-paint</a><p>² <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36859880">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36859880</a><p>³ <a href="https:&#x2F;&#x2F;github.com&#x2F;textualize&#x2F;rich">https:&#x2F;&#x2F;github.com&#x2F;textualize&#x2F;rich</a><p>⁴ <a href="https:&#x2F;&#x2F;textual.textualize.io&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;textual.textualize.io&#x2F;</a>
评论 #37072499 未加载
评论 #37077909 未加载
purpleidea将近 2 年前
AIUI you need to open your terminal in raw mode if you want to get the full keypress&#x2F;keydown events. But you&#x27;ll have to parse the scancodes yourself. Very doable and kind of necessary if you want to do a terminal app here =D There&#x27;s probably a library that can help you. Good luck!
评论 #37072487 未加载
ale42将近 2 年前
Funny, reminds me of the old (~1990) MS-DOS based &quot;FM Intelligent Organ&quot; distributed with Sound Blaster cards (cf. <a href="http:&#x2F;&#x2F;www.vgmpf.com&#x2F;Wiki&#x2F;index.php?title=File:Sound_Blaster_-_DOS_-_FM_Organ.png" rel="nofollow noreferrer">http:&#x2F;&#x2F;www.vgmpf.com&#x2F;Wiki&#x2F;index.php?title=File:Sound_Blaster...</a>). Nice to see people doing things in terminals :-)
评论 #37074393 未加载
评论 #37073445 未加载
Jeff_Brown将近 2 年前
I was hoping this was an open-source physical model of a piano.<p>Pianoteq has been around for 17 years -- as long as patents last! -- and yet open source still seems to have nothing that comes close.
评论 #37076722 未加载
yboris将近 2 年前
Got an error trying to run <i>upiano</i> after installing <i>FluidSynth</i> via <i>brew</i> (brew install fluidsynth)<p>Had to use this technique to make it work: <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;75339618&#x2F;5017391" rel="nofollow noreferrer">https:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;75339618&#x2F;5017391</a><p>Worked beautifully after.
kzrdude将近 2 年前
Because of Linus Åkesson&#x27;s recent blogs and videos I want to make a piano app that plays using &quot;his&quot; accordion style keyboard layout for the notes.<p><a href="http:&#x2F;&#x2F;linusakesson.net&#x2F;commodordion&#x2F;index.php" rel="nofollow noreferrer">http:&#x2F;&#x2F;linusakesson.net&#x2F;commodordion&#x2F;index.php</a>
djmips将近 2 年前
I know it&#x27;s terminal graphics but is it possible to improve the piano keyboard graphic? Just wondering.
imiric将近 2 年前
&gt; Note that since the terminal doesn&#x27;t really support key press and release events (it receives a stream of characters instead), there is no way to support two key playing at the same time with the computer keyboard only.<p>Great project, but this seems like a major limitation. Why insist on doing this inside a terminal, when there are many other environments where this is not a problem?
评论 #37073155 未加载
评论 #37072461 未加载
评论 #37075731 未加载
amelius将近 2 年前
Does it support keyboard expression (velocity sensitivity, etc.)?
评论 #37075565 未加载