{"id":4500,"date":"2017-04-27T09:06:16","date_gmt":"2017-04-27T07:06:16","guid":{"rendered":"http:\/\/www.tonmeister.ca\/wordpress\/?p=4500"},"modified":"2018-05-29T07:40:18","modified_gmt":"2018-05-29T05:40:18","slug":"probability-density-functions-part-3","status":"publish","type":"post","link":"http:\/\/www.tonmeister.ca\/wordpress\/2017\/04\/27\/probability-density-functions-part-3\/","title":{"rendered":"Probability Density Functions, Part 3"},"content":{"rendered":"<p>In the <a href=\"http:\/\/www.tonmeister.ca\/wordpress\/2017\/04\/26\/probability-density-functions-part-2\/\">last posting<\/a>, I talked about the effects of a bandpass filter on the probability density function (PDF) of an audio signal. This left the open issue of other filter types. So, below is the continuation of the discussion&#8230;<\/p>\n<p>I made\u00a0noise signals (length 2^16 samples, fs=2^16) with different PDFs, and filtered them as if I were building a three-way loudspeaker with a 4th order Linkwitz-Riley crossover (without including the compensation for the natural responses of the drivers). The crossover frequencies were 200 Hz and 2 kHz (which are just representative, arbitrary values).<\/p>\n<p>So, the filter magnitude responses looked like Figure 1.<\/p>\n<figure id=\"attachment_4513\" aria-describedby=\"caption-attachment-4513\" style=\"width: 750px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4513\" src=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig01_filter-1024x768.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig01_filter-1024x768.png 1024w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig01_filter-300x225.png 300w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig01_filter-768x576.png 768w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig01_filter.png 1120w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption id=\"caption-attachment-4513\" class=\"wp-caption-text\">Fig 1: Magnitude responses of the three filter banks used to process the noise signals.<\/figcaption><\/figure>\n<p>The resulting effects on the probability distribution functions are shown below. (Check the last posting for plots of the PDFs of the full-band signals &#8211; however note that I made new noise signals, so the magnitude responses won&#8217;t match directly.)<\/p>\n<p>The magnitude responses shown in the plots below have been\u00a01\/3-octave smoothed &#8211; otherwise they look <em>really<\/em>\u00a0noisy.<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4502\" aria-describedby=\"caption-attachment-4502\" style=\"width: 750px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4502\" src=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig02_rectangular-1024x768.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig02_rectangular-1024x768.png 1024w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig02_rectangular-300x225.png 300w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig02_rectangular-768x576.png 768w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig02_rectangular.png 1120w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption id=\"caption-attachment-4502\" class=\"wp-caption-text\">Fig 2: PDFs of a noise signal with a rectangular distribution that has been split into the three bands shown in Figure 1. Note the\u00a0DC offset of the signal, visible in the low-pass output&#8217;s PDF.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4503\" aria-describedby=\"caption-attachment-4503\" style=\"width: 750px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4503\" src=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig03_linear-1024x768.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig03_linear-1024x768.png 1024w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig03_linear-300x225.png 300w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig03_linear-768x576.png 768w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig03_linear.png 1120w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption id=\"caption-attachment-4503\" class=\"wp-caption-text\">Fig 3: PDFs of a noise signal with a linear distribution that has been split into the three bands shown in Figure 1.\u00a0Note the\u00a0DC offset of the signal, visible in the low-pass output&#8217;s PDF.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4504\" aria-describedby=\"caption-attachment-4504\" style=\"width: 750px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4504\" src=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig04__triangular-1024x768.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig04__triangular-1024x768.png 1024w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig04__triangular-300x225.png 300w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig04__triangular-768x576.png 768w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig04__triangular.png 1120w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption id=\"caption-attachment-4504\" class=\"wp-caption-text\">Fig 4: PDFs of a noise signal with a triangular distribution that has been split into the three bands shown in Figure 1.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4505\" aria-describedby=\"caption-attachment-4505\" style=\"width: 750px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4505\" src=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig05_exponential-1024x768.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig05_exponential-1024x768.png 1024w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig05_exponential-300x225.png 300w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig05_exponential-768x576.png 768w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig05_exponential.png 1120w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption id=\"caption-attachment-4505\" class=\"wp-caption-text\">Fig 5: PDFs of a noise signal with an exponential distribution that has been split into the three bands shown in Figure 1.\u00a0Note the\u00a0DC offset of the signal, visible in the low-pass output&#8217;s PDF.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4506\" aria-describedby=\"caption-attachment-4506\" style=\"width: 750px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4506\" src=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig06_laplacian-1024x768.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig06_laplacian-1024x768.png 1024w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig06_laplacian-300x225.png 300w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig06_laplacian-768x576.png 768w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig06_laplacian.png 1120w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption id=\"caption-attachment-4506\" class=\"wp-caption-text\">Fig 6: PDFs of a noise signal with a Laplacian distribution that has been split into the three bands shown in Figure 1.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4507\" aria-describedby=\"caption-attachment-4507\" style=\"width: 750px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-4507\" src=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig07_gaussian-1024x768.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig07_gaussian-1024x768.png 1024w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig07_gaussian-300x225.png 300w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig07_gaussian-768x576.png 768w, http:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/fig07_gaussian.png 1120w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption id=\"caption-attachment-4507\" class=\"wp-caption-text\">Fig 7: PDFs of a noise signal with a Gaussian distribution that has been split into the three bands shown in Figure 1.<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h2>Post-script<\/h2>\n<p>This posting has a Part 1 that you&#8217;ll find <a href=\"http:\/\/www.tonmeister.ca\/wordpress\/2016\/12\/15\/probability-and-death\/\">here<\/a> and a Part 2 that you&#8217;ll find <a href=\"http:\/\/www.tonmeister.ca\/wordpress\/2017\/04\/26\/probability-density-functions-part-2\/\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last posting, I talked about the effects of a bandpass filter on the probability density function (PDF) of an audio signal. This left the open issue of other filter types. So, below is the continuation of the discussion&#8230; I made\u00a0noise signals (length 2^16 samples, fs=2^16) with different PDFs, and filtered them as if [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,43,5,42],"tags":[],"class_list":["post-4500","post","type-post","status-publish","format-standard","hentry","category-audio","category-dsp","category-loudspeakers","category-math"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p48hIM-1aA","_links":{"self":[{"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/posts\/4500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/comments?post=4500"}],"version-history":[{"count":8,"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/posts\/4500\/revisions"}],"predecessor-version":[{"id":4520,"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/posts\/4500\/revisions\/4520"}],"wp:attachment":[{"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/media?parent=4500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/categories?post=4500"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/tags?post=4500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}