Audio hum filter
Open Audio hum filter on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.
Tool capabilities
{
"id": "audio-hum-filter",
"category": "media-tools",
"built": true,
"requirements": "One recording up to 256 MiB and 10 minutes; 1 to 10 harmonics, depth 3 to 60 dB, Q 5 to 100. WAV is read with every sample intact; other formats are decoded by your browser at 48 kHz. Everything is processed on your device and nothing is uploaded. Download: WAV in the source format or the format you choose, a JSON report and a CSV spectrum up to 1,000 Hz before and after.",
"implementation": {
"fields": [
{
"key": "fundamental",
"label": "Mains frequency",
"value": "auto-50",
"type": "select",
"values": [
"auto-50",
"auto-60",
"50",
"60"
],
"labels": {
"50": "Fixed 50 Hz",
"60": "Fixed 60 Hz",
"auto-50": "Detect near 50 Hz",
"auto-60": "Detect near 60 Hz"
}
},
{
"key": "harmonics",
"label": "Harmonics to remove",
"value": "5",
"type": "number",
"min": 1,
"max": 10,
"step": 1
},
{
"key": "depth",
"label": "Notch depth (dB)",
"value": "30",
"type": "number",
"min": 3,
"max": 60,
"step": 1
},
{
"key": "q",
"label": "Notch Q",
"value": "30",
"type": "number",
"min": 5,
"max": 100,
"step": 1
},
{
"key": "encoding",
"label": "WAV sample format",
"value": "match",
"type": "select",
"values": [
"match",
"pcm16",
"pcm24",
"float32"
],
"labels": {
"match": "Same as source",
"pcm16": "16-bit PCM",
"pcm24": "24-bit PCM",
"float32": "32-bit float"
}
}
],
"registrationFamily": "audio-dsp-dynamics-filters",
"presentation": "metrics",
"files": true,
"accept": ".wav,.mp3,.m4a,.aac,.flac,.ogg,.oga,.opus,.webm,audio/*",
"maxFileBytes": 268435456,
"input": false,
"inputErrorCode": "AUDIO_DSP_DYNAMICS_FILTERS_TOO_LONG",
"note": "Runs locally in your browser. Removes 50 or 60 Hz hum and up to 10 harmonics from one recording up to 10 minutes.",
"experience": {
"automatic": false,
"single": false,
"inputMaxLength": 1000000,
"inputMode": "text",
"label": "Audio file",
"placeholder": "Choose a recording with hum",
"help": "Notches are placed on the mains frequency and its harmonics. Up to 1,000,000 characters. Review the settings before running.",
"helpParts": [
"Notches are placed on the mains frequency and its harmonics.",
"Up to 1,000,000 characters.",
"Review the settings before running."
],
"action": null
},
"mode": "explicit",
"interactive": false
},
"execution": "Browser interface",
"api": null,
"browser_agent": {
"supported": true,
"name": "run_current_tool",
"discovery": "WebMCP on the human page in a supporting browser",
"verification": "See audit/API-AUDIT.md; availability is not verification"
}
}Page guide
Reduce 50 or 60 Hz mains hum and its harmonics with narrow filters, and compare the spectrum before and after.
How to use Audio hum filter
- Choose the recording with hum.
- Pick automatic detection near 50 or 60 Hz, or a fixed frequency.
- Set how many harmonics to remove and how deep the notches are.
- Filter, compare the spectrum and listen to the result, then download the WAV.
Useful next steps
One recording up to 256 MiB and 10 minutes; 1 to 10 harmonics, depth 3 to 60 dB, Q 5 to 100. WAV is read with every sample intact; other formats are decoded by your browser at 48 kHz. Everything is processed on your device and nothing is uploaded. Download: WAV in the source format or the format you choose, a JSON report and a CSV spectrum up to 1,000 Hz before and after.
Finding the hum
In automatic mode the strongest peak within 3 Hz of 50 or 60 Hz is measured from an averaged spectrum, so a slightly fast or slow mains frequency is followed. With a fixed setting exactly 50 or 60 Hz is used. Europe and most of Asia and Africa use 50 Hz; North America uses 60 Hz.
Notches
A narrow cut is placed on the fundamental and each harmonic up to the number you choose, skipping any above 95 percent of half the sample rate. Higher harmonics get notches that are slightly wider in hertz. A higher Q makes each notch narrower, which keeps more of the voice or music.
Limits
The filter removes steady tonal hum. It does not remove broadband buzz, clicks or noise; for those use a noise reduction tool.