{"id":2378,"date":"2010-06-12T07:19:45","date_gmt":"2010-06-12T11:19:45","guid":{"rendered":"http:\/\/languagelog.ldc.upenn.edu\/nll\/?p=2378"},"modified":"2010-06-12T13:50:39","modified_gmt":"2010-06-12T17:50:39","slug":"lowpass-filtering-to-remove-speech-content","status":"publish","type":"post","link":"https:\/\/languagelog.ldc.upenn.edu\/nll\/?p=2378","title":{"rendered":"Lowpass filtering to remove speech content?"},"content":{"rendered":"<p>In the \"halfalogues\" research that I've discussed in a couple of posts recently (\"<a href=\"http:\/\/languagelog.ldc.upenn.edu\/nll\/?p=2375\">Halfalogues<\/a>\", 6\/9\/2010; \"<a href=\"http:\/\/languagelog.ldc.upenn.edu\/nll\/?p=2376\">Halfalogues onward<\/a>\", 6\/11\/2010), one of the experimental manipulations was intended to establish that \"it is the unpredictable informational content of halfalogues that result [sic] in distraction\", and not (for example)  that the distraction is simply caused by an acoustic background that comes and goes at irregular intervals like those of conversational turns.<\/p>\n<p>As I suggested in passing, the method that was used for this experimental control has some intrinsic problems, and the paper doesn't give enough information for us to judge how problematic it was. Today I'm going to explain those remarks in a bit more detail. (Nerd Alert: if you don't care about the methodology of psychophysical experimentation, you may want to turn your attention to some of our other fine posts.)<\/p>\n<p><!--more--><\/p>\n<p>From the paper's abstract:<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000080;\">We show that merely overhearing a halfalogue results in decreased performance on cognitive tasks designed to reflect the attentional demands of daily activities. By contrast, overhearing both sides of a cell-phone conversation or a monologue does not result in decreased performance. This may be because the content of a halfalogue is less predictable than both sides of a conversation. In a second experiment, we control for differences in acoustic factors between these types of overheard speech, establishing that it is the unpredictable informational content of halfalogues that result in distraction.<\/span><\/p>\n<p>Here's a bit more of their reasoning, from the body of the paper:<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000080;\">Relative to dialogues, halfalogues are less predictable in both their informational content and their acoustic properties. Whereas dialogues involve the nearly continuous switching of speech between speakers, in halfalogues, speech onsets and offsets are more unpredictable. If these unpredictable acoustic changes were solely responsible for the detrimental effects of overhearing halfalogues, then filtering out the informational content while leaving the low-level acoustic content the same, would still result in significant distraction. On the other hand, if the increased distraction observed while overhearing halfalogues is due to the relative unpredictability of the content of half of a conversation, then filtering the speech should nullify the distraction resulting from overhearing halfalogues. Thus, Experiment 2 controlled for the unpredictable acoustics of the halfalogue speech by filtering out the information content (i.e. rendering the speech incomprehensible) while maintaining the essential acoustic characteristics of speech onsets and offsets.<\/span><\/p>\n<p>How did they \"control for the unpredictable acoustics of the halfalogue speech by filtering out the information content &#8230; while maintaining the essential acoustic characteristics of speech onsets and offsets\"?<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000080;\">[A]ll sound files were low-pass filtered such that only the fundamental frequency of the speech was audible. This manipulation rendered the speech incomprehensible while maintaining the essential acoustic characteristics of speech; similar to hearing someone speak underwater.<\/span><\/p>\n<p>But the problem with lowpass filtering is that it removes a very large portion of \"the essential acoustic characteristics of speech\". Specifically and obviously, it removes the higher frequencies. And since the typical range of fundamental frequencies for female conversational speech is something like 100-300 Hz, while the range of speech-relevant frequencies goes up to 8,000 Hz or so, we're talking about removing a very large fraction of the \"essential acoustic characteristics of speech\".<\/p>\n<p>This has many psychological consequences, but I'll focus on one simple aspect of the outcome: it's likely to make the overall psychologically-relevant sound level of the audio signal a great deal lower.<\/p>\n<p>Here's the peak-normalized original\u00a0 for a short piece of female speech (specifically, TEST\/DR2\/FCMR0\/SI1105.wav from the <a href=\"http:\/\/www.ldc.upenn.edu\/Catalog\/CatalogEntry.jsp?catalogId=LDC93S1\">TIMIT<\/a> collection):<\/p>\n<p class=\"audioplayer_container\"><span style=\"display:block;padding:5px;border:1px solid #dddddd;background:#f8f8f8\" id=\"audioplayer_1\">Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version <a href=\"http:\/\/www.adobe.com\/shockwave\/download\/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW\" title=\"Download Adobe Flash Player\">here<\/a>. You also need to have JavaScript enabled in your browser.<\/span><\/p>\n<p><script type=\"text\/javascript\">AudioPlayer.embed(\"audioplayer_1\", {soundFile:\"aHR0cDovL2xhbmd1YWdlbG9nLmxkYy51cGVubi5lZHUvbXlsL1NJMTEwNWEubXAzA\"});<\/script><\/p>\n<p>Here's the similarly peak-normalized lowpass signal:<\/p>\n<p class=\"audioplayer_container\"><span style=\"display:block;padding:5px;border:1px solid #dddddd;background:#f8f8f8\" id=\"audioplayer_2\">Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version <a href=\"http:\/\/www.adobe.com\/shockwave\/download\/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;promoid=BIOW\" title=\"Download Adobe Flash Player\">here<\/a>. You also need to have JavaScript enabled in your browser.<\/span><\/p>\n<p><script type=\"text\/javascript\">AudioPlayer.embed(\"audioplayer_2\", {soundFile:\"aHR0cDovL2xhbmd1YWdlbG9nLmxkYy51cGVubi5lZHUvbXlsL1NJMTEwNWMubXAzA\"});<\/script><\/p>\n<p>By \"peak-normalized\", I mean that the samples in the .wav file are scaled by a factor chosen so that the sample with the highest absolute value just fits within the 16-bit range of values allowed.\u00a0 And I've lowpass filtered the signal such that the edge of the passband is at 300 Hz, reflecting the fact that the highest fundamental-frequency value was 280 Hz.\u00a0 For completeness, here's a histogram of the pitch values in the utterance:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/languagelog.ldc.upenn.edu\/myl\/SI1105h.png\" alt=\"\" \/><\/p>\n<p>As you can hear, the lowpass signal sounds a lot softer, and therefore will presumably be less salient and less distracting. Go listen to the two signals again, if you've forgotten.<\/p>\n<p>But there's no way to make the lowpass signal louder, except of course by turning up the gain on an external amplifier.\u00a0 It's been \"normalized\" to be as loud as it possibly can be as a digital waveform.<\/p>\n<p>How big is the difference in acoustic sound level between the peak-normalized original and the peak-normalized lowpass version? Well, here's a plot of the difference (in decibels) between the\u00a0 <a href=\"http:\/\/en.wikipedia.org\/wiki\/A-weighting\">A-weighted<\/a> amplitudes of the two signals (calculated 100 times a second in a 30-msec hamming window):<\/p>\n<p><a href=\"http:\/\/languagelog.ldc.upenn.edu\/myl\/SI1105a.png\"><img decoding=\"async\" title=\"Click to embiggen\" src=\"http:\/\/languagelog.ldc.upenn.edu\/myl\/SI1105a.png\" alt=\"\" width=\"475\" \/><\/a><\/p>\n<p>As you can see,\u00a0 the original signal is 10 to 50 db louder. If I hadn't peak-normalized the filtered signal, the different would have been about 15 db larger still (because the filtering process removes a lot of original signal, just someone's legs weigh less than their entire body does).<\/p>\n<p><a href=\"http:\/\/languagelog.ldc.upenn.edu\/myl\/SI1105b.png\"><img decoding=\"async\" title=\"Click to embiggen\" src=\"http:\/\/languagelog.ldc.upenn.edu\/myl\/SI1105b.png\" alt=\"\" width=\"475\" \/><\/a><\/p>\n<p>So if this was (even roughly) the way that the filtering and the volume-normalization was done, then the filtered audio was arguably a lot less distracting than the original audio, for the purely acoustical reason that its sound level was quite a bit lower.<\/p>\n<p>Perhaps the filtering and volume-normalization was done in some different way &#8212; but if so, the paper's authors should have told us the details.\u00a0 For example, it would be possible to create a situation in which the levels of the stressed syllables in the original and in the filtered signal are comparable. But to do that, you'd have to scale the original audio down by something like 30 db relative to the filtered audio. And if the filtered audio were presented at a comfortable listening level, over loudspeakers in an office or lab setting (which was apparently the procedure in this case), then the scaled-down original audio would be rather hard to hear.<\/p>\n<p>And even if the two types of audio were equated in overall sound level by some manipulation of this kind, we would not be \"leaving the low-level acoustic content the same\", since, by definition, the higher-frequency 95% or so of the acoustic content would be missing in the lowpass version. For this reason, lowpass filtering is a problematic (though common) way to accomplish the goal of \"<span style=\"color: #000080;\">filtering out the information content (i.e. rendering the speech incomprehensible) while maintaining the essential acoustic characteristics of speech onsets and offsets\".<\/span><\/p>\n<p>There are some more complicated ways to manipulate speech so as to make it unintelligible while retained key acoustic properties of the original. But in this case, it seems to me, there are some obvious designs for appropriate controls that don't require any fancy signal-processing (though they do impose other requirements). For example, you could produce dialogues and halfalogues in two languages whose speakers are mostly non-overlapping &#8212; say Finnish and Chinese. Then each subject does the dot-tracking task (or whatever) while listening to comprehensible and incomprehensible dialogues and halfalogues. The prediction of Emberson et al., I think, is that the Finnish subjects will be distracted by the Finnish halfalogues but not by the Finnish dialogues or the Chinese dialogues or halfalogues, and vice versa for the Chinese subjects.<\/p>\n<p>I suspect that this is indeed how it would turn out, except that it wouldn't surprise me to find that there are several effects simultaneously active here: a cognitive load created by following comprehensible and coherent speech, which is greater for comprehensible halfalogues than for the other conditions; an acoustic distraction effect created by intermittent stimuli, which is greater for halfalogues in general than for dialogues; and an unfamiliarity effect, which is greater for stimuli in an unfamiliar language (especially if it involves strikingly unfamiliar sound patterns) than for speech in a familiar one. It's probably also true that some people's conversations (half or full) are much more distracting than others, for example if the people or topics involved arouse strong affective reactions of one kind or another.<\/p>\n<p>However, as Yogi Berra said, it's tough to make predictions, especially about the future.<\/p>\n<p>I'm convinced, at least tentatively, that \"<a href=\"http:\/\/itre.cis.upenn.edu\/~myl\/languagelog\/archives\/000095.html\">mind-reading fatigue<\/a>\" is a big part of the reason that people find public cell-phone conversations so annoying. But this idea sits in the middle of a lot of other interesting phenomena &#8212; read about the \"<a href=\"http:\/\/www.mrc-cbu.cam.ac.uk\/research\/eeg\/mmnlang.html\">mismatch negativity effect<\/a>\" for one of several dimensions of interest &#8212; and I expect that there will be a lot of follow-up.\u00a0 As I mentioned in one of the earlier posts, this is a relatively easy kind of experiment to do, and there are lots of obvious things to try that would help clarify what's going on. One thing that would help: an open-source experimental design, with code for running subjects and accumulating results.<\/p>\n<p>[In creating the examples above, I used <a href=\"http:\/\/sox.sourceforge.net\/\">sox<\/a> for the filtering and volume normalization, and <a href=\"http:\/\/www.gnu.org\/software\/octave\/\">octave<\/a> for calculating and plotting the A-weighted amplitude difference, using code that I'll be happy to share with anyone who's interested.]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the \"halfalogues\" research that I've discussed in a couple of posts recently (\"Halfalogues\", 6\/9\/2010; \"Halfalogues onward\", 6\/11\/2010), one of the experimental manipulations was intended to establish that \"it is the unpredictable informational content of halfalogues that result [sic] in distraction\", and not (for example) that the distraction is simply caused by an acoustic background [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"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":""},"categories":[32],"tags":[],"class_list":["post-2378","post","type-post","status-publish","format-standard","hentry","category-psychology-of-language"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=\/wp\/v2\/posts\/2378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2378"}],"version-history":[{"count":0,"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=\/wp\/v2\/posts\/2378\/revisions"}],"wp:attachment":[{"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/languagelog.ldc.upenn.edu\/nll\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}