Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

V/Oct Reference

Complete reference for the Volt-per-Octave pitch standard.

The Standard

1 Volt = 1 Octave

$$f = f_0 \cdot 2^V$$

Where:

  • $f$ = frequency in Hz
  • $f_0$ = 261.63 Hz (C4 at 0V)
  • $V$ = voltage

Complete Note Table

NoteMIDIV/OctFrequency
C012-4.000V16.35 Hz
C124-3.000V32.70 Hz
C236-2.000V65.41 Hz
C348-1.000V130.81 Hz
C4600.000V261.63 Hz
C572+1.000V523.25 Hz
C684+2.000V1046.50 Hz
C796+3.000V2093.00 Hz
C8108+4.000V4186.01 Hz

Chromatic Scale (Octave 4)

NoteMIDIV/OctFrequency
C460+0.000V261.63 Hz
C#461+0.083V277.18 Hz
D462+0.167V293.66 Hz
D#463+0.250V311.13 Hz
E464+0.333V329.63 Hz
F465+0.417V349.23 Hz
F#466+0.500V369.99 Hz
G467+0.583V392.00 Hz
G#468+0.667V415.30 Hz
A469+0.750V440.00 Hz
A#470+0.833V466.16 Hz
B471+0.917V493.88 Hz

Intervals

IntervalSemitonesVoltage
Unison00.000V
Minor 2nd10.083V
Major 2nd20.167V
Minor 3rd30.250V
Major 3rd40.333V
Perfect 4th50.417V
Tritone60.500V
Perfect 5th70.583V
Minor 6th80.667V
Major 6th90.750V
Minor 7th100.833V
Major 7th110.917V
Octave121.000V

Precise Values

Semitone

$$1 \text{ semitone} = \frac{1}{12} \text{V} = 83.33\overline{3} \text{mV}$$

Cent

$$1 \text{ cent} = \frac{1}{1200} \text{V} = 0.833\overline{3} \text{mV}$$

Conversion Functions

MIDI to V/Oct

fn midi_to_voct(note: u8) -> f64 {
    (note as f64 - 60.0) / 12.0
}

V/Oct to MIDI

fn voct_to_midi(v: f64) -> u8 {
    (v * 12.0 + 60.0).round() as u8
}

V/Oct to Frequency

fn voct_to_hz(v: f64) -> f64 {
    261.63 * 2.0_f64.powf(v)
}

Frequency to V/Oct

fn hz_to_voct(f: f64) -> f64 {
    (f / 261.63).log2()
}

Common Tuning Offsets

OffsetEffect
+1VUp one octave
-1VDown one octave
+0.583VUp a fifth
+0.333VUp a major third
+0.01V~12 cents (detune)

Tracking Errors

Real analog oscillators have tracking errors:

Error TypeTypical Amount
Scale error±1-5%
Offset error±10-50mV
Temperature drift1-5mV/°C

At high frequencies, these compound and cause tuning issues.

A440 Reference

A4 (440 Hz) = MIDI 69 = +0.750V

To tune to A=440:

  • C4 must be at 261.63 Hz (0V)
  • Ratio: 440/261.63 = 1.682

Microtonal

For non-12TET tunings:

// Pythagorean major third (81/64 instead of 5/4)
let pythagorean_third = (81.0_f64 / 64.0).log2();
// = 0.339 V instead of 0.333 V

// Just intonation fifth (3/2)
let just_fifth = 1.5_f64.log2();
// = 0.585 V instead of 0.583 V