<< Chapter < Page Chapter >> Page >
Theory behind deconvolution of recorded sound to reproduce an input.

There are many characteristics of a room that determine the impulse response of a room. The physical dimensions of the room and the wall surfaces are crucialin predicting how sound reacts. Using basic properties of geometry, we can predict the paths that sound waves will travel on, even as they bounce offwalls. The walls themselves have certain reflection coefficients that describe the power of the reflected signal with respect to the signal in contact withthe wall. So it appears that with the dimensions of the room and the reflection coefficients of the walls in the room it is possible to generate animpulse response for that room. Using a simple tape measure we recorded the height, width, and length of Duncan 1075 and a Will Rice dorm room, and used aMATLAB program called Room Impulse Response to find the approximate impulse response of these two rooms. We decided to take two samples in each room, leaving us with four theoretical impulse responses.

Theoretical impulse in duncan - left

Theoretical impulse in duncan - right

Theoretical impulse in will rice - left

Theoretical impulse in will rice - right

Clearly these will not be incredibly accurate, as they assume a completely rectangular, and empty, room. Neither of these rooms were completelyrectangular, and they were also not empty. However, this gives us a good approximation of the impulse response. The signals decay significantly as time increases, which is expected.When we record the actual response using an approximate impulse, this data will help determine if we have anaccurate measurement.

Once we have the impulse response of each room, we must find an appropriate signal to deconvolve. We chose a piano tune, as a piece of music should have amore simple frequency response than speech. After recording the impulse response and the input, we theoretically have enough data to reconstruct thesignal using deconvolution. The recorded output is the convolution of the input with the system. y t = x t * h t y t x t h t The recorded output has a frequency spectrum defined by Y jw = X jw H jw y t x t h t Using simple algebra, we can solve for the input frequency coefficients: X jw = Y jw / H jw y t x t h t We have H(jw), the impulse response, andY(jw), the FFT of the recorded signal. Thus we can find X(jw), the frequency spectrum of the input signal, and by taking the inverse FFT we are leftwith the input signal x(t).

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2005. OpenStax CNX. Sep 25, 2007 Download for free at http://cnx.org/content/col10380/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2005' conversation and receive update notifications?

Ask