Hi All, I'm new to PyMedia and I'm trying to understand the correct way to use SpectrAnalyzer. Does anyone know of a good tutorial, or some more examples on how to use it? (I've looked at the sound_viz.py example and I've read the docs online)
My background in DSP is fairly limited so please forgive me if this is a stupid question. I'm curious as to the appropriate way to create a SpectrAnalyzer object based on the correct number of samples. I'm creating an analyzer object like so: analyzer= sound.SpectrAnalyzer( CHANNELS, SAMPLES, NUM_FREQS ) If I want to analyze 1 second of sound sampled at 44100, shouldn't I have 44100 samples? I've read that Number of samples should be > 32 and < 576... Is this measured in 1000's samples per second (should I use 44 here?) Also, is there a "good value" for the number of frequencies? I'm playing with some beat-detection algorithms, and I'm curious if a lower number here just gives me information for a larger "slice" of frequency values. I hope this all makes sense. Thanks! Brad ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Pymedia-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pymedia-users
