From: Dennis S. <sy...@yo...> - 2005-03-07 19:07:54
|
On Thu, 2005-03-03 at 14:17 +0100, Burkhard Plaum wrote: > 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(). Yep, totally agree, please clearify the 'quiet' stuff a bit more btw :) I am currently writing the proposal for the VisAudio rewrite, I will post that later in the evening. Please take a look at it :) > Are there any plans to detect such "audio events" in a generic way, or > should each plugin handle them itself? Depends, we want to provide good detection, but of course some plugins will have need for something very specific that isn't in the library. We try to implement generalized things in the lib. > If someones interested, I can post my beat detection stuff here. Please do so! |