{"id":4233,"date":"2016-12-15T22:19:39","date_gmt":"2016-12-15T20:19:39","guid":{"rendered":"http:\/\/www.tonmeister.ca\/wordpress\/?p=4233"},"modified":"2018-05-29T07:44:08","modified_gmt":"2018-05-29T05:44:08","slug":"probability-and-death","status":"publish","type":"post","link":"https:\/\/www.tonmeister.ca\/wordpress\/2016\/12\/15\/probability-and-death\/","title":{"rendered":"Probability and Death"},"content":{"rendered":"<p>Inspired by a conversation with Jamie Angus following my <a href=\"https:\/\/www.tonmeister.ca\/wordpress\/2016\/12\/09\/noise-averages-and-incorrect-assumptions-part-1\/\">last posting<\/a>, I did some digging into the probability density functions (PDF&#8217;s) of a bunch of test tracks that I use for tuning and testing loudspeakers.<\/p>\n<p>The plots below are the results of this analysis.<\/p>\n<p>Some explanations, to start&#8230;<\/p>\n<p>A PDF of an audio signal is a measurement of the probability that a given level (or sample value) will happen in a given period of time. In the case of the plots below, I just counted each time every sample value the 16-bit range of possibilities (from -32768 to 32767, if you think in binary &#8211; from -1 to +1-2^-15 in steps of 2^-15 if you prefer to think in floating point decimal) occurred in an entire track (usually the full tune). \u00a0That&#8217;s plotted below as the gray &#8220;curve&#8221; in a linear world.<\/p>\n<p>I converted the linear levels to &#8220;instantaneous&#8221; (sample-by-sample) dB values (since they&#8217;re instantaneous, they&#8217;re not in dB FS &#8211; but let&#8217;s not get into that discussion), but kept the positive and negative polarities of the linear values separate. Those are plotted as the red (negative values, expressed in dB) and black (positive values, expressed in dB). I cheated a little here, since a linear value of &#8220;0&#8221; isn&#8217;t really -96 dB &#8211; it&#8217;s -infinity dB&#8230; but, except for that one value, everything else is plotted correctly.<\/p>\n<p>When I did these analyses, I noticed lots of sample values in lots of tracks that had no probability of ever occurring. Sometimes, this is just because the track is mastered low in level &#8211; so the &#8220;upper&#8221; sample values are not used. Sometimes, there are &#8220;dead values&#8221; well inside the range. This likely points to an error in the converter and\/or digital mixing and\/or mastering equipment.<\/p>\n<p>Finally, I made a plot of the number of &#8220;dead&#8221; sample values per 128 sample values in 512 blocks (65536\/128 = 512). That&#8217;s the red line above the gray one.<\/p>\n<p>&nbsp;<\/p>\n<p>Some other things are noticeable in the plots, but we&#8217;ll take those as they come, below&#8230;<\/p>\n<p><em>Note that I will not reveal the names of the tracks I used, since it&#8217;s not my purpose here to make anyone look bad. It&#8217;s to look at the differences between different recordings, types, and even equipment&#8230; Don&#8217;t ask which recordings I used.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4253\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral8-1024x759.png\" alt=\"\" width=\"750\" height=\"556\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral8-1024x759.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral8-300x222.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral8-768x569.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral8.png 1111w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>This plot of an orchestral recording (&#8220;orchestral8&#8221;) looks fairly normal. As Jamie pointed out in the last posting, the distribution looks to be\u00a0Laplacian. There is a big spike at the &#8220;0&#8221; mark &#8211; due to the silence at the beginning and end of the track. As can be seen, the track peaks around a linear value of about +\/- 0.2 or about -14 dB below full scale. So, the sample values above 0.2 (or below -0.2) are unused. This can be seen in the blue lines (comprised of a blue dot at each sample value) in the top plot, and the red line at 128 (the number of &#8220;dead values&#8221; per 128 possible values) in the bottom plot.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4266\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst3-1024x754.png\" alt=\"\" width=\"750\" height=\"552\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst3-1024x754.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst3-300x221.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst3-768x566.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst3.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The &#8220;solo inst3&#8221; is very similar in behaviour, even though it&#8217;s a completely different recording. This one is of a solo stringed instrument in a fairly reverberant space. Notice that its basic characteristics are very similar to those shown in &#8220;orchestra8&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4272\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/voice3-1024x754.png\" alt=\"\" width=\"750\" height=\"552\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/voice3-1024x754.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/voice3-300x221.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/voice3-768x566.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/voice3.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The &#8220;voice3&#8221; recording is also similar. It&#8217;s a little interesting in all three of these recordings to note the transition between levels where there are no dead sample values (around the &#8220;0&#8221; line) and levels where there are nothing but dead values. In this area (in the &#8220;voice3&#8221; recording, for example, around +\/- 0.3, there are sample values that are used &#8211; but others that are skipped. This is because the track has a reasonably large crest factor (the ratio\u00a0between the peak and the RMS of the track) &#8211; in other words, it has noticeable peaks. When the levels peak positively or negatively, there will be some values skipped along the way&#8230;<\/p>\n<p>Although these are very different recordings of different instruments in different spaces on different labels &#8211; they all appear to have some characteristics in common.<\/p>\n<ul>\n<li>They very likely had little or no compression applied<\/li>\n<li>They don&#8217;t use the entire dynamic range available. This is not necessarily a bad thing, since it could be that each of those tracks was part of a larger collection, and its level made sense in the context of the entire album.<\/li>\n<\/ul>\n<p>Now let&#8217;s look at another acoustic recording that was done with four\u00a0microphones, and no compression &#8211; but possibly some small processing done in the mastering.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4252\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral6-1024x755.png\" alt=\"\" width=\"750\" height=\"553\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral6-1024x755.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral6-300x221.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral6-768x566.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/orchestral6.png 1123w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>Obviously the &#8220;orchestra6&#8221; recording has something strange going on. It almost looks as though something in the recording chain &#8220;favoured&#8221; every second sample value &#8211; hence the zig-zag pattern in the probability density function. Note that this was not a small thing &#8211; the difference in how much the sample values are\u00a0&#8220;preferred&#8221; is by a factor of 10.<\/p>\n<p>What could cause this? This is difficult to say by just looking at this plot, since we have to remember that these values are complied using the entire track. So, for example, three\u00a0possibilities that come immediately to mind are:<\/p>\n<ul>\n<li>for some strange reason, the analogue-to-digital converter, or one of the DSP blocks in the mastering console &#8220;liked&#8221; every second sample value 10 times more than the others<\/li>\n<li>for some other strange reason,\u00a0the original ADC only used every second sample value &#8211; and one 10th of the track was edited together (or &#8220;spliced&#8221;) from a different take that needed extra gain.<\/li>\n<li>something else<\/li>\n<\/ul>\n<p>To be honest, I think that the first or third of these is more likely than the second &#8211; but either way, it certainly looks weird&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4264\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst1-1024x766.png\" alt=\"\" width=\"750\" height=\"561\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst1-1024x766.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst1-300x225.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst1-768x575.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst1.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>This track of another solo instrument (hence &#8220;solo inst1&#8221;) is a little different &#8211; but not terribly so. There is a little flatter behaviour in the upper plot, which corresponds to a more convex &#8220;umbrella&#8221; shape in the lower one &#8211; but generally, this is nothing serious to raise any eyebrows in my opinion&#8230; It probably\u00a0indicates some minor compression.<\/p>\n<p>Let&#8217;s look at some other tracks with compression&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4270\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks4-1024x773.png\" alt=\"\" width=\"750\" height=\"566\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks4-1024x773.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks4-300x227.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks4-768x580.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks4.png 1123w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4263\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop21-1024x769.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop21-1024x769.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop21-300x225.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop21-768x577.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop21.png 1113w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>&#8220;testtracks4&#8221; and &#8220;pop21&#8221; both have indications of compression in the flat response of the top plots and the convex \u00a0shape of the lower ones. The &#8220;pop21&#8221; track has the added indication of clipping &#8211; the spikes on the sides of the plots. This indicates that we have an unusual number of samples with values of either -1 or +1. Note, however, that we do not move smoothly into that clipping &#8211; it was what we call &#8220;hard clipping&#8221;, since the values just before the +\/- 1 values show no indication of a smooth transition to the spike.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4242\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass20-1024x772.png\" alt=\"\" width=\"750\" height=\"565\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass20-1024x772.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass20-300x226.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass20-768x579.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass20.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The &#8220;bass20&#8221; track is interesting, not only because of the compression, but the apparent lack of silence (notice there is no spike around the &#8220;0&#8221; line). This is because this track is from a live album that is intended for gapless playback &#8211; and I just grabbed the track. So, it starts and stops with a hard transition to and from audience sound &#8211; there is no fade in or fade out.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4235\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass2-1024x768.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass2-1024x768.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass2-300x225.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass2-768x576.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass2.png 1123w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The &#8220;bass2&#8221; track also has the spikes on the ends, showing the clipping &#8211; but, as you can see, the plots (particularly the linear plot on the bottom) starts to slope upwards just before the spike &#8211; indicating some kind of soft clipping or a peak limiting function was used to shape the envelope.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4240\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass15-1024x763.png\" alt=\"\" width=\"750\" height=\"559\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass15-1024x763.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass15-300x223.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass15-768x572.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass15.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The &#8220;bass15&#8221; track is interesting, since it has the characteristic spikes on the sides that look a little like clipping (especially if you only look at the upper plot) but, as can be seen in the bottom plot, these are not at values of -1 or +1. So, this would indicate either that something else in the recording chain clipped &#8211; and then was smoothed out and reduced in level a little later in the process &#8211; or we&#8217;re looking at some kind of interesting soft-clipping processor that keeps a little &#8220;bump&#8221; in the envelope of the signal above the &#8220;clipping&#8221; area.<\/p>\n<p>&nbsp;<\/p>\n<p>Now let&#8217;s look at some really strange ones&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4271\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks6-1024x760.png\" alt=\"\" width=\"750\" height=\"557\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks6-1024x760.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks6-300x223.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks6-768x570.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/testtracks6.png 1109w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>I have no explanation for the plot in &#8220;testtracks6&#8221;. I can&#8217;t understand what would cause that bump <em>only<\/em> in the negative portion of the signal around -70 dB FS. My guess is that this is some sort of weird watermark that is inserted &#8211; but this is really stretching my imagination&#8230; \u00a0Of course, if could just be that something in the processing chain is just broken&#8230; Anyone reading this have any good ideas? Seems to me that I should do a little more digging into this track to see what&#8217;s going on around those sample values&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4261\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop11-1024x756.png\" alt=\"\" width=\"750\" height=\"554\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop11-1024x756.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop11-300x222.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop11-768x567.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop11.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The &#8220;pop11&#8221; track\u00a0is an example of a recording that was probably done on early digital recording gear &#8211; or an early digital mastering console. As can be seen in both plots, there are missing sample values across the entire range of possible values.<\/p>\n<p>One possible explanation of this is that this is a digital recording that had gain applied to it using a processor that did not use dither. This would cause the signal to not use every second sample value (or every third or fourth &#8211; depending on the gain applied). It&#8217;s also possible that it was processed or recorded using a device that had a &#8220;stuck bit&#8221;. I&#8217;ll do some simulations to show what that would look like and publish the plots in a future posting.<\/p>\n<p>Note that the\u00a0small &#8220;spikes&#8221; of peak limiting (looking a little like clipping on a small scale) are visible in the bottom plot &#8211; but they&#8217;re very small&#8230;<\/p>\n<p>Some more recordings with strangely dead sample values are shown below. Note that some of these are very recent recordings &#8211; so the &#8220;early digital gear&#8221; excuse doesn&#8217;t hold up for all of them&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4262\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop14-1024x759.png\" alt=\"\" width=\"750\" height=\"556\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop14-1024x759.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop14-300x222.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop14-768x569.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop14.png 1123w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4259\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop7-1024x769.png\" alt=\"\" width=\"750\" height=\"563\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop7-1024x769.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop7-300x225.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop7-768x577.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop7.png 1119w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4258\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop6-1024x743.png\" alt=\"\" width=\"750\" height=\"544\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop6-1024x743.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop6-300x218.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop6-768x558.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop6.png 1128w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4241\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass16-1024x759.png\" alt=\"\" width=\"750\" height=\"556\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass16-1024x759.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass16-300x222.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass16-768x569.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass16.png 1113w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>So, something is obviously broken in all four of these examples&#8230; Please don&#8217;t ask me how to explain them. The only thing I can do is to suspect that at least one piece of gear and\/or software that was used in the late stages of the process was really broken&#8230; I just hope that, whatever gear\/software it was, it didn&#8217;t cost a lot of money&#8230;.<\/p>\n<p>An interesting pair of examples are shown below&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4246\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz1-1024x753.png\" alt=\"\" width=\"750\" height=\"552\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz1-1024x753.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz1-300x221.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz1-768x565.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz1.png 1119w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4247\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz2-1024x755.png\" alt=\"\" width=\"750\" height=\"553\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz2-1024x755.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz2-300x221.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz2-768x566.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz2.png 1119w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The &#8220;jazz1&#8221; and &#8220;jazz2&#8221; recordings both come from the same album released by a small jazz ensemble. Notice that, although they are different tracks, they have similar PDF&#8217;s, seen in the &#8220;spikes&#8221; through the upper plots. It seems that there is something weird going on in the mastering console (or software) in this case &#8211; or perhaps the final mixing console&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4268\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech4-1024x751.png\" alt=\"\" width=\"750\" height=\"550\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech4-1024x751.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech4-300x220.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech4-768x563.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech4.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>The &#8220;speech4&#8221; track has obvious &#8220;favouring&#8221; of alternate sample values &#8211; but this was a track that was recorded on a very early DAT machine about 35 years ago&#8230; To be honest, knowing what I know about using an identical model DAT recorded, I&#8217;m surprised this looks as good as it does&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>I&#8217;ll just put in a bunch more plots without comment &#8211; just to let you see some of the variety that shows up with this kind of analysis.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4260\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop10-1024x752.png\" alt=\"\" width=\"750\" height=\"551\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop10-1024x752.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop10-300x220.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop10-768x564.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop10.png 1113w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4267\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech1-1024x748.png\" alt=\"\" width=\"750\" height=\"548\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech1-1024x748.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech1-300x219.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech1-768x561.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/speech1.png 1113w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4265\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst2-1024x763.png\" alt=\"\" width=\"750\" height=\"559\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst2-1024x763.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst2-300x224.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst2-768x572.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/solo-inst2.png 1111w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4257\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop4-1024x764.png\" alt=\"\" width=\"750\" height=\"560\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop4-1024x764.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop4-300x224.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop4-768x573.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop4.png 1115w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4256\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop3-1024x757.png\" alt=\"\" width=\"750\" height=\"554\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop3-1024x757.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop3-300x222.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop3-768x568.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/pop3.png 1113w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/>\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4254\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/piano2-1024x762.png\" alt=\"\" width=\"750\" height=\"558\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/piano2-1024x762.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/piano2-300x223.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/piano2-768x571.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/piano2.png 1113w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> \u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4251\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz22-1024x754.png\" alt=\"\" width=\"750\" height=\"552\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz22-1024x754.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz22-300x221.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz22-768x565.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz22.png 1121w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4250\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz19-1024x752.png\" alt=\"\" width=\"750\" height=\"551\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz19-1024x752.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz19-300x220.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz19-768x564.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz19.png 1121w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4249\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz12-1024x760.png\" alt=\"\" width=\"750\" height=\"557\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz12-1024x760.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz12-300x223.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz12-768x570.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz12.png 1123w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4248\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz5-1024x759.png\" alt=\"\" width=\"750\" height=\"556\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz5-1024x759.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz5-300x222.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz5-768x569.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/jazz5.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> \u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4245\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/choral2-1024x740.png\" alt=\"\" width=\"750\" height=\"542\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/choral2-1024x740.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/choral2-300x217.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/choral2-768x555.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/choral2.png 1123w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4244\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber6-1024x765.png\" alt=\"\" width=\"750\" height=\"560\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber6-1024x765.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber6-300x224.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber6-768x573.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber6.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4243\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber3-1024x759.png\" alt=\"\" width=\"750\" height=\"556\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber3-1024x759.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber3-300x222.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber3-768x569.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/chamber3.png 1117w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> \u00a0\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4239\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass12-1024x754.png\" alt=\"\" width=\"750\" height=\"552\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass12-1024x754.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass12-300x221.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass12-768x565.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass12.png 1115w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4238\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass11-1024x771.png\" alt=\"\" width=\"750\" height=\"565\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass11-1024x771.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass11-300x226.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass11-768x578.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass11.png 1113w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4237\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass7-1024x771.png\" alt=\"\" width=\"750\" height=\"565\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass7-1024x771.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass7-300x226.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass7-768x579.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass7.png 1115w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4236\" src=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass4-1024x788.png\" alt=\"\" width=\"750\" height=\"577\" srcset=\"https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass4-1024x788.png 1024w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass4-300x231.png 300w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass4-768x591.png 768w, https:\/\/www.tonmeister.ca\/wordpress\/wp-content\/uploads\/bass4.png 1121w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Post-script<\/h2>\n<p>This posting has a Part 2 that you&#8217;ll find <a href=\"https:\/\/www.tonmeister.ca\/wordpress\/2017\/04\/26\/probability-density-functions-part-2\/\">here<\/a>, and a Part 3 that you&#8217;ll find <a href=\"https:\/\/www.tonmeister.ca\/wordpress\/2017\/04\/27\/probability-density-functions-part-3\/\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Inspired by a conversation with Jamie Angus following my last posting, I did some digging into the probability density functions (PDF&#8217;s) of a bunch of test tracks that I use for tuning and testing loudspeakers. The plots below are the results of this analysis. Some explanations, to start&#8230; A PDF of an audio signal is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_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},"jetpack_post_was_ever_published":false},"categories":[33,4,43,6],"tags":[],"class_list":["post-4233","post","type-post","status-publish","format-standard","hentry","category-acoustics","category-audio","category-dsp","category-recordings"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p48hIM-16h","_links":{"self":[{"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/posts\/4233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/comments?post=4233"}],"version-history":[{"count":8,"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/posts\/4233\/revisions"}],"predecessor-version":[{"id":4517,"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/posts\/4233\/revisions\/4517"}],"wp:attachment":[{"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/media?parent=4233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/categories?post=4233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tonmeister.ca\/wordpress\/wp-json\/wp\/v2\/tags?post=4233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}