{"id":44,"date":"2006-03-08T21:58:05","date_gmt":"2006-03-08T11:58:05","guid":{"rendered":"http:\/\/www.doolwind.com\/blog\/?p=42"},"modified":"2006-03-08T21:58:05","modified_gmt":"2006-03-08T11:58:05","slug":"sapi-sucki","status":"publish","type":"post","link":"https:\/\/www.doolwind.com\/blog\/sapi-sucki\/","title":{"rendered":"SAPI CRAPI"},"content":{"rendered":"<p>Microsoft&#8217;s Speech API allows me to add voice recognition to CIC so players can give different commands quickly and while using the mouse to do something completely different.  I was interested in speech regonition a few years ago when I was making my RTS and so I reused some of my code to get it up and running in CIC.  I&#8217;ve implemented a simple event system and decided it was time to see how easy it was to distribute SAPI 5.0 to other computers.  Unfortunately, this is where SAPI has it&#8217;s failing.  The redistributable (required for players to be able to use speech recognition on their computer) comes in at a massive 131 megabytes, approximately 10 times larger than CIC current size.  With a little further reading I&#8217;ve found that I can leave out the text-to-speech part of the API, however that only brings it down to 40 megabytes, which is still ridiculously large.  I&#8217;ve decided to put the speech recognition on hold for now until I get some feedback about whether people will be willing to download the extra amount simply for a single feature.  It&#8217;s all very dissapointing.<\/p>\n<p>This is of course added on top of my initial concerns regarding the &#8216;training&#8217; period of speech recognition.  To get fairly accurate results you really need to train the system by simply reading some book extracts for a good 15 minutes or so.  This is going to be hurdle enough for people I think, added to the fact that the player needs a microphone of quite high quality for the system to get good results.  I&#8217;m not giving up yet though as I&#8217;m a big fan of the possibilities with speech recognition however I&#8217;m going to have to have some careful planning about how I&#8217;m going to remove these obstacles so as many people can experience the true power of speech recognition within a game.  I know that a few other games have used speech recognition so I might look into how they tackled the problem.<\/p>\n<p>That&#8217;s about all for now, I&#8217;m pretty much feature complete now and after some polish and a lot of testing I&#8217;ll be ready to release the first alpha of CIC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft&#8217;s Speech API allows me to add voice recognition to CIC so players can give different commands quickly and while using the mouse to do something completely different. I was interested in speech regonition a few years ago when I was making my RTS and so I reused some of my code to get it <a class=\"more-link\" href=\"https:\/\/www.doolwind.com\/blog\/sapi-sucki\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-44","post","type-post","status-publish","format-standard","hentry","category-cic"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgEc5-I","_links":{"self":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":0,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.doolwind.com\/blog\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}