From: Burkhard P. <pl...@ip...> - 2005-03-03 13:13:16
|
Hi all, I checked the libvisual CVS to estimate, what's necessary to port lemuria to libvisual. Lemuria has 2 variables, which trigger some changes of the animations: quiet: Set to 1 if silence began in these 512 samples, 0 else beat_detected: Set to 1 if a beat was detected in these 512 samples, 0 else I have my own routine for computing these values, but I borrowed it from blursk some years ago and I think it's not the best possible beat detection. In fact I have one song with lots of beats, but lemuria detects not a single one of these :-) From what I see, they could go into the _VisAudio struct and could be computed by visual_audio_analyze(). Are there any plans to detect such "audio events" in a generic way, or should each plugin handle them itself? If someones interested, I can post my beat detection stuff here. Cheers Burkhard |