Forum: help
Monitor Forum | Start New ThreadRE: installing MPTK and using the matlab inte [ Reply ] By: Benjamin Roy on 2008-02-04 16:42 | [forum:7827] |
Hello, The fftw_wisdom_file is created after the first successful decomposition with mpd, you don't have to create some directory. Here the problem seems to be linked to the dictionary you use, please consider that dictionary structured files now follows a strict XML syntax and check the user manual about this point if necessary. Regards |
installing MPTK and using the matlab interfac [ Reply ] By: Clothilde Melot on 2008-02-04 07:52 | [forum:7801] |
Using the Mat2MPTKdemo I get the following error message. I don't understand since I did create a directory whose name is fftw_wisdom_file. Can you help me ? Thank you very much by advance with best regards mptk DEBUG -- MP_Msg_Server_c -- Entering the messaging server constructor. mptk DEBUG -- MP_Msg_Server_c -- Exiting the messaging server constructor. mptk DEBUG -- mpd - switch -D : optarg is [/home/melot/matlab/Matching_pursuit/Dict/default.xml]. mptk DEBUG -- mpd - Read dictionary file name [/home/melot/matlab/Matching_pursuit/Dict/default.xml]. mptk DEBUG -- mpd - switch -n : optarg is [1000]. mptk DEBUG -- mpd - Read numIter [1000]. mptk DEBUG -- mpd - switch -E : optarg is [tempdecay.txt]. mptk DEBUG -- mpd - Read decay file name [tempdecay.txt]. mptk DEBUG -- mpd - switch -R : optarg is [100]. mptk DEBUG -- mpd - Read report hit [100]. mptk DEBUG -- mpd - When exiting getopt, optind is [5]. mptk DEBUG -- mpd - (argc is [8].) mptk DEBUG -- mpd - Read sound file name [tempin.wav]. mptk DEBUG -- mpd - Read book file name [tempbook.bin]. mptk DEBUG -- mpd - Read residual file name [tempres.wav]. mptk DEBUG -- MPTK_Env_c::environment() - Load successfully the following Block type: mptk DEBUG -- MPTK_Env_c::environment() - harmonic block. mptk DEBUG -- MPTK_Env_c::environment() - chirp block. mptk DEBUG -- MPTK_Env_c::environment() - mclt block. mptk DEBUG -- MPTK_Env_c::environment() - gabor block. mptk DEBUG -- MPTK_Env_c::environment() - mdst block. mptk DEBUG -- MPTK_Env_c::environment() - constant block. mptk DEBUG -- MPTK_Env_c::environment() - anywavehilbert block. mptk DEBUG -- MPTK_Env_c::environment() - dirac block. mptk DEBUG -- MPTK_Env_c::environment() - nyquist block. mptk DEBUG -- MPTK_Env_c::environment() - mdct block. mptk DEBUG -- MPTK_Env_c::environment() - anywave block. mptk ERROR -- MP_FFT_Interface_c::init_fft_library_config() - fftw wisdom file with path /usr/local/MPTK-0.5.4/bin/default_fftw_wisdom_file doesn't exist . mptk DEBUG -- MPTK_Env_c::environment() - No fftw Plan well formed was found. mptk INFO -- mpd - ------------------------------------ mptk INFO -- mpd - MPD - MATCHING PURSUIT DECOMPOSITION mptk INFO -- mpd - ------------------------------------ mptk INFO -- mpd - The command line was: /usr/local/MPTK-0.5.4/bin/mpd -D/home/melot/matlab/Matching_pursuit/Dict/default.xml -n1000 -Etempdecay.txt -R100 tempin.wav tempbook.bin tempres.wav mptk INFO -- mpd - End command line. mptk INFO -- mpd - Loading the dictionary... mptk INFO -- mpd - (In the following, spurious output of dictionary pieces would be a symptom of parsing errors.) mptk DEBUG -- MP_Dict_c::MP_Dict_c() - Constructing dict... mptk DEBUG -- MP_Dict_c::MP_Dict_c() - Done. mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error while loading the dictionary file [/home/melot/matlab/Matching_pursuit/Dict/default.xml]. mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error ID: 7 . mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error description: Error reading Attributes. . mptk ERROR -- MP_Dict_c::init(dictFileName) - The dictionary scanned from file [/home/melot/matlab/Matching_pursuit/Dict/default.xml] contains no recognized blocks. mptk DEBUG -- MP_Dict_c::~MP_Dict_c() - Deleting dict... mptk DEBUG -- MP_Dict_c::~MP_Dict_c() - Done. mptk ERROR -- mpd - Failed to create a dictionary from XML file [/home/melot/matlab/Matching_pursuit/Dict/default.xml]. ??? Error using ==> bookread Can't open file [tempbook.bin] Error in ==> mpd at 35 varargout{1} = bookread('tempbook.bin'); Error in ==> Mat2MPTKdemo at 2 [B, res, dec]=mpd(y, Fs, 'n', 1000, 'R', 100);%will run mpd with the 'default.xml' dictionary file. |