In :import numpy as np import bellsej
First load the mixes. Every column has exactly one mix.
In :mixes = bellsej.load_data('mix.dat')
Normalize the mixes and compute the weight matrix for ICA.
In :normalized_mixes = bellsej.split_and_normalize_mixes(mixes)
In :W = bellsej.analyze(normalized_mixes)
Compute the original unmixed sources.
In :sources = mixes.dot(W.T)
Finally, we write out the normalized sources to disk.
Applying ICA to the mixed sources, we found that the unmixed audio sources were all coherent. The algorithm clearly identifies the source audio material (with sounds from other sources still present in the background). The other sources are not as prevelant in each unmixed audio stream. While ICA could not perfectly split the audio sources, it approximated them well. We elected not to renormalize the sources after applying the weight matrix to them since it zeroed out the audio tracks.
In [ ]: