{"id":63,"date":"2005-10-16T11:51:53","date_gmt":"2005-10-16T18:51:53","guid":{"rendered":"http:\/\/outflux.net\/blog\/archives\/2005\/10\/16\/mythtv-button-sounds\/"},"modified":"2005-10-16T12:00:24","modified_gmt":"2005-10-16T19:00:24","slug":"mythtv-button-sounds","status":"publish","type":"post","link":"https:\/\/outflux.net\/blog\/archives\/2005\/10\/16\/mythtv-button-sounds\/","title":{"rendered":"mythtv button sounds"},"content":{"rendered":"<p>Well, I&#8217;ve discovered that my &#8220;slow to respond&#8221; UI was entirely due to the lirc &#8220;repeat&#8221; settings.  I&#8217;ve eliminated (&#8220;repeat=0&#8221;) the repeat settings for the Esc, Up, Down, Left, Right, Space, and Return buttons.  I discovered this only after seeing that <a href=\"http:\/\/www.lirc.org\/html\/ircat.html\">ircat<\/a> was just as slow to respond.  I&#8217;ve hacked together a &#8220;make noise&#8221; script (named &#8220;irnoise&#8221;) that runs along with mythfrontend:<\/p>\n<blockquote><p>\n#!\/bin\/bash<br \/>\nexport SOUNDS=~mythtv\/sounds<\/p>\n<p>ircat mythtv | while read NAME; do<br \/>\n&nbsp;        case &#8220;$NAME&#8221; in<br \/>\n&nbsp;&nbsp;                Return|Space)<br \/>\n&nbsp;&nbsp;&nbsp;                        SOUND=select.wav<br \/>\n&nbsp;&nbsp;&nbsp;                        ;;<br \/>\n&nbsp;&nbsp;                *)<br \/>\n&nbsp;&nbsp;&nbsp;                        SOUND=default.wav<br \/>\n&nbsp;&nbsp;&nbsp;                        ;;<br \/>\n&nbsp;        esac<br \/>\n&nbsp;        #echo &#8220;$NAME: $SOUND&#8221;<br \/>\n&nbsp;        aplay -q &#8220;$SOUNDS&#8221;\/&#8221;$SOUND&#8221;<br \/>\ndone\n<\/p><\/blockquote>\n<p>This gives me my &#8220;boop&#8221; and &#8220;click&#8221; noises for all remote buttons.  Yay!  Since I couldn&#8217;t find the official TiVo noises, and I don&#8217;t feel like taking my TiVo apart right now, I just grabbed some noises <a href=\"http:\/\/webs.lanset.com\/wa8lmf\/aprs\/wavaudio.htm\">I found online<\/a>.  From the &#8220;MiscWAVs.zip&#8221;, I used &#8220;THUD.WAV&#8221; and &#8220;BTN_DWN.WAV&#8221;:<\/p>\n<blockquote><p>\nsox src\/THUD.WAV -t wav -c 1 -s -w -r 48000 default.wav resample<br \/>\nsox src\/BTN_DWN.WAV -t wav -c 1 -s -w -r 48000 -v 2 select.wav resample<br \/>\nnormalize-audio -m default.wav select.wav\n<\/p><\/blockquote>\n<p>Not a lot of complaints left with my MythTV installation.  :)<\/p>\n<p style='text-align:left'>&copy; 2005, <a href=\"https:\/\/outflux.net\/blog\/\">Kees Cook<\/a>. This work is licensed under a <a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">Creative Commons Attribution-ShareAlike 4.0 License<\/a>.<br \/><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><img decoding=\"async\" alt=\"CC BY-SA 4.0\" style=\"border-width:0\" src=\"https:\/\/i.creativecommons.org\/l\/by-sa\/4.0\/88x31.png\" \/><\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, I&#8217;ve discovered that my &#8220;slow to respond&#8221; UI was entirely due to the lirc &#8220;repeat&#8221; settings. I&#8217;ve eliminated (&#8220;repeat=0&#8221;) the repeat settings for the Esc, Up, Down, Left, Right, Space, and Return buttons. I discovered this only after seeing that ircat was just as slow to respond. I&#8217;ve hacked together a &#8220;make noise&#8221; script [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/63"}],"collection":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":0,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"wp:attachment":[{"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/outflux.net\/blog\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}