October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

Your LFO Runs at the Buffer Size: Auditing a Synth’s Control Rate

An LFO calculated once per audio block is updated at the block rate, not the audio sample rate. Here’s how buffer size affects its frequency and what smaller fixed processing chunks change.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If a synthesizer calculates its LFO only once per audio block, the LFO’s actual update rate is the audio sample rate divided by the block size. In that implementation, changing the host buffer can change the modulation sequence—and a requested rate above the sequence’s Nyquist limit aliases to a different frequency. That is a bug in the implementation described here, not a rule that applies to every synth LFO.

What “running at the buffer size” means

Let fs be the audio sample rate and N the number of audio samples in a host block. If the synth calculates one LFO value for each block, it produces fs/N modulation values per second. The sampled control signal’s Nyquist frequency is half of that: fs/(2N).

As an Amazon Associate I earn from qualifying purchases.

A signal above that control-rate Nyquist limit cannot be represented at its requested frequency in the block-by-block sequence. It folds, or aliases, to another frequency. The audio engine may still render audio at the full sample rate; the limitation is that this particular modulation value is updated only at the slower block rate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why correct phase increments do not fix it

In the implementation Lluis Estape describes, phase advances by the requested LFO rate multiplied by the block duration. That is sensible phase bookkeeping: it accounts for the time elapsed during the block. But the code evaluates sin() only once per block. Advancing the phase by the right amount does not create the modulation values that would have been produced by evaluating the waveform continuously or more frequently.

#1 Best Overall
Akai Professional MPK Mini IV 25-Key USB-C MIDI Keyboard Controller, Black
  • Next-Gen Music Production and Beat Maker Essential - USB-powered MIDI keyboard controller with 25 mini velocity-sensitive keys, optimized for studio or beat production, piano-style performance, synth leads, sample triggering
  • Real-Time Control and Navigation - 8x assignable 360° knobs, a vibrant full-color screen and push/turn encoder for hands-on access to settings, presets, and DAW functions, without reaching for a computer
  • Iconic MPC Pads with RGB Feedback - 8 velocity- and pressure-sensitive MPC pads deliver an iconic finger-drumming experience, plus dynamic visual feedback to match your performance in studio or on the go
  • Studio Instrument Collection Included - A powerful VST/AU and standalone virtual suite packing 1000+ pro-grade drums, keys, synths, bass, FX from AIR, Akai Pro and Moog, plus MPK Mini IV integrated controls
  • Pre-Mapped DAW Integration - Get producing in under 15 minutes with Ableton Live Lite 12, Logic Pro, FL Studio and more; comes with an expanded DAW-mapped transport section for uninterrupted workflow

The distinction is between how far phase advances and how often the resulting waveform is sampled. If only one sine value reaches the modulation destination per block, the destination still receives a block-rate sequence.

What the buffer-size examples show

At a fixed audio sample rate of 44.1 kHz, a larger block means fewer LFO updates each second and a lower control-rate Nyquist limit:

Rank #2
RockJam RJ5061 61 Key Keyboard Piano Kit with Stand, Bench & Headphones | Beginner electric keyboard piano set with pitch bend, LED panel, Simply Piano lessons and note stickers, all included
  • 61 key keyboard piano kit: complete beginner set with stand, bench, headphones and note stickers.
  • Expressive playing: pitch bend wheel and LED panel with 200 rhythms, 200 tones and demo songs.
  • Learn faster: Simply Piano lessons and keynote stickers guide kids and adults note by note.
  • Quiet practice: headphones keep sessions private in shared rooms and family spaces.
  • Everything included: start playing on day one with fewer extra purchases.
Block size Control updates per second Control-rate Nyquist Reported result at a requested 20 Hz
2048 samples About 21.5 Hz About 10.8 Hz Estape reports an FFT measurement of a 1.5 Hz folded output.
1024 samples About 43.1 Hz About 21.5 Hz Estape reports the setting near 20.03 Hz.

These figures and the FFT observations are from Estape’s article and its described code, not an independent test. The comparison illustrates why an LFO in this implementation can appear to change speed when the host block size changes: the requested rate is unchanged, but the control signal is sampled at a different rate.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to audit an LFO in a synth

  1. Find the waveform evaluation. Inspect the processing path and determine whether the LFO waveform is calculated once per host block, once per smaller chunk, or for every audio sample.
  2. Check what reaches the destination. Count how many distinct modulation values can be applied during one audio block. A phase accumulator may update correctly while the destination still receives only one value per block.
  3. Calculate the control-rate limit. For block-based evaluation, divide the audio sample rate by the block size to get updates per second, then divide that result by two for the Nyquist limit.
  4. Compare buffer sizes at the same sample rate. Keep the requested LFO rate fixed and inspect the modulation sequence or its spectrum. A result that changes with the block size is evidence that the update interval is tied to that block size.

For the 44.1 kHz, 2048-sample case, the calculation is 44,100 ÷ 2048 ≈ 21.5 updates per second, with a Nyquist limit of about 10.8 Hz. A requested 20 Hz modulation rate is above that limit. This arithmetic helps interpret an observed result; it is not a substitute for measuring a particular plugin or code path.

Rank #3
Sale
Akai Professional MPK Mini Plus 37-Key USB MIDI Keyboard Controller | Velocity-Sensitive Mini Keys, 8 MPC Pads, 64 Step Sequencer, MIDI/CV/Gate I/O, Software Suite Included, for Beat Makers
  • Full Creative Control - A dynamic 37-Key MPK Mini keybed for 3 full octaves of melodic and harmonic performance; Easily connect to your DAW or studio equipment with the USB-powered MIDI Controller
  • Advanced Connectivity - Connect to different sound sources with CV/Gate and MIDI I/O; Control modular gear, sound modules, synthesizers, and more to bring new sound sources into your music production
  • Native Kontrol Standard (NKS) Integration - Akai Professional and Native Instruments have partnered to bring NKS support to the MPK Controller series, get ready to Kontrol straight from your MPK
  • Choose Your Exclusive Complimentary NKS Bundle - Browse and control Native Instruments presets and sound libraries; select one of three curated Komplete 15 Select bundles: Beats, Band, or Electronic
  • Record and Compose Without a Computer - Connect to your production station and use the built-in 64-step sequencer featuring one track for drums and one for melodies or chords, with up to 8 notes each

Fix: render in smaller, fixed chunks

Estape’s remedy divides each host block into chunks of up to 32 samples, advances the LFO phase by each chunk’s duration, and renders the corresponding synth segment. At 44.1 kHz, a 32-sample interval yields 44,100 ÷ 32 = 1,378.125 control updates per second and a Nyquist limit of 689.0625 Hz. Estape rounds these to 1,378 updates per second and 689 Hz.

Because the inner update interval is fixed, it is no longer determined by the host’s outer block size in this implementation. The 32-sample choice is suitable for the article’s stated maximum requested LFO rate of 20 Hz; it is not a universal setting. An implementation that supports higher modulation rates needs an appropriately higher update rate or sample-rate processing.

Rank #4
Sale
Akai Professional MPK Mini MK3 25-Key USB MIDI Keyboard Controller | Velocity-Sensitive Mini Keys, 8 MPC Pads, 8 Knobs, Software Suite Included, for Beat Makers, Music Producers and Home Studios
  • Music Production and Beat Maker Essential -USB powered MIDI controller with 25 mini MIDI keyboard velocity-sensitive keys for studio production, virtual synthesizer control and beat production
  • Total Control of your Production - Innovative 4-way thumbstick for dynamic pitch and modulation control, plus a built-in arpeggiator with adjustable resolution, range and modes
  • Native Kontrol Standard (NKS) Integration - Akai Professional and Native Instruments have partnered to bring NKS support to the MPK Controller series, get ready to Kontrol straight from your MPK
  • Choose Your Exclusive Complimentary NKS Bundle - Browse and control Native Instruments presets and sound libraries; select one of three curated Komplete 15 Select bundles: Beats, Band, or Electronic
  • The MPC Experience - 8 backlit velocity-sensitive MPC-style MIDI beat pads with Note Repeat and Full Level for programming drums, triggering samples and controlling virtual synthesizer / DAW controls

The code also changes phase wrapping from a single conditional subtraction to subtracting floor(phase). That handles increments spanning more than one cycle, rather than assuming phase advances by less than one cycle each update.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Smoothing is not a substitute for a sufficient update rate

Smoothing can soften abrupt changes between modulation values, but it cannot reconstruct the requested frequency after aliasing has occurred. Estape reports that smoothed cutoff modulation sounded smooth while running at the wrong frequency. Treat smoothing and the choice of LFO update rate as separate design decisions.

Best Value
Sale
JIKADA 61 Key Portable Electronic Keyboard Piano,3 Teaching Modes | Electric Keyboard Piano Set w/Lighted Keys, Stand, Stool,LCD Screen, Built-In Speakers, Headphones, Microphone, Note Stickers
  • UNLIMITED CONNECTION: This true full size 61 key keyboard piano is made of premium material. The LCD display can simply and clearly displays the status of the functions being used. With audio input/output/microphone jack(with UDISK port),you can connect microphone and headphone(included), you will not interfere with others when practicing singing and playing late at night, fully enjoy the music
  • TIMBRE AND RHYTHM: JIKADA 61-key electronic music keyboard has two built-in stereo speakers, provide 255 tones, 255 rhythms, 50 demo songs and 61 types of keyboard percussion and give you premium sounds and effects. With status memory function, you can save the tone, rhythm, tempo and other parameters to be changed during playing, for fast shifting
  • 3 TEACHING MODES: JIKADA 61 light-up keys keyboard piano with 3 powerful teaching modes, lead you to step by step. And piano note stickers help you more easily to learn and memorize the music theory, musical notations and keys positions
  • MULTI FUNCTIONS: This electronic keyboard has master volume/ accom volume/ tempo control, single-finger chords, fingered chords, sustain, vibrato, split, transposition, metronome, volume or transpose control. With record and playback function, and the playback function can also help the performer recall the performance effect and make targeted connections to improve the performance next time
  • SUPER BUNDLE: Includes a keyboard (size: 36.4in * 13.4in * 3.5in), a x-shaped stand, a soft stool, headphones, a microphone, a music rest and a power adapter. And the stool can be folded for convenient storage and space-saving. This item is not intended for users under 12 years old

Not every synthesizer LFO is block-rate

The behavior depends on the instrument and processing path. Official manuals document other arrangements: Ableton says Operator’s LFO can run at audio rates and act as an additional oscillator; Ableton’s Live 12 effects documentation describes LFO time modes, sync divisions, and stepped quantization; Native Instruments documents Free, Sync, and Osc modes for Massive X.

For any specific product, distinguish how often its modulation is updated from how its rate is set. A free-running rate, a tempo-synchronized rate, and an oscillator mode describe different aspects of behavior; the mode names alone do not establish the internal update rate. Consult the relevant product documentation or test the plugin at more than one host buffer size.

Sources

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.