Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Correspondence between frequency in hertz and float number

This topic is old and might contain outdated or incorrect information.

What is the correspondence between a float (number between 0 and 1) and a frequency ?
For example for a high pass filter :
- cut at 150 Hz = float(x.xx)
- and vice versa float(0.35) = x Hz ?
 

Posted Thu 22 Oct 20 @ 2:19 pm
locoDogPRO InfinityModeratorMember since 2013
Not sure I think it's dialĀ² interpolated over 20Hz to 20kHz, it might even be dialĀ³
 

Posted Thu 22 Oct 20 @ 3:06 pm
AdionPRO InfinityCTOMember since 2006
There's no fixed rule here, so depends a bit on what you're making which part of the frequency range is more important to you.
For the default filter the range is indeed cubed, but for the echo it's linear for the high pass and squared for the low pass.
 

Posted Thu 22 Oct 20 @ 3:30 pm
locoDogPRO InfinityModeratorMember since 2013
how about the native separate filters, [something I thought about be never checked]
 

Posted Thu 22 Oct 20 @ 3:36 pm
AdionPRO InfinityCTOMember since 2006
Also cubed, but over the range of the entire knob instead of only half.
 

Posted Thu 22 Oct 20 @ 4:19 pm
TexZKPRO InfinityMember since 2005
I'm using a cubic mapping as well.
 

Posted Sun 25 Oct 20 @ 7:58 pm
mmmmhhh .. I don't really know how to use or enter equalizer frequencies in an effect ..
But in the program itself I have set it that way.
There it is entered in Hz
 

Posted Mon 26 Oct 20 @ 3:46 am
locoDogPRO InfinityModeratorMember since 2013
@djdutschi, entirely different thing.
 

Posted Mon 26 Oct 20 @ 12:51 pm
locodog wrote :
@djdutschi, entirely different thing.



That may be true. But there are also a couple of effects that access the equalizer frequencies ;-)
That's why I wrote this.
 

Posted Mon 26 Oct 20 @ 5:34 pm
I realized that my question is silly because I was taking the problem backwards.
Just determine a frequency in hertz (example 500 Hz) and use it as it is in a formula like w = 2 * PI * 500 / SampleRate
 

Posted Sat 07 Nov 20 @ 10:33 am


(Old topics and forums are automatically closed)