## CV to Hertz module?

### CV to Hertz module?

I'm wondering if any of the devs have created a CV to Hertz module? I've looked through, I think, all of the modules but have 't seen one so far.

I'd like to use such a module to aid in 'tuning' my sequencers & oscillators in a non-quantized manner.

I'd like to use such a module to aid in 'tuning' my sequencers & oscillators in a non-quantized manner.

### Re: CV to Hertz module?

You mean convert the pitch 1V/octave CV to frequency, based on A= 440 Hz?

I don't think there is one currently in the store, is there?

I have started module development - this is a very easy module to write. Let me have a go at it for us. I currently have a six output frequency reference oscillator module that the knob lets you set a reference frequency output in Hertz. Is this of any use to you?

I don't think there is one currently in the store, is there?

I have started module development - this is a very easy module to write. Let me have a go at it for us. I currently have a six output frequency reference oscillator module that the knob lets you set a reference frequency output in Hertz. Is this of any use to you?

### Re: CV to Hertz module?

What I'm looking for is a display module, not necessarily a generator module. I'd like to know what the actual Hertz value is for a particular Voltage. For example Andrew Macaulay has a CV Note Display module so it's easy to tell what note is being generated by a particular voltage. I'd like something similar which could tell me the Hertz value frequency of a particular voltage.andro wrote: ↑Tue May 26, 2020 5:17 amYou mean convert the pitch 1V/octave CV to frequency, based on A= 440 Hz?

I don't think there is one currently in the store, is there?

I have started module development - this is a very easy module to write. Let me have a go at it for us. I currently have a six output frequency reference oscillator module that the knob lets you set a reference frequency output in Hertz. Is this of any use to you?

I haven't thought about what the base reference should be (i.e. A = 440hz) as I'd like like to decouple the idea of a 'note' from the voltage, if that makes sense. So, I know that's an issue as there must be some kind of factor which needs to be part of the equation to "convert" voltage to frequency.

### Re: CV to Hertz module?

I have nearly finished it. It has a tunable A reference, naturally.

Interestingly, there is are some subtle exponential equations to solve for this, and they are sensitive to about 9 decimal places (such is exp()). My background is mathematics so this is right up my alley.

cheerio!

Interestingly, there is are some subtle exponential equations to solve for this, and they are sensitive to about 9 decimal places (such is exp()). My background is mathematics so this is right up my alley.

cheerio!

- honki-bobo
**Posts:**88**Joined:**Sat Nov 09, 2019 1:18 pm

### Re: CV to Hertz module?

Given that you are using a 440Hz base tuning, this formula converts Volts to Hz:

You can replace the 55.0 in the formula by (base tuning / 8) if you want to change your base tuning.

You can replace the 55.0 in the formula by (base tuning / 8) if you want to change your base tuning.

### Re: CV to Hertz module?

Ohhh, that's *very* handy! Thanks for the help!honki-bobo wrote: ↑Tue May 26, 2020 2:27 pmGiven that you are using a 440Hz base tuning, this formula converts Volts to Hz:

55.0*2^(x+0.25)

You can replace the 55.0 in the formula by (base tuning / 8) if you want to change your base tuning.

### Re: CV to Hertz module?

That's great! Looking forward to seeing what you come up with. Can never have too many utility modules!andro wrote: ↑Tue May 26, 2020 1:43 pmI have nearly finished it. It has a tunable A reference, naturally.

Interestingly, there is are some subtle exponential equations to solve for this, and they are sensitive to about 9 decimal places (such is exp()). My background is mathematics so this is right up my alley.

cheerio!

### Re: CV to Hertz module?

@honki-bobo, having myself just written a volt meter, I am surprised to see yours. I can't find it on the store. That's worth releasing (in competition with my upcoming one).

### Re: CV to Hertz module?

Hi @honki-bobo, your equation for volts to Hertz is not only correct, of course, but brilliant. It's deeply insightful. I just figured out the exponential from the zero volts value and 2.75 volts for A400 but I used

y = ab^x

instead of the x shifted form

y = ab^(x+c)

So I end up with y = 65.406398*2^x whereas you have the vastly more elegant y = 55*2^(x + 0.25). The 0.25 is of course the negative voltage offset at 55 Hz based on A440, the voltage for 55Hz being -0.25V.

Hat off to you. Sometimes I wonder why I am so dumb! Did you derive that yourself or is it well known and I am just ignorant of basic things?

y = ab^x

instead of the x shifted form

y = ab^(x+c)

So I end up with y = 65.406398*2^x whereas you have the vastly more elegant y = 55*2^(x + 0.25). The 0.25 is of course the negative voltage offset at 55 Hz based on A440, the voltage for 55Hz being -0.25V.

Hat off to you. Sometimes I wonder why I am so dumb! Did you derive that yourself or is it well known and I am just ignorant of basic things?