Archaeology meets DSP: CCRMA at Chavín de Huántar

In 2008, a team of researchers from CCRMA at Stanford University traveled with Professor John Rick to Chavín de Huántar in Peru. The purpose of the joint expedition was to measure and archive the unusual acoustics found on the site, as detailed in my previous blog post.  The team of investigators from CCRMA consisted of some notable luminaries from the fields of computer music and audio DSP, including Julius Smith (pioneer of waveguide synthesis), John Chowning (pioneer of FM synthesis), Perry Cook (expert in physical modeling), and Jonathan Abel (co-founder of Universal Audio, created many of the algorithms used in the UAD1 and UAD2).

The preliminary results from the expedition can be found at the website of the Chavín de Huántar Archaeological Acoustics Project. I highly recommend visiting the CCRMA site, and tracking down the various papers. A brief summary of the published results:

The CCRMA researchers brought a a novel microphone array to Chavín, to capture the impulse response of the galleries. The microphone array was specifically developed for room acoustics analysis and synthesis, and archaeological acoustics applications., and an overview of its design and construction was presented in an AES Conference paper, “A Configurable Microphone Array with Acoustically Transparent Omnidirectional Elements.” The new device consists of a number of omnidirectional microphone elements, mounted on flexible wire mounts, attached to a lightweight yet sturdy base that is suited for the narrow tunnels found at Chavín.

The microphone array is used in conjunction with a calibration system, which consists of 4 small speakers that are configured around the base of the microphone array:

By sending calibration signals through the speakers and processing the results, the various time differences between the microphone elements can be compensated for. The system is purported to obtain better results at capturing impulse responses of various structures than the previous microphone arrays that have been used.

The initial analysis of the acoustics at Chavín, recorded with a simpler microphone/monitor setup than described above, was published in a paper presented at Acoustics ’08 in Paris, “On the Acoustics of the Underground Galleries of Ancient Chavín de Huántar, Peru.” The researchers found that the reverberation times at Chavín were fairly short, on the order of 150 milliseconds to around 1 second. The paper suggests that the short reverb times would work for the rhythmic playing of the Strombus trumpets found on site. The reverb time increases as a function of the number of turns between the source and the receiver, with sources several gallery turns away from the receiver having a longer perceived reverb time.

The reverberation in the Chavín galleries is characterized by dense and energetic early reflections, and low inter-aural cross-correlation. All 3 of the galleries have a quick onset, where the reverberation reaches Gaussian statistics within 20 milliseconds of the initial impulse. The quick build to Gaussian (i.e. random) statistics, and the low amount of cross-correlation between the left and right ears, is responsible for the strange sonic characteristics of the galleries, where it is difficult to localize where a signal is coming from in the absence of a direct signal. David Griesinger, the pioneering DSP guru behind the original Lexicon algorithms in the 224/XL and the 480L,  has discussed the role of low inter-aural cross-correlation, or decorrelation, in creating a sense of envelopment, where the sound is perceived as surrounding the listener. In artificial reverberators, decorrelation is obtained by having different delay times or phases for the different output signals. At Chavín, the small distance between structural surfaces is probably responsible for the quick build of echo density to the late field, which demonstrates randomness down to the binaural level.

The acoustics research and analysis of Chavín is ongoing. There are a few issues which I feel would be interesting to address in future publications:

  • The galleries at Chavín were originally covered with plaster. It is possible that the original plaster would create a dramatic difference in the RT60 of the galleries. An example would be a small room made of wood, versus the same room covered in several coats of cement plaster – the latter describes the famous reverberation chambers at Gold Star Studios. The CCRMA website mentions that research will be conducted into the sonic effects of the plaster used at Chavín.
  • The analysis of the galleries at Chavín used a long swept exponential sinusoidal test signal for the impulse. Such a signal is useful in reducing the effects of noise on the analysis, but it also “smooths out” any time variation that might have been present in the original reverb response. It would be interesting to analyze the reverb of the galleries, to see if time variation would have any marked acoustic effects. The temperature of the galleries has been measured as fairly constant, but this is probably assuming modern sources of light, such as flashlights, as opposed to torches or the like. In addition, the presence of living bodies in a small space can have marked effects on the air temperature, which can result in small changes in the speed of sound that have a noticeable effect on the sidebands of a signal in the late reverb decay. The current reverberation time in the galleries is short enough that small variations in the speed of sound may not have a significant effect. However, the longer reverb times that may be associated with the original plastered walls may have allowed for time variation to be perceivable in the reverb decay, especially as heat sources are introduced into the gallery.

As a fitting end to this post, here is a video of Tita la Rosa playing a Strombus trumpet, presumably within one of the galleries at Chavín:

Shimmer: Modulation, auto-correlation, and decorrelation

In my previous post, I discussed the Eno/Lanois shimmer sound, and how it is based around a pitch shifter and a digital reverb placed in a global feedback loop. It is worth exploring what is going on in this signal chain at the micro level, and how a fairly simple signal routing can create such a complex sound.

The AMS pitch shifter used by Eno and Lanois used a de-glitching board in its architecture, to find the ideal points for splicing together the time-scaled waveform chunks. This presumably worked in a similar manner to the H949 de-glitching card, in that autocorrelation was used to find the most similar segments of the waveform, and the delay time of one of the channels was adjusted for an ideal splice. It is also possible that the auto-correlation would trigger a new splice, such that the rate between splices was a function of the periodicity of the input signal.

Auto-correlation works well for determining splicing points, assuming that the input signal has a certain degree of correlation. A single sustained guitar note, for example, can have a high auto-correlation factor after the initial attack. But what happens when the signal to be shifted has a very low auto-correlation factor? Such a signal is said to be decorrelated; that is, the auto-correlation or cross-correlation is said to be greatly reduced compared to the original signal.

In the audio world, decorrelation often refers to randomization of the phases of the signal while preserving the frequencies, or to a time-varying process to slightly shift the frequencies of a signal to prevent feedback. Both of these processes are present, to a large extent, within time varying reverbs such as the Lexicon 224 and EMT250 used by Eno and Lanois.

The Lexicon 224 Concert Hall algorithm is made up of a number of allpass delays, which preserve the input frequencies while completely scrambling the phase response. In addition, the Concert Hall algorithm uses time varying delays inside of the recursive delay network, which increased the perceived modal density of the reverb, and also impart a beautiful chorusing to the reverb decay. This lushness from time-varying delay lines is very prominent in 1980′s Eno/Lanois productions – in addition to the Concert Hall algorithm and EMT250, they made use of the multi-voice chorus algorithms in the Lexicon units, as well as the Symphonic preset in the Yamaha SPX-90.

So, what happens when a pitch shifter that uses auto-correlation to find the ideal splicing points is put into a feedback loop with a reverb that is highly decorrelated and time-varying? The answer: chaos. The pitch shifter will NOT be able to find ideal splicing points, as the phase of the reverb output is continually being scrambled.

The pitch shifter HAS to splice, whether or not it is a perfect situation, so it will pick the best possible match, but this will probably be a fairly random location each time. The result will be random delays for each new splicing point, or random sizing of the grain windows, depending on how the auto-correlation is used within the pitch shifter. This randomization will cause the sidebands of the input signal to be spread out, such that an individual sinusoid would be turned into a band of frequencies centered around the original (that has been shifted up by an octave).

Add in the additional octaves produced by the feedback, the random sideband spread caused by the modulation within the reverb, and harmonics that are created by analog nonlinearities in the feedback path, and the result is a HUGE amount of sonic complexity generated from a simple system. Put a sine wave into this type of feedback system, and the output can approach near orchestral levels of thickness.

In this light, it is interesting to think about Eno’s use of the DX7 around this time. The DX7 can produce chaotic sounds through the use of cascaded FM, but it can also produce gentle, minimalist textures through the use of parallel operators (sine oscillators). A simple DX7 patch with several parallel sine oscillators and a low FM index may produce a fairly boring sound on its own, but would create an enormous yet controllable sound when fed into a complex feedback loop of digital processing.

Coming up: more on the topic of generating complexity through simple systems with feedback applied to them, both from a technical and creative perspective.