Accesso rapido:  

Forum: VirtualDJ Plugins

Topic: Correspondence between frequency in hertz and float number

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

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 ?
 

Inviato 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³
 

Inviato 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.
 

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

Inviato 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.
 

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

Inviato 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
 

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

Inviato 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.
 

Inviato 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
 

Inviato Sat 07 Nov 20 @ 10:33 am


(Vecchi argomenti e forum sono automaticamente chiusi)