快速登录:  

Forum: VirtualDJ Plugins

话题: Correspondence between frequency in hertz and float number

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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 ?
 

发表时间 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³
 

发表时间 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.
 

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

发表时间 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.
 

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

发表时间 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
 

发表时间 Mon 26 Oct 20 @ 3:46 am
locoDogPRO InfinityModeratorMember since 2013
@djdutschi, entirely different thing.
 

发表时间 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.
 

发表时间 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
 

发表时间 Sat 07 Nov 20 @ 10:33 am


(陈旧帖子或论坛版块会自动关闭)