Timing alone 🎧
Noise with a 500 µs interaural time difference, leading in the left ear and then in the right. The level difference is zero except in the first and last few milliseconds, where one ear has started or stopped and the other not yet; the sideways shift comes from timing. The zero-lag correlation is near 0, since broadband noise is uncorrelated with itself 500 µs later, while the coherence is 1: the two ears hold the same noise, 500 µs apart.
10_timing_alone.flac, 1.9 s, stereo
Code
noise = so.gaussian_noise(0.8, FS, rng=0).ramp(20e-3)
noise2 = so.gaussian_noise(0.8, FS, rng=1).ramp(20e-3)
sound = finish(
so.concat(
[
so.apply_itd_ild(noise, itd=-500e-6),
so.silence(0.3, FS),
so.apply_itd_ild(noise2, itd=500e-6),
]
)
)
fig, playhead = show(sound)