Parent Directory | Revision Log | Patch
revision 1.6 by castor_fou, Wed Sep 17 02:09:04 2003 UTC | revision 1.7 by matthieu, Wed Sep 17 05:39:45 2003 UTC | |
---|---|---|
# | Line 203 static DiscSignal create_mfcc(std::strin | Line 203 static DiscSignal create_mfcc(std::strin |
203 | mfcc *make; | mfcc *make; |
204 | ||
205 | wav = open_wav_file(path.c_str()); | wav = open_wav_file(path.c_str()); |
206 | std::cout << wav->length() << std::endl; | |
207 | //wav->perl_capture(); | //wav->perl_capture(); |
208 | max = -wav->min() > wav->max() ? | max = -wav->min() > wav->max() ? wav->min() : wav->max(); |
wav->min() : | ||
wav->max(); | ||
209 | if (max < 512) | if (max < 512) |
210 | { | { |
211 | std::cerr << "Sorry: max(" << max<< ") < 512" << std::endl; | std::cerr << "Sorry: max(" << max<< ") < 512" << std::endl; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |