{"uid":"cap_nJVKsEwztlEUv7m6O9P7Y","slug":"audio-calc-nyquist-frequency-aliasing-calculator-c43bce32","name":"Audio Calc: Nyquist Frequency & Aliasing Calculator","description":"Nyquist frequency for a sample rate, plus the alias frequency and samples per cycle of a tone, and the guard band above 20 kHz.","url":"https://audio-calc.x402tookit.com/sample-rate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["sampleRate"],"properties":{"frequency":{"type":"number","description":"Optional tone frequency in Hz to check for aliasing"},"sampleRate":{"type":"number","description":"Sample rate in Hz, for example 44100"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"tone":{"type":["null","object"],"properties":{"aliasHz":{"type":["null","number"]},"frequencyHz":{"type":["null","number"]},"belowNyquist":{"type":["boolean","null"]},"cyclesPerSample":{"type":["null","number"]},"samplesPerCycle":{"type":["null","number"]},"periodMilliseconds":{"type":["null","number"]}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"commonUse":{"type":["null","string"]},"nyquistHz":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"sampleRate":{"type":["null","number"]},"guardBandAbove20kHz":{"type":["null","number"]},"samplePeriodMicroseconds":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U3Dha0CHijYIpcCBVKiJD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the Nyquist frequency for a given sample rate, plus optional tone aliasing analysis (alias frequency, samples per cycle, below-Nyquist status) and the guard band above 20 kHz.","exampleAgentPrompt":"What's the Nyquist frequency for a 44100 Hz sample rate, and will a 20500 Hz tone alias at that rate?","exampleUseCases":[{"title":"CD audio aliasing check","prompt":"I'm working with 44100 Hz sample rate audio — what's the Nyquist frequency and will a 21000 Hz tone alias?"},{"title":"High-resolution audio guard band","prompt":"For a 96000 Hz sample rate, what's the Nyquist frequency and how large is the guard band above 20 kHz?"},{"title":"Samples per cycle for mixing reference","prompt":"How many samples per cycle does a 1000 Hz sine wave have at a 48000 Hz sample rate, and is it safely below Nyquist?"}],"resultDescription":"Returns a JSON object with the Nyquist frequency (half the sample rate), the sample period in microseconds, the guard band above 20 kHz, a human-readable summary and common use description, and optionally (if a tone frequency is supplied) the tone's alias frequency, samples per cycle, cycles per sample, period in milliseconds, and a below-Nyquist verdict with explanatory reasons.","failureModes":["Missing required sampleRate query parameter returns an error","Non-numeric or zero/negative sampleRate values may return validation errors or unexpected results","Very high or very low sample rates outside real-world audio ranges may produce degraded or flagged responses","Payment failure (x402) returns 402 status before any computation is performed"],"whenToPreferThis":"Choose this endpoint when you need precise Nyquist frequency calculations for a specific audio sample rate, want to verify whether a particular tone frequency will alias, or need to determine how many samples represent one cycle of a tone. It is specifically tailored for digital audio DSP contexts and returns audio-domain-native units and interpretations rather than generic math results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:35:45.156Z","isFirstParty":false,"canonicalSlug":"audio-calc-nyquist-frequency-aliasing-calculator-c43bce32"}