{"id":5413,"date":"2010-12-23T19:43:34","date_gmt":"2010-12-24T00:43:34","guid":{"rendered":"http:\/\/blog.kenperlin.com\/?p=5413"},"modified":"2010-12-23T19:55:47","modified_gmt":"2010-12-24T00:55:47","slug":"candy-colored-musical-computer-keyboard","status":"publish","type":"post","link":"http:\/\/blog.kenperlin.com\/?p=5413","title":{"rendered":"Candy colored musical computer keyboard"},"content":{"rendered":"<p>The I figured that the best way to refine my version of the chromatic scale would be to try to use it for something.  And so I have repurposed an old project, in which I had used <a href=http:\/\/mrl.nyu.edu\/~perlin\/homepage0706\/keyboard\/ target=1>the computer keyboard as a kind of a piano keyboard<\/a>.  In the new version, I assign a color to every pitch.<\/p>\n<p>In the course of playing with this today, I realized I could just color the seven &#8220;white&#8221; keys with pastel colors borrowed from our old friend <b>Roy G. Biv<\/b> (Red \/ Orange \/ Yellow \/ Green \/ Blue \/ Indigo \/ Violet) &#8212; with the one notable exception that Red becomes Pink on a pastel palette.<\/p>\n<p> The colors of the five &#8220;black&#8221; keys &#8212; Deep red, Brown, Deep green, Navy blue, and Purple &#8212; are chosen so as to lie between the colors of their respective white key neighbors.<\/p>\n<p>The resulting keyboard is certainly more cheerful than the original.  The four rows of the keyboard are tuned, from bottom to top, to the even-tempered C# major, C major, B major and A# major scales, respectively.  This means that when you play on any row, the row above it contains all the appropriate sharps and flats in their proper positions.<\/p>\n<p>Since the &#8220;home keys&#8221; row of ASDFGHJK&#8230; corresponds to a C natural scale, which contains only white keys, you can see the pastel rainbow laid out on that row.  Interestingly, the &#8220;F&#8221; and &#8220;G&#8221; keys correspond to their actual respective pitches (you might also find it useful to remember that &#8220;K&#8221; corresponds to C above middle C).<\/p>\n<p>You can get to the applet itself by clicking on the image below:<\/p>\n<p><center><br \/>\n<a href=http:\/\/mrl.nyu.edu\/~perlin\/candykeyboard target=1><img decoding=\"async\" src=\"http:\/\/blog.kenperlin.com\/wp-content\/uploads\/2010\/12\/candykeyboard.jpg\"><\/a><br \/>\n<\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The I figured that the best way to refine my version of the chromatic scale would be to try to use it for something. And so I have repurposed an old project, in which I had used the computer keyboard as a kind of a piano keyboard. In the new version, I assign a color &hellip; <a href=\"http:\/\/blog.kenperlin.com\/?p=5413\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Candy colored musical computer keyboard&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/5413"}],"collection":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5413"}],"version-history":[{"count":14,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/5413\/revisions"}],"predecessor-version":[{"id":5428,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=\/wp\/v2\/posts\/5413\/revisions\/5428"}],"wp:attachment":[{"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5413"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.kenperlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}