Connexion rapide:  

Forum: VirtualDJ Plugins

Sujet Correspondence between frequency in hertz and float number

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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 ?
 

Posté 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³
 

Posté 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.
 

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

Posté 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.
 

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

Posté 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
 

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

Posté 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.
 

Posté 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
 

Posté Sat 07 Nov 20 @ 10:33 am


(Les anciens sujets et forums sont automatiquement fermés)