{"id":236,"date":"2010-06-17T18:09:28","date_gmt":"2010-06-17T18:09:28","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/2010\/06\/17\/world-cup-soccer-and-the-vuvuzela\/"},"modified":"2017-01-06T09:57:41","modified_gmt":"2017-01-06T14:57:41","slug":"world-cup-soccer-and-the-vuvuzela","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2010\/06\/17\/world-cup-soccer-and-the-vuvuzela\/","title":{"rendered":"World Cup Soccer and the Vuvuzela"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <introduction>\r\n      <p>Anyone been watching soccer lately?  If so, you may have noticed a buzz in the background, created by many people playing\r\n         the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Vuvuzela\">vuvuzela<\/a>. <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/27912-vuvuzela-sound-denoising-algorithm\">This contribution<\/a> on the File Exchange by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/45720\">Choqueuse Vincent<\/a> might help you filter the sound track!  Vincent uses the spectral subtraction method to achieve some nice results.\r\n      <\/p>\r\n   <\/introduction>\r\n\r\n   <h3>What Kind of Noise Does Your Data Have?<a name=\"2\"><\/a><\/h3>\r\n   <p>When I was studying Earth's magnetic field, we always joked that one person's noise was someone else's signal - because the\r\n      main contributions to the magnetic field are crustal contributions, deep Earth contributions, and those external to the planet.\r\n       I was at various times trying to model or understand contributions from Earth's interior (sometimes crustal, sometimes core)\r\n      while others were studying the external sources.  Because we could apply at least a simple model to the sources we weren't\r\n      studying, we were each able to model the sources of interest.\r\n   <\/p>\r\n   <p>Do you have the luxury of understanding enough about the sources of noise in your data?  Let me know <a href=\"https:\/\/blogs.mathworks.com\/loren\/?p=236#respond\">here<\/a>.\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_ee51926514ce447f954834df86041bf0() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='ee51926514ce447f954834df86041bf0 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' ee51926514ce447f954834df86041bf0';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        author = 'Loren Shure';\r\n        copyright = 'Copyright 2010 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }   \r\n      \r\n-->\r\n<\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_ee51926514ce447f954834df86041bf0()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n            the MATLAB code \r\n            <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; 7.10<br><\/p>\r\n<\/div>\r\n<!--\r\nee51926514ce447f954834df86041bf0 ##### SOURCE BEGIN #####\r\n%% World Cup Soccer and the Vuvuzela\r\n% Anyone been watching soccer lately?  If so, you may have noticed a buzz\r\n% in the background, created by many people playing the\r\n% <http:\/\/en.wikipedia.org\/wiki\/Vuvuzela vuvuzela>.\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/27912-vuvuzela-sound-denoising-algorithm\r\n% This contribution> on the File Exchange by\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/45720\r\n% Choqueuse Vincent> might help you filter the sound track!  Vincent uses \r\n% the spectral subtraction method to achieve some nice results.\r\n%% Sample Data\r\n% Here's a spectral plot including contributions from many vuvuzelas.\r\n%\r\n% <<https:\/\/www.mathworks.com\/matlabcentral\/fx_files\/27912\/1\/spectrogram.jpg>>\r\n% \r\n%% What Kind of Noise Does Your Data Have?\r\n% When I was studying Earth's magnetic field, we always\r\n% joked that one person's noise was someone else's signal - because the\r\n% main contributions to the magnetic field are crustal contributions, deep\r\n% Earth contributions, and those external to the planet.  I was at various\r\n% times trying to model or understand contributions from Earth's interior\r\n% (sometimes crustal, sometimes core) while others were studying the\r\n% external sources.  Because we could apply at least a simple model to the\r\n% sources we weren't studying, we were each able to model the sources of\r\n% interest.\r\n%\r\n% Do you have the luxury of understanding enough about the sources of noise\r\n% in your data?  Let me know\r\n% <https:\/\/blogs.mathworks.com\/loren\/?p=236#respond here>.\r\n##### SOURCE END ##### ee51926514ce447f954834df86041bf0\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n      Anyone been watching soccer lately?  If so, you may have noticed a buzz in the background, created by many people playing\r\n         the vuvuzela. This contribution on the File Exchange... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2010\/06\/17\/world-cup-soccer-and-the-vuvuzela\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[33,37],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/236"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=236"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":2175,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/236\/revisions\/2175"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}