<< Chapter < Page Chapter >> Page >
This module includes the methods we used during our implementation of a blind source separation system.

Blind source separation via ica: methods and trials

Methods and trials

During our implementation stage we attempted several different methods for blind source separation. We came up with a plan for our initial goal: to have a working real-time system; our fallback was to have preprocessed recordings and play them as .wav files during our presentation. As is the case with many projects, we ran into some problems that we were not expecting. We were forced to identify the problems and adapt to seek new manners in which to perform blind source separation. We ran many trials with a total of four different methods.

First trial

We began our first trial with the intent to gain a better understanding of the Matlab code as well as get a feel for the recording process. Shortly after beginning, we ran into our first problem: Windows operating system only recognizes one microphone input. Before buying software to overcome this, we looked for solutions using two laptops.

Our system included an operator, who started recording on both laptops at the same time, two microphones connected to the mono input of each laptop, as well as two speakers talking in different places in the room. We used Audacity to record and convert the microphone inputs to .wav files. Matlab was used to trim the two recordings to the same size and run them through FASTICA.m.

The two decoded signals were very noisy. There were also remnants of the other speaker in each of the two decoded signals. After trying different rooms, different levels of noise, different types of microphones (mono and stereo), different speakers, and different locations of speakers and microphones, we could not eliminate these imperfections. We were not happy with these results so we decided to try a different method.

Second trial

In our second trial, we aimed to eliminate the noise and remnants of the other speaker in our decoded signals. We attributed these problems to our signals being asynchronous. In order to solve this problem, we sought a method to record simultaneously on one computer. Using Garageband on a Mac, we recorded two microphone inputs onto the two channels of a stereo recording. We converted the file to a .wav file and separated the two channels in Matlab.

After running the two signals through the Matlab code, we encountered the same problems (noise and other speaker interference). We tested while changing all the variables as in our first trial and received similar results. This could have been from Garageband ’s method of recording to separate channels on stereo.

Third trial

For our third trial, we implemented nearly the same system as the second trial. We were mainly testing to observe if Labview would have better results using the method of saving to separate .wav files instead of separate stereo channels.

We wrote the following Labview module:

Our results were the same as the first two trials. With this method, it seemed as though it would not be possible to have the recordings asynchronous, but we were still receiving the same problems. This could be either due to limitations in our recording equipment, or due to nonlinear combinations of the signal.

Fourth trial

In our final trial, we recorded two signals separately using Audacity and one microphone input in a quiet room. We manually combined these signals linearly in Matlab and after running the combined signals through our code, finally achieved a near perfect separation of the two signals. We concluded that our issues in the first three trials were not due to phasing (eliminated in third trial), but were in fact due to non linear combinations of the signals, and also possibly to under determination caused by room noise being the third input. We saved these recordings to use in our presentation as this process is too tedious to perform in a real time demonstration.

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 2007. OpenStax CNX. Dec 22, 2007 Download for free at http://cnx.org/content/col10503/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

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

Ask