Constant hz offset for oscillator with tap control


#1

hi there,

i am trying to offset an oscillator by a constant rate in hz (not relative to frequency)
in other words i want for example 2 oscillators with an offset of 2hz over the whole frequency range.

i can do this with two sine oscillators, one sine lin and one normal. with a conv/mtof object and a simple addition i can get a constant offset. so far so good.

what i would like to do now, is TAP in the frequency offset. so say i tap at tempo 120 i would want a 2hz offset. a couple of questions pop up:

-are there any solutions for that already?
-what is 1hz in axoloti numbers? :wink:


#2

89478.4853333 i guess :slight_smile:


#3

Yes, 2^32 / 48000


Maybe you can use tiar/tuning/DetHz (see its help patch)
This object changes the pitch control signal to add a Hz detuning that's the same all over the keyboard.

2 -> ~4seconds
4 -> 2s
8 -> 1Hz
64 -> ~8Hz


#4

@lokki

You can also try this:

Or just look inside the object to see how to set one hz with fractional.