GestureSynth.me

Music calculator

Frequency Sweep Rate Calculator

Find sweep rate in octaves per second or hertz per second. Compare logarithmic and linear frequency ramps, signed span and the midpoint frequency.

frequency sweep rate calculator

Frequency Sweep Rate Calculator guide

A sweep file often lists just two frequencies and a running time. To compare it with a synthesizer automation lane, choose a logarithmic sweep in octaves per second or a linear sweep in hertz per second. Use only the time during which frequency is moving. A fade in, a held opening tone or silence at the end may occupy part of the exported file.

Play the instrument ↑
Default result
0.996578 octaves/s

Calculation and units

For a linear sweep, divide the signed difference in hertz by the duration. Its midpoint is the arithmetic mean. For a logarithmic sweep the octave span is the base-two logarithm of the ending frequency divided by the starting frequency. Divide that signed span by elapsed seconds. To reconstruct frequency at any time t measured from the start, multiply the starting frequency by two raised to the product of sweep rate and t.

Worked examples

Select a named case in the Worked example control to load these values. You can then edit any input to compare the result.

Audio measurement sweep

Start frequency (Hz) = 20 · End frequency (Hz) = 20000 · Sweep duration (s) = 10 · Sweep law = Logarithmic.

0.996578 octaves/s. Signed span 9.965784 octaves · midpoint 632.455532 Hz at 5 s. Equal time intervals multiply frequency by equal factors.

A sweep across three decades spans slightly fewer than ten octaves. Halfway through the file the tone is at the geometric mean of the endpoints.

One octave in one second

Start frequency (Hz) = 440 · End frequency (Hz) = 880 · Sweep duration (s) = 1 · Sweep law = Logarithmic.

1 octaves/s. Signed span 1 octaves · midpoint 622.253967 Hz at 0.5 s. Equal time intervals multiply frequency by equal factors.

Use this simple setting to check a synthesizer ramp. The oscillator should reach the octave at the end and the equal-tempered tritone halfway through.

A descending calibration trace

Start frequency (Hz) = 2000 · End frequency (Hz) = 250 · Sweep duration (s) = 6 · Sweep law = Linear in hertz.

-291.666667 Hz/s. Signed span -1750 Hz · midpoint 1125 Hz at 3 s. Equal time intervals add equal frequency increments.

The sign shows downward motion and the units are hertz per second. The arithmetic midpoint here differs from a logarithmic sweep using identical endpoints.

Slow bass measurement

Start frequency (Hz) = 30 · End frequency (Hz) = 120 · Sweep duration (s) = 20 · Sweep law = Logarithmic.

0.1 octaves/s. Signed span 2 octaves · midpoint 60 Hz at 10 s. Equal time intervals multiply frequency by equal factors.

Two octaves spread over twenty seconds give the low-frequency system additional observation time. Assign the result to the active sweep, excluding any trailing silence.

Repeat with double duration

Start frequency (Hz) = 20 · End frequency (Hz) = 20000 · Sweep duration (s) = 20 · Sweep law = Logarithmic.

0.498289 octaves/s. Signed span 9.965784 octaves · midpoint 632.455532 Hz at 10 s. Equal time intervals multiply frequency by equal factors.

Doubling time keeps the midpoint frequency and the total span but halves the sweep rate. Compare the time at which the reference tone is reached.

Constant reference tone

Start frequency (Hz) = 1000 · End frequency (Hz) = 1000 · Sweep duration (s) = 5 · Sweep law = Linear in hertz.

0 Hz/s. Signed span 0 Hz · midpoint 1000 Hz at 2.5 s. Equal time intervals add equal frequency increments.

Identical endpoints collapse a linear sweep into a stationary tone. Switch the law and confirm that its frequency stays fixed under either convention.

Interpreting the result

On a spectrogram with a logarithmic frequency axis, equal vertical distances represent equal frequency ratios. An uninterrupted exponential sweep traces a straight line there. The time halfway marker should lie at the geometric mean of the endpoints. If it lies at their arithmetic mean, check for a linear-frequency sweep setting.

Measurement and model limits

Both endpoints must be positive. The calculation describes the instantaneous frequency trajectory and says nothing about the oscillator's starting phase or the amplitude law. An analyzer may report a slightly different midpoint if a long window averages frequencies on both sides of the marker.

Answers before you play

Common questions

What does a negative rate mean?

The sweep descends. For a logarithmic sweep, minus one octave per second means the instantaneous frequency halves every second while the sweep remains active.

Can I convert to octaves per minute?

Multiply the result by sixty. Retain the sign if the destination control distinguishes upward and downward sweeps.

Why is the midpoint not halfway in hertz?

A logarithmic sweep allocates equal time to equal frequency ratios. The first half and second half must each multiply frequency by the same factor.

Does a sweep need to cover full octaves?

No. Enter the actual frequencies in hertz. A noninteger octave count represents a valid interval, and the tool keeps its fractional part.