Resolution vs. Specific Frequency


#1

What would be the best way to set up a patch with an oscillator at a very specific Hz frequency?

For the sake of an example, say I want it to be at exactly 500Hz.

I can get to either 493.9Hz or 523.3Hz because of the knob resolution. Is it possible to use the constant or maths objects to hit 500Hz or is there a simpler approach?

Thanks as always.


#2

That sounds like a very big jump... Maybe even a semitone in size, do you know about holding shift to tune in tenths or shift+ctrl for cents? I believe it's possible to type numbers with greater than 2 places of precision.


#3

Ah, must have missed that info...

Thanks very much for that! :+1:


#4

How do you type in a Hz range?

The shift+ctrl, is very helpful.


#5

64:freq(64)=x:freq you want

Therefore x=(64*freq you want)/freq(64)
This assuming you're using a linear oscillator.


#6

You need to use a linear frequency oscillator and the formula Sputnki specified. The oscillator you were using when you made the thread is exponentially tuned, so every unit is a semitone.


#7

Appreciate the formula and the instructions but I don't really understand how to apply this in a patch with a linear oscillator... :confused:


#8

In a linear oscillator the frequency is mapped linearly from 0 (with dial set to 0) to freq(64) (with dial set to 64)
now, i don't remember which frequency the osc goes up to, if i remember correctly it's 20 kHz, but if you want to be sure read that number on the object (setting the dial to 64.

Say you want a 432 Hz sinewave (and freq(64) is actually 20khz)
x=(64*freq you want)/freq(64)
x=(64*432)/20000 = 1.3824

Click on the dial and type 1.382

You won't have exactly 432 Hz, but that's the closest you can get


#9

I don't no if this help you, but it's possible to set a knob with more than 2 digits precision :

With @Sputnki formula : (64 * 500) / 24000 = 1.33333333
Display 500Hz with a linear sine oscillator.


#10

No need to truncate it, I think it can take more than 3 decimal places.


#11

Perfect, really appreciate all the help on this.