{"_id":"clap-detector","_rev":"25-de7f59d01a08998ab33a6e16f197e3aa","name":"clap-detector","description":"Clap detection for node js (linux, raspberry systems)","dist-tags":{"latest":"0.5.3"},"versions":{"0.1.0":{"name":"clap-detector","version":"0.1.0","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","gitHead":"14828024d5d53bfe170603099915067cefa512fb","_id":"clap-detector@0.1.0","_shasum":"459c0668e11eadfd88546151583060d971325ff2","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"459c0668e11eadfd88546151583060d971325ff2","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.0.tgz","integrity":"sha512-ZHCRtOKTaCAIBPMcPfi5lbxmhKL4aALeaVF0W1pNaL1eQb8Wgr5WcbLI3vp/oR2w6AgtNz4TriU6DPyryXGMgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDGRMII5C03jgNwROwiuMHSomNMBkgHWIbJCPX2SRWTLAiEAyx5iN05jWzp9MqH4VCHra3X/mdUKK1eWvR1XtHNMWEU="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.1":{"name":"clap-detector","version":"0.1.1","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","gitHead":"0cedc9af7ce4ee7d75563705e96859753378a281","_id":"clap-detector@0.1.1","_shasum":"e53f59651ab2bf6fa313d79a6db1830ec905d0bb","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"e53f59651ab2bf6fa313d79a6db1830ec905d0bb","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.1.tgz","integrity":"sha512-w9ka9K4mgnfcLAqQ2pGjSi9/kZBka3jFwcCp6JQpCqQcJZQH5ARlyj7EekK53PTxScBera8xlefkCEak11nCDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8oSKZlHvK2VeugX7s60SLj3CFdeWrey1i65lF5/cGoAiEA9PW67NArIaRdMDeddF2VTTz3edMHpZIRCkSA50iYY6Y="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.2":{"name":"clap-detector","version":"0.1.2","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","gitHead":"32ca6089764c37b29888db8e1c1b6d411f1c15b0","_id":"clap-detector@0.1.2","_shasum":"cdf221cdf9a4f8a5987fb97fc68b8c9dd90d954e","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"cdf221cdf9a4f8a5987fb97fc68b8c9dd90d954e","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.2.tgz","integrity":"sha512-k5KAF+s+vgLOT4MdpMvkj253B8bwaKjs7uELuBcbrNBdnnQHecce/1BIzXEJMikisikIe1i3+WdHllRbXdtrJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCt9dmhz1Q14+KVycSD3djw7P+kxBSC5KEEkg/wUxtD2gIhANeCTQIzrM0Mjqu9ZHVJoX7L7RjmLOpUFdmYnVt18uFb"}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.3":{"name":"clap-detector","version":"0.1.3","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","gitHead":"3b8a58a5e0bad79c3b27670366241fd4edec19b7","_id":"clap-detector@0.1.3","_shasum":"872cf7b792dcb93fe09e12940d8c3192c86db933","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"872cf7b792dcb93fe09e12940d8c3192c86db933","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.3.tgz","integrity":"sha512-j3+vJ6FJ2rl5CDfqhejb5YIVq091GvNFm3wS9F08q59Hu5sIAm8ndCtA0Bj5THj8aQyTaGDMPBK7Ca+KT/40sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZatj5Zi+yj4vas9a23/7t3eWnm8G6+37Fako6rrCJGgIgZcFuPbVp+5kKyvEDoQJ+9rLsC2OeGU/HFii9soiDY9w="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.4":{"name":"clap-detector","version":"0.1.4","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","gitHead":"1ed98e7ee4471ec7e78dc6dec87b251953109545","_id":"clap-detector@0.1.4","_shasum":"4812db65d22a14f610d51cef0dd4761edc1a304c","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"4812db65d22a14f610d51cef0dd4761edc1a304c","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.4.tgz","integrity":"sha512-QNAJyp+5NJDHsSXIZ5GDS0xAfCSzWciIkRNZJetL3oZoork3TIq+iGmb46jmTTe+BXRziytZO7uF5gacA36gpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmEc4RUYJUsHEZeBs068Bg4RSAkK6fTV/HrfBPmhwU9AIhAPmtJnRBdJzN6iB9IuMrj14eY3G4VJLxoNdA+1emHGPR"}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.5":{"name":"clap-detector","version":"0.1.5","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"929583e8592d057682d272fba547c4acb813e98f","_id":"clap-detector@0.1.5","_shasum":"edce73b8c0e1dce2ee160fda2b9b75d8d1429d8f","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"edce73b8c0e1dce2ee160fda2b9b75d8d1429d8f","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.5.tgz","integrity":"sha512-o8KpiwY+2bmNOKJ2pb9ciA1PLr1QxzPwrLLAmh5iOJBFUttqXDj+KYVCstfZDvkhMBOwvk9+Ga26hvphWeGDQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlf1j1+GSlZo10zHquPFMYwuUnvzwAerhvf/8wIYIsOAiAz2iOsdBL9PxxgC66RdnmLlJzq5Ysv7bZeubqwSGJ01w=="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.6":{"name":"clap-detector","version":"0.1.6","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"a6baa1ffbd28a99b64ef005ea26cff5b9ff37825","_id":"clap-detector@0.1.6","_shasum":"aee596da3e487c4dad9cf76233bb5dd8f89f6c98","_from":".","_npmVersion":"2.14.3","_nodeVersion":"3.3.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"aee596da3e487c4dad9cf76233bb5dd8f89f6c98","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.6.tgz","integrity":"sha512-EHNODk5ODnxdDNpzyhNlVKfNwsLx3GLXJ+HkpEyBZBP20CPX6v8bVkeZdA37/D4QlaJMhFMF3TmPLaUfbmM6Fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVRgEmkJEO9Ftbtan2l/0GYTZSowMPCk/Ec0ZhYE7NgAIgajYWeAU9lLT8eE4DI9shNS0m81ZXP+zbOFvfCYRB8+0="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.7":{"name":"clap-detector","version":"0.1.7","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"9f507b51cdfe983ef5d91087c6756a9bd31ca37c","_id":"clap-detector@0.1.7","_shasum":"7b1b26d949b59dc2fde5eddac3258180bddc78ed","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"7b1b26d949b59dc2fde5eddac3258180bddc78ed","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.7.tgz","integrity":"sha512-P99XIGW15FDyQIXoDDDbilSt/O4x6c3vxzWd//+Hqv4cWVnDUzPvq4JzOsUUnh4RQBc6FJcJbN/fgcSUjd6x+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChBjQm86IHWKRiytZKPVxd9PcpAY/zswC7eVJ6VyVx4QIhAIZ0Z9S8rTaUc4LnxIf0sH204HoE90a+Zuhb3iUcIaj4"}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.8":{"name":"clap-detector","version":"0.1.8","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"f0d9c9d2fd3f4593c7afc05e6be4dc3a5819bc39","_id":"clap-detector@0.1.8","_shasum":"2d8ea363169748b3e110be34dec3f2cd6eb06c6a","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"2d8ea363169748b3e110be34dec3f2cd6eb06c6a","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.8.tgz","integrity":"sha512-QPtXve2j8hpCTNTFvfm0H+EwThXHFMN0XYYR60QysFkeNRgWaNVZM4cFZr7a8MFOdkEaux8s1D2uzm2QQvDMaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2AvqpBinHjjI74nY3nljap6z0zTW2dPp92Vu/MZfc2AiEAxVtE0CBhvxTAqWO3Xg5AVaEouWQJoEUvHJNxXuCtiCk="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.1.9":{"name":"clap-detector","version":"0.1.9","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"c7c8a98a15ba0f0f78ac91b9a5b86802c3f3401c","_id":"clap-detector@0.1.9","_shasum":"a71ef4960ad3383dccea27c7f423e07dfabd6c49","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"a71ef4960ad3383dccea27c7f423e07dfabd6c49","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.1.9.tgz","integrity":"sha512-KR7IHuTPr4MhqxXVxNZwdUmw5wR4Yrv0fkuqqA2ZLrmg9NF78KvcVJu7vuDnCY9/wNPp3AXLRLJV9zdLi0u0JA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCH78Br0xMcNGU5B9qwFRro/fjjb79TnnQKMS4zMyMqlAIgE7c5wl9jLxqLcFkUA8ydVxMVKKm4wVSaKqDhKD9sqKk="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.2.0":{"name":"clap-detector","version":"0.2.0","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"a62984d9e74d82ef21cf23cdb34c7965cf9196f6","_id":"clap-detector@0.2.0","_shasum":"811b9471dba423832d987cc6ef30bdd296ea84c8","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"811b9471dba423832d987cc6ef30bdd296ea84c8","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.2.0.tgz","integrity":"sha512-G6pjx1ZHI1wqECaslJ431DWVCFSqRDt+1CLegH3ZXdQicZ+MTg5E/rrLeV2qGQgA5KCLdaEQaa0DZt2cV3ncAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmYvGgq8hvP8rlHitj0dWi+jCtZuNX67EGA3ytru0AbAiA1pDcnB0dqnjK2ypNjex11tGQj/ggp3TetfldeHSNR7w=="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.2.1":{"name":"clap-detector","version":"0.2.1","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"934f4d16b0881b68dff930592396ff69a8fff412","_id":"clap-detector@0.2.1","_shasum":"926ea4f3d2637afad2a35872c057d5d24579b351","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"926ea4f3d2637afad2a35872c057d5d24579b351","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.2.1.tgz","integrity":"sha512-vPL0/lxkn7/A1mxdyDfRFL3+R8VYSnhFNfZLNl7XydvaMkr0JbjTCTTbMUyTGWI5bMpfMDJC7KbSlmEzm2+4Gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDe1ZDHgwc5CTPPDvqgyPEoxKZpPu6m2U0UU4zJFDAxWAiAq2H2q2/eBZ/F/CED/WXV8CnUdql/VeqKvqdn6Z1MK/Q=="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.3.0":{"name":"clap-detector","version":"0.3.0","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"app-root-path":"^1.0.0","lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"0136a41f37fd8c7901701db2df302fd66da1af73","_id":"clap-detector@0.3.0","_shasum":"ae485cbd4318b8b4bf2123d97c96fd784d8406b8","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"ae485cbd4318b8b4bf2123d97c96fd784d8406b8","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.3.0.tgz","integrity":"sha512-jefDjGFHZUJjTOOqufoSpARVIBBVwOb9U6KdP/bFkjfUeMaCc6GSaAP1F8NujFhUOr0RCAMAWy9W6sttQ2mmmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMka9LqiQZKVScEF/1Kw4cASSnsnCIWUxLDCeBva4IbgIhAKna0vcF2+qHMW17sz11K786mB6TKmVyWzW8aiNzLXdK"}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.3.1":{"name":"clap-detector","version":"0.3.1","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"app-root-path":"^1.0.0","lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"2783e39b81ab5d6bdb8a144f80500fbd0261503f","_id":"clap-detector@0.3.1","_shasum":"4b59c0d02dc02a51c8ed38b82f1c880def5ab48a","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"4b59c0d02dc02a51c8ed38b82f1c880def5ab48a","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.3.1.tgz","integrity":"sha512-JAnOyBCBzvXtI+QL7FcF5zIvPLE7T82Q2OPn7ZkUg3g1JG6oSj3QcyOy1MbV5ab8OPua0fp+t5xyQhC+jGuyhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOkGLGSnrj+G7MOkYVIikpGLYC6qWJLW+aEXdicilr8wIgIb+SZ33+T+qd+iLz4gMx6qcDK1tIxLQkGeam8Yrzp7Y="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.3.2":{"name":"clap-detector","version":"0.3.2","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"app-root-path":"^1.0.0","lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"f4bea458c7873b2f9f19d7316a6b78f3ab996c44","_id":"clap-detector@0.3.2","_shasum":"03c2cf131edef6bf3a546bde8930690014c9a234","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"03c2cf131edef6bf3a546bde8930690014c9a234","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.3.2.tgz","integrity":"sha512-lTBNji7oW9GeKDLUMd6MJ+TdvAAnn25nt1cGknrBbI0lQbc7emavJjeHoM/6LTYOj7otIe88uYAAu5tMuQoehA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGT4BI1bE/6dNyWveXUuChSOZdgl6Yq0sLfJuUjKgRs5AiAzWylbgTcFzB1euL3jvxwBhwnHepVYY18o2EBX7EgTgg=="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.4.0":{"name":"clap-detector","version":"0.4.0","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"app-root-path":"^1.0.0","lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"ca66f42f71473399b41d4411e3ab1139a5e14706","_id":"clap-detector@0.4.0","_shasum":"38b1806db563508cc122cac9883e98d5c2a76d66","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.2.4","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"38b1806db563508cc122cac9883e98d5c2a76d66","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.4.0.tgz","integrity":"sha512-GnkUKHOPszTVoPX1EEDq39l5lV+H4yHbEHKE6tt/NenLYQl5YP+D34BvNK/kJSiKgpDDzl+mC+VrIg/btAFUYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBHZZtan2tKG9vD6a1Ejey3qTAA3o6kh/p/6FMnkroqAiBus5ILT/cLQwEmKPH3Xck/qmIpgI6Tljc0v8y2o7u6Zw=="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{}},"0.4.1":{"name":"clap-detector","version":"0.4.1","description":"Clap detection for node js (linux, raspberry systems)","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"app-root-path":"^1.0.0","lodash":"^3.10.1","q":"^1.4.1"},"gitHead":"c00ad6ad0ec63a8b8f9576e502c8050371d17868","_id":"clap-detector@0.4.1","_shasum":"95bd4d27bdb951afcbb20807563ed579602f0b26","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"shasum":"95bd4d27bdb951afcbb20807563ed579602f0b26","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.4.1.tgz","integrity":"sha512-7GZqn/P8HmmtvsGbnBo2YyWVWh7ifk4IcPbdpNzVsTNP8LWhdHKmU/qwzxSXJcYha4zkdW2hTJiIsFrUc5wZVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmqe++dzv3ZWqlPycVEVAtEHUL96NNZGT+kUwAp2Ba6AiEAjRthq03v07iGxG2rvBpqElKukl1jGat3vRpjLiJTRqU="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/clap-detector-0.4.1.tgz_1481147691726_0.6162401877809316"},"directories":{}},"0.5.0":{"name":"clap-detector","version":"0.5.0","description":"Clap detection for node js (linux, raspberry systems)","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"npm run build:watch & node lib/demo","build:watch":"npx babel --watch -d lib src","build":"npx babel -d lib src"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","trigger","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"app-root-path":"2.1.0","lodash":"4.17.11"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.2.2","@babel/preset-env":"7.2.3"},"gitHead":"b54b2de8ca646d10273077f1a22cd1d1916bde68","_id":"clap-detector@0.5.0","_npmVersion":"6.5.0","_nodeVersion":"11.4.0","_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"dist":{"integrity":"sha512-ueu3GFuf8/sMa4JQ3q+ViFHlqTt8R4lPvM0SE0EZZrlvzyx4Xk5qNF1KXU2sxg4+kBJ0gttUeFCEb9NU39EGSw==","shasum":"3c2f429acf1b78ba0589d928df2f325a7682fa83","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.5.0.tgz","fileCount":7,"unpackedSize":21507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKMg3CRA9TVsSAnZWagAA8jQP/3hHRV0bdTmAkBRXYb+p\nAoo+nshy6f2P0nLlToz8qIrsPsizrlXb61s2ISYal9m8RfJsd6fkufvRzg4J\nBy32msCsGpiK+IOWMQVKbknB6uKeI1VhaK5Ge0QGbl77FiFoI6vrusTFNuU8\nv1WLiEzHax57y5GbEt17+I8CVxttzngVWSpWk2Ke29vI1TC3eKfWj2foruly\n0f6pSGYyzR0EAXcU0arII34CwEf/L8uLc0kB1mukUtXQg41SfV55U2qOhVzq\nxjgFxo9rwdYkEGEIBPZACbNH2tNCIAoqGhrKi5Lb6WentLNYxB1cBB0ENGc2\nmzE7EhrG8SzaJ5jyj9krUBdkcfNS/noz5gpfMLp8B2+DmkEeBidNBxdVaz95\nWYM+joxm3Iq0tT7FF7AvfAJ/rr/xFlyIesAaNJGkzIsz2YifWDqZK+g3qgxn\npR5c11p6lBY/LSUT1LYRSLubEEF8emaeVNVTnxhW8e7bQJxVHJDrXOBOw2N3\njUP/TY7nQikGM2/ZK/gdI8fJfliT3wi1Vixe7eUIStOl8nKW6X2aQAIkHyWa\nxE7MSUcAILxRVtIKuANJv3upmeDCr84Pacs7UlhcO20qYnfGbHiJjiiKFBiY\nCUU608LQX88jy2N0OyDWpm3iGZ8mFH+Lt4DmlT/Pe/cSCL4bhTTHxPdO+3UF\nPTnB\r\n=UrcO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlahDeMDWC0NfJqS++ToRXji5AdnEtZT9jMTUBxYzdoAiBFBmRm3LQ67rr/cmiIqfq9bo+g1X4GlP0+OASITqi9/Q=="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap-detector_0.5.0_1546176566371_0.41918547767898473"},"_hasShrinkwrap":false},"0.5.1":{"name":"clap-detector","version":"0.5.1","description":"Clap detection for node js (linux, raspberry systems)","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"npm run build:watch & node lib/demo","build:watch":"npx babel --watch -d lib src","build":"npx babel -d lib src"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","trigger","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"app-root-path":"2.1.0","lodash":"4.17.11"},"devDependencies":{"@babel/cli":"7.2.3","@babel/core":"7.2.2","@babel/preset-env":"7.2.3"},"gitHead":"60437bdaf64bfe7485701b28c2e18a37077abac4","_id":"clap-detector@0.5.1","_nodeVersion":"11.4.0","_npmVersion":"6.6.0","dist":{"integrity":"sha512-MPCuTUfBkImhGEs6Y9GbwwNS9ZH2KJ4Zc3ihLX6MPrpTiMdFGPu4xDPF3VfAInvIWQ48KEZJuIkVZoyqs1atBQ==","shasum":"347d03a375f72a82c93fd3f8c5d99b982f9a4101","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.5.1.tgz","fileCount":7,"unpackedSize":21539,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcR44sCRA9TVsSAnZWagAAKm0P/1abEULdJIV+q3/IgDYm\niukoKEp26a5i6OJps0RiC1sSQtQ9Y0D6kMwpM/EyaI7ggkRBQpwwkQvnCmVy\n979jTpl9HDSlK/HkxH4U/nr0krUCfX0sIsKORYjQYb+Lb1o60y3uCSoPhUW7\nfm/wgmGygOCwYYQ5yj68aizguw8GsW+1ChjaSgNug9joOOAqV20I1kKb8JWe\n/gLIMEgZ4uXEF6KRt2XI8fyej5TL3y0W4vEIJWQgWejC2Lqybz+FeH4dsD/X\nJ4QUws4MoVY5kvRSQNQwn2slXyyK2HkiQt5eyZleKoTNfxn+rmQAO7ybBnlv\n7/qsZxoBuTiSnyhspK+Xli1LIHnfLfYF8YjXprVXlnafNAa2GArWPcb1DUDv\nESuWBx+eZ9ru9ImTfngxIWJ6D0SpwPVVbleKmv68mJPiqOKYuRohv7Tdp1O/\nNSjB06S6ngVpHGaDuna0j6bJ6CfIybKhTjZVb3qLyiLk5SfnLjH5/ZEExWou\nmK7/wgmAYW9+D7Fuo0rz530tHZHudgjJC7kliK4Zchc+V/8VpBqGJHybh6fi\nFXQure4Nwx6Oh0QfFKPLz2BrBPOBvVyGBzy64tpGnZJOwgnPeAjZ7HJJzVND\nKERwOgehhyl0Mtdu6LJcKFr9+16owZWMJYeQva7XxOGhi9n4GfE7INgxWajN\nk7v7\r\n=Pd6x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmPD1pKEshtdybCn8zwVxwQzuleI0J5WyixcP/EG0kBAiEAujb4jl/KLIxP8t0/QIpL5tsd8HrHXfu3k5PUjYI9axc="}]},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap-detector_0.5.1_1548193323872_0.5947981566234075"},"_hasShrinkwrap":false},"0.5.3":{"name":"clap-detector","version":"0.5.3","description":"Clap detection for node js (linux, raspberry systems)","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"npm run build:watch & node lib/demo","build:watch":"npx babel --watch -d lib src","build":"npx babel -d lib src"},"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"keywords":["node","js","clap","trigger","detection","sox","alsa","microphone","raspberry","raspbian"],"author":{"name":"tom-s"},"licenses":[{"type":"MIT","url":"https://opensource.org/licenses/MIT"}],"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"homepage":"https://github.com/tom-s/clapDetector#readme","dependencies":{"app-root-path":"2.1.0","lodash":"4.17.21"},"devDependencies":{"@babel/cli":"7.13.10","@babel/core":"7.13.10","@babel/preset-env":"7.13.10"},"gitHead":"3ce7545bb371ec60b5d60f67e715767fcf6f5b2d","_id":"clap-detector@0.5.3","_nodeVersion":"14.4.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-euEGE8TigVlaRytHDP62Y4Fcd83JHQmwUWMzT8MULaqmB0bvERaW7OWNZZgrpkt1bI/m+25c8p8lRubLyfFyJA==","shasum":"ae47af53389cf6c7eff34022fcad95b7767729c9","tarball":"https://registry.npmjs.org/clap-detector/-/clap-detector-0.5.3.tgz","fileCount":7,"unpackedSize":21666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSP97CRA9TVsSAnZWagAAyDgP/j65vcOCnAasVn5o0GUy\nxwkJpZNwhYnNcUDd5CSMnwRoqptz6pqRAGmyrTx9QCgsI5OrO3XVnaGayNO+\n6eCdOsZIoEjd1W8uTlEZCmSMRfj8HTaUDvw/A6L5tFQ/dOcy7cLKttdsnou1\nXWOF1zCK4yg6pdnHLlsGtOkONZhFDG1VnzC0Id/t9vSZOBEYwhKEg7LgLP9z\n9HgpJG+YIn6q3n6WBr9rcJsmhLeM7k9ruWOG+ionLfridHVQDLUEWJj9yL4+\n6CrEsa3KCOz0aiySitRpQJh0UYlCNeNwUjWr+O2w+JBGvAjk0QsOaOYCuJES\n9coYiZImg7ZPyeLBeWSCpG1IeyOV7GEFuBuzgj7GpalvQyjDk3e/9KLX1ORx\n58eCUlHtXe4QvslpS142Jy2Ay1Z5pkf1hQsx50DYkLPsvZGWiN3IU1YjG2+f\n7VepTzLtkkSVzbr46QacKebestzAKNyOMVjikb0BPsyi+QDbFyndJepeafJM\n8e6rlYbOpcTatttwBRgozs9lbnYwVEWzfn4XbpoNGTjPHiQ0An/3AiDW+12o\n99D7IW83UMqE7mNdZpIvrFFrxMcpLH8mU4psqn/1BIep8mpBMCMA9KR0D+Sz\nTasHy4bRwZnL5GGLvrkZaxhTVfRkcY+rAY8pAwrnQHNT6GdGAZSJZq/IVInN\n1p1H\r\n=5C6/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOsqz7dKv/mMrkIchAZeIGB9XPkGGU6ZZwOadHKoYYXwIhAO8Q1oYpmq8lZmxJGdV9dTI11DYGJTKX3P35EmjzzQUG"}]},"_npmUser":{"name":"tom-s","email":"thom.schell@gmail.com"},"directories":{},"maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/clap-detector_0.5.3_1615396731055_0.10833949671152254"},"_hasShrinkwrap":false}},"readme":"Clap detection module for node js\n===\n\n## Synopsis\n\nClapDetector is a hand clap detection module for nodejs (iojs). It detects a clap or a series of claps and allows you to trigger callbacks whenever these events happen.\nI created this module for my personal assistant project on a Raspberry Pi (raspbian). The clap detection allows me to activate the assistant whenever I need it (and prevents it from continuously listening out for instructions or interpreting random noises as instructions)\n\n## Requirements\nThis module works on linux based OS (raspbian, Ubuntu, Debian...) using alsa for audio and a working microphone or Mac OS X using coreaudio.\n\n## Installation\n\nThis module requires sox, \"the Swiss Army knife of sound processing programs\" (http://sox.sourceforge.net/) to be installed\n### Linux\n```bash\nsudo apt-get install sox\n```\n### Mac OS X\n```bash\nbrew install sox\n```\n\n### npm install\nYou can simply add this module to your node.js project with\n```bash\nnpm install --save clap-detector\n```\n\n## Usage\n\nFirst, create an instance of the ClapDetector class:\n```bash\nconst clap = new ClapDetector()\n```\n\nThen register a callback that will be triggered whenever a series of hand claps is detected. Your callback will be provided with an array of claps and their associated timestamps as arguments.\n\n\n```bash\nconst disposableOneClapListener = clap.addClapsListener(claps => {\n  console.log(\"heard 1 clap\", claps)\n}, { number: 1, delay: 0 })\n```\n\nYou can dispose (remove) a clap listener by calling the disposable method returned by addClapsListeners\n\n```bash\ndisposableOneClapListener() // dispose the clap listener\n```\n\nFinally  you can call the dispose() method when you want to stop all clap detection and free associated resources\n\n```bash\nclap.dispose()\n```\n\n### addClapsListener\n* Type : *Function*\n* Arguments: *(callback [Function], options [Object])*\n\n###### list of options\n| Option  | Description |Default value |\n| ------------- | ------------- |  ------------- |\n| number  | Number of claps  | 1  |\n| delay  | Period within the specified number of claps must be heard (ms)  |  1000 |\n| force  | If true, trigger callback every time even if a listener with a higher number is triggered  |false  |\n\n## Real life example\n```bash\nimport ClapDetector from 'clap-detector'\n\nconst clap = new ClapDetector()\n\nclap.addClapsListener(claps => {\n  console.log(\"change tv channel\")\n}, { number: 1, delay: 0 })\n\nclap.addClapsListener(claps => {\n  console.log(\"turn tv on\", claps)\n}, { number: 2, delay: 1000 })\n\nclap.addClapsListener(claps => {\n  console.log(\"turn tv off\", claps)\n}, { number: 3, delay: 1000 })\n```\n\n## Full example\n```bash\nimport ClapDetector from 'clap-detector'\n\nconst clap = new ClapDetector()\nconst disposableOneClapListener = clap.addClapsListener(claps => {\n  console.log(\"heard 1 clap (force)\", claps)\n}, { number: 1, delay: 0, force: true })\n\nconst disposableOneClapForceListener = clap.addClapsListener(claps => {\n  console.log(\"heard 1 clap\", claps)\n}, { number: 1, delay: 1000 })\n\nconst disposableTwoClapsListener = clap.addClapsListener(claps => {\n  console.log(\"heard 2 claps\", claps)\n}, { number: 2, delay: 1000 })\n\nconst disposableThreeClapsListener = clap.addClapsListener(claps => {\n  console.log(\"heard 3 claps\", claps)\n}, { number: 3, delay: 1000 })\n\n// Cancel some clap listeners\n// Cancel alls claps listener but 2 claps after 10 seconds\nsetTimeout(() => {\n  console.log(\"only listen to 2 claps now\")\n  disposableOneClapListener()\n  disposableOneClapForceListener()\n  disposableThreeClapsListener()\n}, 10000)\n\n// Dispose (stop sox process and listeners) after 30s\nsetTimeout(() => {\n  console.log(\"dispose all listeners and free ressources\")\n  clap.dispose()\n}, 30000)\n```\n\n## Configuration\n\nYou can pass a configuration object and override the default values when you create an instance of the ClapDetector class. If you don't the following config will be used.\n\n```bash\n// DEFAULT CONFIG\nvar CONFIG = {\n  AUDIO_SOURCE: 'hw:1,0', // this is your microphone input. If you dont know it you can refer to this thread (http://www.voxforge.org/home/docs/faq/faq/linux-how-to-determine-your-audio-cards-or-usb-mics-maximum-sampling-rate)\n  DETECTION_PERCENTAGE_START : '5%', // minimum noise percentage threshold necessary to start recording sound\n  DETECTION_PERCENTAGE_END: '5%',  // minimum noise percentage threshold necessary to stop recording sound\n  CLAP_AMPLITUDE_THRESHOLD: 0.7, // minimum amplitude threshold to be considered as clap\n  CLAP_ENERGY_THRESHOLD: 0.3,  // maximum energy threshold to be considered as clap\n  MAX_HISTORY_LENGTH: 10 // all claps are stored in history, this is its max length\n}\nconst clap = new ClapDetector(CONFIG)\n```\n\nIf you wish to improve the clap detection you can fiddle with the CLAP_AMPLITUDE_THRESHOLD and CLAP_ENERGY_THRESHOLD values. Depending on your microphone these might need to be modified.\n\n## Tests\n\nThese will be added soon. Please do not hesitate to submit some Ò!\n\n## About the Author\n\nI am a full-stack Javascript developer based in Lyon, France.\n\n[Check out my website](http://www.thomschell.com)\n\n## License\n\nclap-detector is dual licensed under the MIT license and GPL.\nFor more information click [here](https://opensource.org/licenses/MIT).\n","maintainers":[{"name":"tom-s","email":"thom.schell@gmail.com"}],"time":{"modified":"2022-06-13T06:05:11.667Z","created":"2015-11-09T19:12:51.967Z","0.1.0":"2015-11-09T19:12:51.967Z","0.1.1":"2015-11-09T19:52:41.837Z","0.1.2":"2015-11-09T20:18:13.631Z","0.1.3":"2015-11-09T21:34:38.038Z","0.1.4":"2015-11-09T21:44:33.714Z","0.1.5":"2015-11-09T21:57:02.740Z","0.1.6":"2015-11-09T21:58:34.268Z","0.1.7":"2015-11-11T10:35:30.196Z","0.1.8":"2015-11-11T16:55:12.312Z","0.1.9":"2015-11-11T17:07:55.822Z","0.2.0":"2015-11-11T17:17:48.283Z","0.2.1":"2015-11-11T17:19:30.445Z","0.3.0":"2015-11-28T18:41:56.248Z","0.3.1":"2015-11-28T18:59:09.897Z","0.3.2":"2016-01-09T10:35:20.719Z","0.4.0":"2016-01-18T19:49:44.691Z","0.4.1":"2016-12-07T21:54:52.272Z","0.5.0":"2018-12-30T13:29:26.482Z","0.5.1":"2019-01-22T21:42:04.132Z","0.5.3":"2021-03-10T17:18:51.265Z"},"homepage":"https://github.com/tom-s/clapDetector#readme","keywords":["node","js","clap","trigger","detection","sox","alsa","microphone","raspberry","raspbian"],"repository":{"type":"git","url":"git+ssh://git@github.com/tom-s/clapDetector.git"},"author":{"name":"tom-s"},"bugs":{"url":"https://github.com/tom-s/clapDetector/issues"},"readmeFilename":"README.md","users":{"131":true,"kevbaker":true}}