{"id":1048,"date":"2018-10-11T05:13:44","date_gmt":"2018-10-11T05:13:44","guid":{"rendered":"http:\/\/digital.eca.ed.ac.uk\/sonicstructures\/?p=1048"},"modified":"2019-09-27T10:37:47","modified_gmt":"2019-09-27T10:37:47","slug":"button-management","status":"publish","type":"post","link":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/2018\/10\/button-management\/","title":{"rendered":"Button management"},"content":{"rendered":"<p>This shows how you can use the ASCII keyboard of your computer to detect which key has been pressed and how long for. You can use it as a starting point for managing the button input on your project. Download the patch here: <\/p>\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"955\" src=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-1024x955.png\" alt=\"\" class=\"wp-image-1220\" srcset=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-1024x955.png 1024w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-300x280.png 300w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-768x716.png 768w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-100x93.png 100w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-150x140.png 150w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-200x187.png 200w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-450x420.png 450w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-600x560.png 600w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01-900x840.png 900w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager_01.png 1340w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager.maxpat.zip\">buttonManager.maxpat<\/a><a href=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonManager.maxpat.zip\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>For a slightly more advanced set of button-based features, you could look at this. It gives you the ability to detect a range of features, including how manu counts of the button have happened. <\/p>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonLogic_01.maxpat.zip\">buttonLogic_01.maxpat<\/a><a href=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/buttonLogic_01.maxpat.zip\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"1018\" src=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-1024x1018.png\" alt=\"\" class=\"wp-image-1223\" srcset=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-1024x1018.png 1024w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-150x149.png 150w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-300x298.png 300w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-768x763.png 768w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-100x99.png 100w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-200x199.png 200w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-450x447.png 450w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-600x596.png 600w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData-900x894.png 900w, https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/files\/2019\/09\/fancierButtonData.png 1272w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This shows how you can use the ASCII keyboard of your computer to detect which key has been pressed and how long for. You can use it as a starting point for managing the button input on your project. Download &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/2018\/10\/button-management\/\"> <span class=\"screen-reader-text\">Button management<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/posts\/1048"}],"collection":[{"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/comments?post=1048"}],"version-history":[{"count":3,"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/posts\/1048\/revisions"}],"predecessor-version":[{"id":1225,"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/posts\/1048\/revisions\/1225"}],"wp:attachment":[{"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/media?parent=1048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/categories?post=1048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/sonicstructures\/wp-json\/wp\/v2\/tags?post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}