{
  "title": "Audio hum filter",
  "human_url": "https://happytails.ai/en/media-tools/audio-hum-filter/",
  "agent_url": "https://happytails.ai/agents/en/media-tools/audio-hum-filter/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/media-tools/audio-hum-filter.md",
  "content": "Audio hum filter\nReduce 50 or 60 Hz mains hum and its harmonics with narrow filters, and compare the spectrum before and after.\nHow to use Audio hum filter\nChoose the recording with hum.\nPick automatic detection near 50 or 60 Hz, or a fixed frequency.\nSet how many harmonics to remove and how deep the notches are.\nFilter, compare the spectrum and listen to the result, then download the WAV.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nUseful next steps\nRemove background noise\nAudio equalizer\nVoice recorder\nOne 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.\nFinding the hum\nIn 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.\nNotches\nA 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.\nLimits\nThe filter removes steady tonal hum. It does not remove broadband buzz, clicks or noise; for those use a noise reduction tool.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Remove background noise",
      "url": "https://happytails.ai/en/media-tools/remove-background-noise/"
    },
    {
      "name": "Audio equalizer",
      "url": "https://happytails.ai/en/media-tools/audio-equalizer/"
    },
    {
      "name": "Voice recorder",
      "url": "https://happytails.ai/en/media-tools/voice-recorder/"
    }
  ],
  "tool": {
    "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"
    }
  },
  "markdown": "# Audio hum filter\n\n- Human page: https://happytails.ai/en/media-tools/audio-hum-filter/\n- Markdown: https://happytails.ai/en/media-tools/audio-hum-filter.md\n- Structured JSON: https://happytails.ai/agents/en/media-tools/audio-hum-filter/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `audio-hum-filter` |\n| Category | media-tools |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Use the visible action or interactive controls. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nRuns locally in your browser. Removes 50 or 60 Hz hum and up to 10 harmonics from one recording up to 10 minutes.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\nAccepted browser files: `.wav,.mp3,.m4a,.aac,.flac,.ogg,.oga,.opus,.webm,audio/*`. Choose one file.\n\nBrowser file-input limit: 268435456 bytes in total. HTTP limits can differ.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `fundamental` | Mains frequency | select | \"auto-50\" | Allowed: auto-50, auto-60, 50, 60 |\n| `harmonics` | Harmonics to remove | number | \"5\" | min=1 max=10 step=1 |\n| `depth` | Notch depth (dB) | number | \"30\" | min=3 max=60 step=1 |\n| `q` | Notch Q | number | \"30\" | min=5 max=100 step=1 |\n| `encoding` | WAV sample format | select | \"match\" | Allowed: match, pcm16, pcm24, float32 |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nOne 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.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"audio-hum-filter\",\n  \"category\": \"media-tools\",\n  \"built\": true,\n  \"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.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"fundamental\",\n        \"label\": \"Mains frequency\",\n        \"value\": \"auto-50\",\n        \"type\": \"select\",\n        \"values\": [\n          \"auto-50\",\n          \"auto-60\",\n          \"50\",\n          \"60\"\n        ],\n        \"labels\": {\n          \"50\": \"Fixed 50 Hz\",\n          \"60\": \"Fixed 60 Hz\",\n          \"auto-50\": \"Detect near 50 Hz\",\n          \"auto-60\": \"Detect near 60 Hz\"\n        }\n      },\n      {\n        \"key\": \"harmonics\",\n        \"label\": \"Harmonics to remove\",\n        \"value\": \"5\",\n        \"type\": \"number\",\n        \"min\": 1,\n        \"max\": 10,\n        \"step\": 1\n      },\n      {\n        \"key\": \"depth\",\n        \"label\": \"Notch depth (dB)\",\n        \"value\": \"30\",\n        \"type\": \"number\",\n        \"min\": 3,\n        \"max\": 60,\n        \"step\": 1\n      },\n      {\n        \"key\": \"q\",\n        \"label\": \"Notch Q\",\n        \"value\": \"30\",\n        \"type\": \"number\",\n        \"min\": 5,\n        \"max\": 100,\n        \"step\": 1\n      },\n      {\n        \"key\": \"encoding\",\n        \"label\": \"WAV sample format\",\n        \"value\": \"match\",\n        \"type\": \"select\",\n        \"values\": [\n          \"match\",\n          \"pcm16\",\n          \"pcm24\",\n          \"float32\"\n        ],\n        \"labels\": {\n          \"match\": \"Same as source\",\n          \"pcm16\": \"16-bit PCM\",\n          \"pcm24\": \"24-bit PCM\",\n          \"float32\": \"32-bit float\"\n        }\n      }\n    ],\n    \"registrationFamily\": \"audio-dsp-dynamics-filters\",\n    \"presentation\": \"metrics\",\n    \"files\": true,\n    \"accept\": \".wav,.mp3,.m4a,.aac,.flac,.ogg,.oga,.opus,.webm,audio/*\",\n    \"maxFileBytes\": 268435456,\n    \"input\": false,\n    \"inputErrorCode\": \"AUDIO_DSP_DYNAMICS_FILTERS_TOO_LONG\",\n    \"note\": \"Runs locally in your browser. Removes 50 or 60 Hz hum and up to 10 harmonics from one recording up to 10 minutes.\",\n    \"experience\": {\n      \"automatic\": false,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Audio file\",\n      \"placeholder\": \"Choose a recording with hum\",\n      \"help\": \"Notches are placed on the mains frequency and its harmonics. Up to 1,000,000 characters. Review the settings before running.\",\n      \"helpParts\": [\n        \"Notches are placed on the mains frequency and its harmonics.\",\n        \"Up to 1,000,000 characters.\",\n        \"Review the settings before running.\"\n      ],\n      \"action\": null\n    },\n    \"mode\": \"explicit\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nReduce 50 or 60 Hz mains hum and its harmonics with narrow filters, and compare the spectrum before and after.\n\n### How to use Audio hum filter\n\n1. Choose the recording with hum.\n2. Pick automatic detection near 50 or 60 Hz, or a fixed frequency.\n3. Set how many harmonics to remove and how deep the notches are.\n4. Filter, compare the spectrum and listen to the result, then download the WAV.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n## Useful next steps\n\n- [Remove background noise](https://happytails.ai/en/media-tools/remove-background-noise/) ([Markdown](https://happytails.ai/en/media-tools/remove-background-noise.md))\n\n- [Audio equalizer](https://happytails.ai/en/media-tools/audio-equalizer/) ([Markdown](https://happytails.ai/en/media-tools/audio-equalizer.md))\n\n- [Voice recorder](https://happytails.ai/en/media-tools/voice-recorder/) ([Markdown](https://happytails.ai/en/media-tools/voice-recorder.md))\n\nOne 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.\n\n## Finding the hum\n\nIn 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.\n\n### Notches\n\nA 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.\n\n### Limits\n\nThe filter removes steady tonal hum. It does not remove broadband buzz, clicks or noise; for those use a noise reduction tool.\n"
}