Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1065

Help: Rainmeter Skins • Re: Audio Peak Level not dropping

$
0
0
You can see the Frequency for each Band by creating child measures of the Type=BandFreq to see the frequency of each band; I have not had success when trying to use this and actually I do not care that much about the actual frequency because the entire frequency range will be displayed based on the number of defined Bands.
So, I've been revisiting the spectrum analyzer skin for the more difficult task of finding out the Winamp frequencies and their range, and took a "peak" at the AudioLevel code to find out how the Type=BandFreq are computed. I don't know if this is what you meant with the lack of success using them, but, if someone is interested...

Assuming that the below options are set to those variables in the AudioLevel parent measure:

Code:

Bands=#Bands#FreqMin=#FqMin#FreqMax=#FqMax#
then, the Type=BandFreq frequencies are computed like this (FreqS is the logarithmic step between band frequencies):

Code:

FreqS=(Ln(#FqMax#/#FqMin#)/#Bands#/Ln(2))Freq0=(#FqMin#*2**(#FreqS#/2))Freq1=(#Freq0#*2**(#FreqS#/1))Freq2=(#Freq1#*2**(#FreqS#/1))Freq3=(#Freq2#*2**(#FreqS#/1))... and so on till FreqN, where N=(#Bands#-1) ...
In other words, this is why I had to set, for a Bands=88 option in the parent AudioLevel measure:

Code:

FreqMin=53.43426FreqMax=8617.31790
to get the frequency bands from precisely 55.0000 Hz to 8372.00000 Hz like in sl23's foobar2000 plugin. Unfortunately, while these computations are relatively straightforward, they don't make the job of setting FreqMin and FreqMax to get a certain frequency range for the bands easier, since the latter are computed based on the former, instead of the opposite.

Hopefully the above will be of some use for anyone reading this and looking for how those values are set.

Statistics: Posted by Yincognito — Yesterday, 9:13 pm



Viewing all articles
Browse latest Browse all 1065

Trending Articles