PDA

View Full Version : Question about an Advanced Script I need.


VAG
9th March 2004, 16:12
Hello guys, firstly let me tell you I missed you, I come across some times to see how things going on and I'm glad that some of you are still active as before ;)

Well here is the question:
Is there a way (at least now on WA5) to activate an animation ONLY on the bass frequency that a song has?
The question is regarding the WooHoo-FER skin, where the woofers MUSt animate only on the bass frequencies of a song, like eg. on the double bass on a Metal song or on the beat on a beat song.

I would be glad to see some ideas coming over regarding this.

Thanks in advance, I promise you some new designs to see soon here from me :)

LaterZzz

OzObdrOl
9th March 2004, 16:35
I'd love to know that too

I only know about the leftvumeter and rightvumeter options. More than that i dont know. You might want to get in contact with the person that made the X-Plugin (http://www.winamp.com/plugins/details.php?id=35928) for winamp (Roman Komary). Dont know how you can get the contact info for him though.

Hope it helps a bit

Bizzeh
11th March 2004, 12:22
extern Int System.getVisBand(int channel, int band);

channel is 0 (left), or 1 (right) and bands are 0 to 75, so, get bands, say 0 - 9, add them all together, divide by 10, do the same the left and right channels, add the 2 channels together, and divide by 2, then you have the average value of the first 10 bands, that should be a value of 0 - 15 for 5.02 and below, and 0 - 255 fir 5.03 and above.

OzObdrOl
11th March 2004, 17:52
geez

*noted...written down... look into it later*

Is there a std.mi that is COMPLETELY commented? I have been through it and it has some decent commenting, but some stuff there are only the commands and no explination.

[EDIT]
WHOA!!!! Hold on a sec... 5.03? You lost me there. You mean WinAmp 5.03? Not released yet is it?

VAG
11th March 2004, 23:42
Bizzy thanks for the info and OzObdrOl for your replies :)
I'll try and will tell you the results, or maybe you'll test it after the release ;)

LaterZzz

leechbite
12th April 2004, 00:15
hey thanks for this thread. im using it in my skin. just a problem though, the right channel seems to be producing higher values compared to the left. even when the music is stopped the right channel still giving off values.

any ideas? thanks. :)

SLoB
12th April 2004, 09:54
combine the 2 & half it ;)
and make them zero if music is stopped ;)

but ya prolly already done that ;)

leechbite
12th April 2004, 15:42
:) the thing is im using this for 2 beat vis, one for the left and right channel. so, i cant average them both. looks annoying that the right vis is full while the left have barely anything.
im just using the left channel value for both the left & right beat vis for now. seems to respond alright but not quite what i wanted. :)