{"id":506,"date":"2011-02-07T12:22:39","date_gmt":"2011-02-07T12:22:39","guid":{"rendered":"http:\/\/grandmaster.student.utwente.nl\/?p=506"},"modified":"2011-02-07T12:22:39","modified_gmt":"2011-02-07T12:22:39","slug":"little-party-ideas","status":"publish","type":"post","link":"https:\/\/www.grandmaster.nu\/blog\/?p=506","title":{"rendered":"Little party ideas"},"content":{"rendered":"<p>Last week I had an idea for a small project &#8211; party entertainment. The trend towards computer party games is long gone, but there are still many unexplored ideas. I&#8217;ve been thinking about using another concept that used to be a hype &#8211; floor sensors, most notably used in Dance Dance Revolution.<\/p>\n<p>The thing I&#8217;m trying to accomplish is to use the floor as a kind of instrument &#8211; more specifically a sample playback device. This idea is not new by any means, but I just thought it would be a good exercise, and a nice usage of my engine. Also, if it works properly it should be pretty fun and something that would be a special enhancement for parties and such.<\/p>\n<p>So I got my old DDR dance mats and looked into how the buttons could be read. Turns out they are being modeled as gamepads with 10 buttons. So I needed joystick support, which turned out to be pretty straightforward to implement.<\/p>\n<p>I also needed some way to load and play back audio samples, which meant audio support. I went for OpenAL with the libsndfile library, which took a bit longer to get working. It turned out kind of okay, although the sound playback is slightly too slow &#8211; right now there is a noticeable delay between pressing a button on the dance mat and the actual playback.<\/p>\n<p>Even so, given some good audio samples the setup is pretty fun to toy around with. I&#8217;m probably going to refine it a bit more over the next couple of weeks and try it out at a small in-house party I&#8217;m having. As soon as it&#8217;s at least semi-working, I&#8217;ll put it up here for grabs.<\/p>\n<p>It&#8217;s pretty exciting to have something that&#8217;s even remotely fun working&#8230; I&#8217;m probably going to do many more of these as I continue to develop my engine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I had an idea for a small project &#8211; party entertainment. The trend towards computer party games is long gone, but there are still many unexplored ideas. I&#8217;ve been thinking about using another concept that used to be a hype &#8211; floor sensors, most notably used in Dance Dance Revolution. The thing I&#8217;m &hellip; <a href=\"https:\/\/www.grandmaster.nu\/blog\/?p=506\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Little party ideas&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[6,7,8],"tags":[17,21,25],"class_list":["post-506","post","type-post","status-publish","format-standard","hentry","category-games","category-music","category-ramblings","tag-ddr","tag-hobby-projects","tag-overdrive-assault"],"_links":{"self":[{"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=\/wp\/v2\/posts\/506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=506"}],"version-history":[{"count":0,"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.grandmaster.nu\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}