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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Programming on a Piano Keyboard

221 点作者 yuriyguts将近 11 年前

17 条评论

JoshTriplett将近 11 年前
Fun idea! The note mappings shown at the end of the article seem quite specific to producing the code written for the demo, but I could imagine a more general mapping. Velocity also allows for some interesting possibilities, such as uppercase/lowercase. Rather than mapping chords to individual letters, notes could map to letters and chords involving those letters could map to common patterns with the letters as mnemonics.
评论 #7942067 未加载
评论 #7938692 未加载
UrlichtZwei将近 11 年前
Awesome hack. It&#x27;d be interesting to run the rules in reverse: i.e. take some code, run it backward through the mapping and see what music comes out.<p>(P.S. you can&#x27;t really call it C# minor if there are no cadences, ya know, in C# minor.)
kylerosenberg将近 11 年前
Check out OSCulator if you&#x27;re on a Mac. <a href="http://www.osculator.net/" rel="nofollow">http:&#x2F;&#x2F;www.osculator.net&#x2F;</a> You can route MIDI, plus a number of other types of physical controllers like a Wii Remote to keyboard commands, mouse movements, AppleScripts, and more.
totoroisalive将近 11 年前
Refreshing hack news, after all that startup BS.
评论 #7938890 未加载
andreastt将近 11 年前
I&#x27;m quite surprised Hello World in C# could ever sound so lovely.
dspig将近 11 年前
My suggestion for the sustain pedal is enable&#x2F;disable all breakpoints.
评论 #7941651 未加载
dllthomas将近 11 年前
Interesting. I did something a little like this a while back. The way I worked it, it spanned two octaves, and chords in the lower octave determined a one-to-one mapping in the upper. It seemed about as usable as any unfamiliar keyboard, though I didn&#x27;t play with it for more than about 20 minutes in total.
rch将近 11 年前
There&#x27;s a lot of this sort of thing going on right now actually. I&#x27;ve been experimenting with dynamic interfaces on a tablet and found it to be strangely satisfying to have task-oriented controls come into view when they&#x27;re likely to be needed.
eng_monkey将近 11 年前
I guess this is as sensible as the author&#x27;s master thesis titled &#x27;Adaptive Object-Oriented Architecture of Information Systems Based on High-Level Petri Nets&#x27;, where apparently he ran out of keywords to put together.
评论 #7943708 未加载
fasteo将近 11 年前
&quot;How can you tell a programmer from a musician? Ask them what C# is.&quot; LOL
nullc将近 11 年前
Typing via a mapping to the keys is a normal feature in some integrated synthesizers. E.g. the K2600 does it... certantly beats entering in labels for patches via a little wheel or 9-key.
samweinberg将近 11 年前
I like the idea of using a MIDI trigger pad for things like keyboard shortcuts or text snippets. I&#x27;m sure you could make something similar on the cheap with an arduino.
grondilu将近 11 年前
Can it make the opposite and turn code into music?
评论 #7942187 未加载
fjcaetano将近 11 年前
Nice to see that the key mapping was projected to sound good, not only random notes being played.
auvi将近 11 年前
one of the earliest typewriters had a piano type keyboard. [0] <a href="http://www.nytstore.com/Typewriter-Patent--1868_p_8837.html" rel="nofollow">http:&#x2F;&#x2F;www.nytstore.com&#x2F;Typewriter-Patent--1868_p_8837.html</a>
nocman将近 11 年前
The old Styx song &quot;Too Much Time on My Hands&quot; comes to mind :-D<p>Still looks like fun, though.
thegeomaster将近 11 年前
I imagine working in Emacs would sound like Mozart playing.
评论 #7939836 未加载
评论 #7938401 未加载
评论 #7938435 未加载