{
  "slug": "voice-note-converter",
  "name": "gizza-ai/voice-note-converter",
  "version": "0.1.0",
  "title": "Voice Note Converter — gizza.ai",
  "description": "Convert WhatsApp, Telegram, Signal and other Opus/Ogg voice notes to MP3 or WAV, or encode audio back to Opus voice notes in your browser.",
  "tags": [
    "audio",
    "voice note",
    "opus",
    "ogg",
    "mp3",
    "wav",
    "whatsapp",
    "telegram"
  ],
  "category": "audio",
  "urls": {
    "page": "https://gizza.ai/tools/voice-note-converter/",
    "markdown": "https://gizza.ai/tools/voice-note-converter/index.md",
    "descriptor": "https://gizza.ai/tools/voice-note-converter/tool.json",
    "deep_link_example": "https://gizza.ai/tools/voice-note-converter/?url=https://example.com/input&format=opus&mono=true"
  },
  "cli": "gizza tool voice-note-converter 'url=https://example.com/input' 'format=opus' 'mono=true'",
  "tool": {
    "description": "Convert a chat voice message. Decode an incoming voice note (Opus/OGG from WhatsApp, Telegram, Signal — or any audio ffmpeg can decode) to mp3 or wav, or encode mp3/wav back into a real .opus voice note (Opus codec in an Ogg container). Provide either url (HTTP/HTTPS) or ref (id from a prior tool call). format is opus|mp3|wav (required). bitrate (kbps) applies to the lossy targets — opus 6-256 (default 32), mp3 32-320 (default 128) — and is clamped per format; wav ignores it. mono (default true) downmixes to one channel and tunes Opus for speech. Embedded cover art is dropped.",
    "parameters": {
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "url"
          ]
        },
        {
          "required": [
            "ref"
          ]
        }
      ],
      "properties": {
        "bitrate": {
          "description": "Bitrate in kbps for the lossy targets (opus 6-256, mp3 32-320); clamped per format. Defaults: opus 32, mp3 128. Ignored for wav.",
          "maximum": 320,
          "minimum": 6,
          "type": "integer"
        },
        "format": {
          "description": "Target format: opus = a real messaging-app voice note (Opus in Ogg), mp3 = plays everywhere, wav = uncompressed for editing.",
          "enum": [
            "opus",
            "mp3",
            "wav"
          ],
          "type": "string"
        },
        "mono": {
          "default": true,
          "description": "Downmix to a single channel (the voice-note standard; also selects libopus' speech-tuned `voip` mode). Default true; set false to keep stereo.",
          "type": "boolean"
        },
        "ref": {
          "description": "Reference id from a prior tool call. Use either url or ref.",
          "type": "string"
        },
        "url": {
          "description": "Audio URL (HTTP/HTTPS). Use either url or ref.",
          "type": "string"
        }
      },
      "required": [
        "format"
      ],
      "type": "object"
    }
  }
}