Hi All,<br><br>Here are patches that I"ve been working on<br><br>Polynomial_new_class.patch<br>* root solving class Polynomial.*xx<br>* now using std::vector instead of CLAM::Matrix<br>* using float.h<br><br>LPModel_add_ToRoots.patch
<br>* member function to LP model that calls the root solving function of the Polynomial class<br><br>FormantExtractor_for_NetworkEditor.patch<br>*a network editor processing that outputs a SpectralPeakArray of formants<br>
<br>ProcessingTree_register_FormantExtractor.patch<br>*registers the FormantExtractor processing in the Network Editor.<br>(the attached clamnetwork files demo it).<br><br>One thing that I wanted to get feedback on for a possible future refactoring of the root solving functionality.  Right now it's implemented as a function call, but the more I get familiar with clam methodology, it seems like it would be very clam-ish/clammy  to do it as a processing, where the data in would be a polynomial and the output would be an array of roots.  However, maybe this is overkill and it makes more sense to just keep it as a member function.  
<br><br>Thanks for any feedback,<br>Abe<br><br>PS, when I was running scons in the test directory, I had compiling problems, I think b/c of cppunit (the original error is<br>scons: Reading SConscript files ...<br>Package cppunit was not found in the pkg-config search path.
<br>Perhaps you should add the directory containing `cppunit.pc'<br>to the PKG_CONFIG_PATH environment variable<br>No package 'cppunit' found<br>scons: done reading SConscript files.<br>scons: Building targets ...
<br>g++ -DCLAM_FLOAT -DUSE_PTHREADS=1 -DUSE_XERCES=1 -DCLAM_USE_XML -DUSE_LADSPA=1 -DUSE_FFTW=1 -DUSE_SNDFILE=1 -DUSE_OGGVORBIS=1 -DUSE_MAD=1 -DUSE_ID3=1 -DUSE_ALSA=1 -DUSE_JACK=1 -DUSE_PORTAUDIO=1 -DWITH_MAD=1 -DWITH_VORBIS=1 -O3 -fomit-frame-pointer -g -Wall -DTEST_DATA_PATH="\"/home/abe/projects/clam/clam-test-data\"" -DCLAM_MODULE="\"tests\"" -I/usr/local/include -I/usr/local/include/CLAM -I/usr/local/include -IFunctionalTests/include -IUnitTests/CommonHelpers -IUnitTests -IFunctionalTests/CommonHelpers -IFunctionalTests/include -IFunctionalTests/include -c -o FunctionalTests/ProcessingTests/TestMultiChannelAudioFileReader.o FunctionalTests/ProcessingTests/TestMultiChannelAudioFileReader.cxx
<br>FunctionalTests/ProcessingTests/TestMultiChannelAudioFileReader.cxx: In member function `void CLAMTest::MultiChannelAudioFileReaderFunctionalTest::testConfigure_DefaultChannelSelection_PortNumberIsOK()':<br>FunctionalTests/ProcessingTests/TestMultiChannelAudioFileReader.cxx:161: error: no matching function for call to `assertEquals(int, ptrdiff_t, CppUnit::SourceLine, const char[1])'
<br>FunctionalTests/ProcessingTests/TestMultiChannelAudioFileReader.cxx: In member function `void CLAMTest::MultiChannelAudioFileReaderFunctionalTest::testConfigure_ManualChannelSelection_PortNumberIsOK()':<br>FunctionalTests/ProcessingTests/TestMultiChannelAudioFileReader.cxx:215: error: no matching function for call to `assertEquals(int, ptrdiff_t, CppUnit::SourceLine, const char[1])'
<br>scons: *** [FunctionalTests/ProcessingTests/TestMultiChannelAudioFileReader.o] Error 1<br>scons: building terminated because of errors.<br><br>I couldn't find cppunit.pc on my computer (I also tried installing several cppunit version, 
1.10.2 and 1.12.0).  I also tried specifying different cppunit-prefix's to scons...  Anyone have some idea of what might be wrong?<br>