Re: Optimal sweep duration for BRIR measurements ("Menzies-Gow R.D." )


Subject: Re: Optimal sweep duration for BRIR measurements
From:    "Menzies-Gow R.D."  <D.Menzies@xxxxxxxx>
Date:    Wed, 29 Jul 2015 09:48:03 +0000
List-Archive:<http://lists.mcgill.ca/scripts/wa.exe?LIST=AUDITORY>

--_003_D1DE50124513rdmg1u13sotonacuk_ Content-Type: text/plain; charset="Windows-1252" Content-ID: <3678B791159A3E40B793935397BC4BBC@xxxxxxxx> Content-Transfer-Encoding: quoted-printable Two effects can be considered: 1. The room response to a sustained tone rises in level towards a maximum (= due to absorption), with time constant equal to the reverberation time. A h= igher level gives better signal to noise at the microphone, and hence bette= r signal to noise of the calculated IR. 2. Once the level at the microphone has saturated the calculated IR noise = at this frequency falls as 1/sqrt(t) for =91time at each frequency=92 t - = this can be seen by viewing the deconvolution in terms of fourier transform= s: Integration over time has an averaging effect on a random variable causi= ng the familiar reduction in noise level. In practice the signals don't sta= bilse fully as the frequency is changing, but the same principle applies. Phase 1. gives rapid gains initially compared with 2., which is why its a g= ood idea that the sweep length is greater than the reverberation time, alth= ough not necessary. Actually it should be several times this because the = =91time at each frequency=92 is a fraction of the sweep time. -- Dylan Menzies Senior Research Fellow Institute of Sound and Vibration Research University of Southampton, UK From: Trevor Agus <t.agus@xxxxxxxx<mailto:t.agus@xxxxxxxx>> Reply-To: Trevor Agus <t.agus@xxxxxxxx<mailto:t.agus@xxxxxxxx>> Date: Tuesday, 28 July 2015 09:53 To: "AUDITORY@xxxxxxxx<mailto:AUDITORY@xxxxxxxx>" <AUDITORY@xxxxxxxx= ISTS.MCGILL.CA<mailto:AUDITORY@xxxxxxxx>> Subject: Re: Optimal sweep duration for BRIR measurements Dear list, There's a conundrum in this discussion that: (1) increasing the duration of the sine-wave sweep increases the signal-to-= noise ratio (which seems intuitively true) versus (2) increasing the duration of the sine-wave sweep does not affect the sign= al-to-noise ratio (as John noted; which is literally true if the "signal" i= s the sweep, whose level is unaffected by duration). It's a fun paradox, and I don't want to take away from anyone's pleasure by= my stab at a resolution... (Potential spoiler alert.) Is it that the SNR of interest is the impulse-response-to-noise, only over = its relatively short time period? As such, a large amount of the energy of = the noise (in a long sweep) would be outside of the IR's expected time peri= od (after the convolution stage that 'extracts' the IR), but all the energy= of the sine sweep (and its reverberation) would be kept within this time p= eriod. So the SNR is constant (if you consider the full duration) yet incre= ased (if you focus on the time period of the IR). Or is there more to it? All the best, Trevor Brian FG Katz wrote: Dear John, As others have pointed out, increasing the length of the sweep increases your signal-to-noise ratio. For large room acoustics, we typically use sweeps of 20 to 40 seconds. This of course depends on the size of your room, its reverberation time, and the power of your source. The weaker the source, the longer the sweep. You should basically do a test and see what SNR you get. If you need more, and your measurement chain is at its limit, the only option is longer sweep. Longer sweeps will not help much with impulsive interruptions, while averaging will.With a single sweep, basically that freq-range during the noise is lost. If you are just measuring from the RIR, this may not be an issue, as measurement parameters are often in octave-bands, but this is not true for auralization usage; corrupt data is corrupt data, though I haven=92t gone through a thorough study of this actual case. The sweep should definitely be longer than the RT, for room measurements. Then, don=92t forget that you need to record the sweep length PLUS the RT or more if your SNR is better than 60dB! We have also compared averaging repeated sweeps vs. longer sweeps. Avoiding the recent developments in overlapping sweep processing, this basic repetition approach =91requires=92 the decay of the first sweep to finish before you launch the second sweep. As such, 3x20 second sweeps take longer than 1 x 60 second sweep, due to the additional pauses. Of course, without repetitions, you have no backup in case something goes wrong, like a door slam or something. So, I tend to use repeated sweeps and take the best 1. We do all our processing in MatLab, and have never had an issue (within the last 20 years) of processing long sweeps in real halls. As you are considering BRIR, and not anechoic HRTFs, you are subject to the same conditions. If you want to convolve the BRIR directly, you will need to ensure that the SNR is sufficiently high that the noise-floor is not audible as a late reverb part of the BRIR. Some noise extension methods exist from older studies on basic auralization and scale model RIR auralizations. I cannot imagine a 2s sweep for BRIR unless you are measuring an office of other room with <1 sec RT. I think there is a fault in your correlation-based analysis for reliability, and there are too many factors to consider in comparing BRIR of different lengths. First, examine your SNR. Regarding distortion of the source, this should be an issue for the processing element (different from burning out you speaker). This is because one of the strengths of the sweep method (when done correctly) is that any harmonic distortion components of a higher frequency that the excitation signal at the time or folded back to BEFORE the direct sound after deconvolution by the excitation signal (as that frequency has yet to be generated). We presented a through work on this feature, extending Farina=92s earlier works, to general conditions: M. R=E9billat, R. Hennequin, E. Corteel, and B. Katz, =93Identification of cascade of Hammerstein models for the description of nonlinearities in vibrating devices,=94 J. Sound and Vibration, vol. 330, pp. 1018=961038, 2011, (doi:10.1016/j.jsv.2010.09.012). This method lets you actually extract and analyse the different harmonic distortions (THD etc.) as well as allowing for the modelling of non-linear responses. Cheers, Brian -- Brian FG Katz, Ph.D, HDR Resp. Groupe Audio & Acoustique LIMSI - CNRS Rue John von Neumann Campus Universitaire d'Orsay, B=E2t 508 91405 Orsay cedex France Phone. + 33 (0)1 69 85 80 67 - Fax. + 33 (0)1 69 85 80 88 http://www.limsi.fr<http://www.limsi.fr/><http://www.limsi.fr/> web_group: http://www.limsi.fr/Scientifique/aa/ web_theme: http://www.limsi.fr/Scientifique/aa/thmsonesp/ *De :*AUDITORY - Research in Auditory Perception [mailto:AUDITORY@xxxxxxxx *De la part de* Anders Tornvig Christensen *Envoy=E9 :* lundi 27 juillet 2015 09:07 *=C0 :* AUDITORY@xxxxxxxx<mailto:AUDITORY@xxxxxxxx> *Objet :* Re: Optimal sweep duration for BRIR measurements Hello John, The sweep method at a single frequency is an approximation to a steady-state measurement with a pure tone. Longer sweeps give higher signal to noise ratio per sweep because it spends more time per frequency. Short repeated sweeps (but not shorter than the length of the impulse response) are good, if time-varying or sudden noise that doesn't average out is likely to contaminate the measurement. Sweep duration (and "rate" in general) also matters if the system (room in your case) is nonlinear, time-variant, or both, but that's another discussion. Something is wrong with your implementation if the temporal offset of the impulse responses you measure depends on the sweep duration. You should be able to check this by connecting the output of your sound card directly to its input. Also note that wrongly measured or wrongly computed impulse responses may be very reproducible in terms of correlation. Best, Anders PhD student in acoustics Aalborg University, Denmark ------------------------------------------------------------------------ *From:*AUDITORY - Research in Auditory Perception [AUDITORY@xxxxxxxx<mailto:AUDITORY@xxxxxxxx>] on behalf of Jo= hn Culling [CullingJ@xxxxxxxx<mailto:CullingJ@xxxxxxxx>] *Sent:* Friday, July 24, 2015 5:25 PM *To:* AUDITORY@xxxxxxxx<mailto:AUDITORY@xxxxxxxx> <mailto:AUD= ITORY@xxxxxxxx><mailto:AUDITORY@xxxxxxxx> *Subject:* Optimal sweep duration for BRIR measurements Dear all, Basic Q=85 Does anyone have insight into the optimum sweep duration using Farina's method for measuring room impulses responses? More detailed background=85 We are planning to make an extensive series of measurements, and in preparation have been testing the method using different sweep durations. One way to check the method is to correlate the impulses respones from repeated measurements or those generated with different durations. To our surprise short sweeps (1-2 seconds) appear to give more reliable results (repeated sweeps correlate, r>0.98) than longer ones. Comparing sweeps of different durations is a little trickier, because we find a temporal offset that reduces the correlation and can only be partially overcome by using cross-correlation. Nonetheless, it is apparent that durations from 1 second upwards correlate well, while going below one second leads to reliable IRs, but ones that are inaccurate when compared with those from longer sweep durations. Our surprising conclusion is that ~2s should be fine, but Farina refers to an ISO standard that recommends very long sweeps (Farina has an example of 50s) to help overcome noise. This seems an unintuitive rationale to us, since longer sweeps should increase both the signal energy captured and the noise energy, and the method does not involve averaging as far as I understand. Longer durations should help address brief interupting sounds, but I am unsure if that it what was the idea. In the presence of continuous noise, we did not notice any improvement in the IRs produced by longer sweeps. The nascent plan is to take >1 short sweep for each measurement and reject IRs that that don't correlate well with another. Any insights/advice appreciated, John. Prof. John Culling School of Psychology, Cardiff University Tel: +44 (0)29 2087 4556 Yr Athro John Culling Yr Ysgol Seicoleg, Prifysgol Caerdydd Ff=F4n : +44 (0)29 2087 4556 [cid:part1.06010402.07030506@xxxxxxxx Brian FG Katz<mailto:brian.katz@xxxxxxxx> 27 July 2015 17:46 Dear John, As others have pointed out, increasing the length of the sweep increases yo= ur signal-to-noise ratio. For large room acoustics, we typically use sweep= s of 20 to 40 seconds. This of course depends on the size of your room, its= reverberation time, and the power of your source. The weaker the source, t= he longer the sweep. You should basically do a test and see what SNR you ge= t. If you need more, and your measurement chain is at its limit, the only o= ption is longer sweep. Longer sweeps will not help much with impulsive inte= rruptions, while averaging will.With a single sweep, basically that freq-ra= nge during the noise is lost. If you are just measuring from the RIR, this = may not be an issue, as measurement parameters are often in octave-bands, b= ut this is not true for auralization usage; corrupt data is corrupt data, t= hough I haven=92t gone through a thorough study of this actual case. The sweep should definitely be longer than the RT, for room measurements. T= hen, don=92t forget that you need to record the sweep length PLUS the RT or= more if your SNR is better than 60dB! We have also compared averaging repeated sweeps vs. longer sweeps. Avoiding= the recent developments in overlapping sweep processing, this basic repeti= tion approach =91requires=92 the decay of the first sweep to finish before = you launch the second sweep. As such, 3x20 second sweeps take longer than 1= x 60 second sweep, due to the additional pauses. Of course, without repeti= tions, you have no backup in case something goes wrong, like a door slam or= something. So, I tend to use repeated sweeps and take the best 1. We do all our processing in MatLab, and have never had an issue (within the= last 20 years) of processing long sweeps in real halls. As you are considering BRIR, and not anechoic HRTFs, you are subject to the= same conditions. If you want to convolve the BRIR directly, you will need = to ensure that the SNR is sufficiently high that the noise-floor is not aud= ible as a late reverb part of the BRIR. Some noise extension methods exist = from older studies on basic auralization and scale model RIR auralizations.= I cannot imagine a 2s sweep for BRIR unless you are measuring an office of= other room with <1 sec RT. I think there is a fault in your correlation-ba= sed analysis for reliability, and there are too many factors to consider in= comparing BRIR of different lengths. First, examine your SNR. Regarding distortion of the source, this should be an issue for the process= ing element (different from burning out you speaker). This is because one o= f the strengths of the sweep method (when done correctly) is that any harmo= nic distortion components of a higher frequency that the excitation signal = at the time or folded back to BEFORE the direct sound after deconvolution b= y the excitation signal (as that frequency has yet to be generated). We pre= sented a through work on this feature, extending Farina=92s earlier works, = to general conditions: M. R=E9billat, R. Hennequin, E. Corteel, and B. Katz, =93Identification of = cascade of Hammerstein models for the description of nonlinearities in vibr= ating devices,=94 J. Sound and Vibration, vol. 330, pp. 1018=961038, 2011, = (doi:10.1016/j.jsv.2010.09.012). This method lets you actually extract and analyse the different harmonic di= stortions (THD etc.) as well as allowing for the modelling of non-linear re= sponses. Cheers, Brian -- Brian FG Katz, Ph.D, HDR Resp. Groupe Audio & Acoustique [cid:part2.04070804.09090909@xxxxxxxx - CNRS Rue John von Neumann Campus Universitaire d'Orsay, B=E2t 508 91405 Orsay cedex France Phone. + 33 (0)1 69 85 80 67 - Fax. + 33 (0)1 69 85 80 88 http://www.limsi.fr<http://www.limsi.fr/> web_group: http://www.limsi.fr= /Scientifique/aa/ web_theme: http://www.limsi.fr/Scientifique/aa/thmson= esp/ De : AUDITORY - Research in Auditory Perception [mailto:AUDITORY@xxxxxxxx= LL.CA] De la part de Anders Tornvig Christensen Envoy=E9 : lundi 27 juillet 2015 09:07 =C0 : AUDITORY@xxxxxxxx<mailto:AUDITORY@xxxxxxxx> Objet : Re: Optimal sweep duration for BRIR measurements --_003_D1DE50124513rdmg1u13sotonacuk_ Content-Type: image/jpeg; name="compose-unknown-contact.jpg" Content-Description: compose-unknown-contact.jpg Content-Disposition: attachment; filename="compose-unknown-contact.jpg"; size=770; creation-date="Wed, 29 Jul 2015 09:48:03 GMT"; modification-date="Wed, 29 Jul 2015 09:48:03 GMT" Content-ID: <part1.06010402.07030506@xxxxxxxx> Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEB AQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAZABkDAREA AhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUKBwAAAAAAAAACAQME BQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAAAAAAAAAAAAADAAEEAv/E ACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oADAMBAAIRAxEAPwDuEt+gW/UL et6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJVIl7eXLCaZIGwBl3TY8epPx2+jy2 ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJ Ew/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx+a69/JSf9alIlste0VzaNpeFrcT9KKymotyi aZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mRUfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRD nu5azS8miKqjOTVkKqS/psG37fo1Fbabeg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GA cpOwBeN+U8/IkGbsiS8b7ryogmbzhbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH 4hPOI0DkjZtaJtFxuVEbIUUiyeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJ nYn9dnAQWl722p4ot37yzqnlfp6FrqbwawG8/9k= --_003_D1DE50124513rdmg1u13sotonacuk_ Content-Type: image/jpeg; name="image.jpg" Content-Description: image.jpg Content-Disposition: attachment; filename="image.jpg"; size=2060; creation-date="Wed, 29 Jul 2015 09:48:03 GMT"; modification-date="Wed, 29 Jul 2015 09:48:03 GMT" Content-ID: <part2.04070804.09090909@xxxxxxxx> Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkI CQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQ EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAuAFkDAREA AhEBAxEB/8QAHwAAAQUBAQE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xcgCjkaAKEuXYAou2AVUroApwd0AUAFADSRjNCSpqzIqKzucn4/+Hui+ PdO+z30Wy4j5gnT78Zrxsxy36+7rR9z08Dj3h3Z/D1R5pYar8VfhTiw1HTJvEWjR/wCrki+/HH7v XzNLDZzw++aT9rE+jxc8mzWK+rLlkddYfHLwjqEaLcWesWk//PJ7CRyP++Aa9vCZ/h8YuXFwcH8z xamRYmF3SkrHo8FxHNClxH9yRN9fRqzWh47TTsySmIKACgAoAKACgAoAaMAY7UfGipLmDAC+1HwI xlHlGEo6fMmRTg+dXFSqODsisdLsCRKLOAN6+WK5cRDD01zTgmbVZ4irpzl6uhbaC2CmAUAFABQA UAFABQB//9k= --_003_D1DE50124513rdmg1u13sotonacuk_--


This message came from the mail archive
/var/www/postings/2015/
maintained by:
DAn Ellis <dpwe@ee.columbia.edu>
Electrical Engineering Dept., Columbia University