mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
All 181 docs markdown files translated into 20 languages (apps/docs/<locale>/**). Companion to the i18n code PR; admin-merged because the file count exceeds GitHub's per-PR CI trigger limit. Validated by pnpm i18n:check (all surfaces, 0 stale/missing) and a clean all-locale docs build.
2.8 KiB
2.8 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| किसी ऑडियो फ़ाइल से मौन (silent) खंडों को हटाएं। | a7624fc99b50 | human | 98391c164b73 |
Silence Removal
एक कॉन्फ़िगर करने योग्य थ्रेशोल्ड और न्यूनतम अवधि के आधार पर किसी ऑडियो फ़ाइल से मौन खंडों का पता लगाएं और उन्हें हटाएं।
API Endpoint
POST /api/v1/tools/audio/silence-removal
एक ऑडियो फ़ाइल और एक JSON settings फ़ील्ड के साथ multipart form data स्वीकार करता है।
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| thresholdDb | number | No | -50 |
dB में मौन थ्रेशोल्ड (-80 से -20)। इस स्तर से नीचे का ऑडियो मौन माना जाता है। |
| minSilenceS | number | No | 0.5 |
हटाने के लिए सेकंड में न्यूनतम मौन अवधि (0.1 से 5) |
Example Request
curl -X POST http://localhost:1349/api/v1/tools/audio/silence-removal \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@audio.mp3" \
-F 'settings={"thresholdDb": -45, "minSilenceS": 1}'
Example Response
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"downloadUrl": "/api/v1/download/a1b2c3d4-e5f6-7890-abcd-ef1234567890/audio.mp3",
"originalSize": 4500000,
"processedSize": 3200000
}
Notes
- एक अधिक (कम ऋणात्मक) थ्रेशोल्ड ज़्यादा आक्रामक होता है और वास्तविक मौन के साथ-साथ शांत हिस्सों को भी हटा देता है।
- केवल लंबे विरामों को हटाने और छोटे प्राकृतिक अंतरालों को बनाए रखने के लिए
minSilenceSबढ़ाएं। - पॉडकास्ट रिकॉर्डिंग, व्याख्यान और वॉइस मेमो को साफ़ करने के लिए उपयोगी।
- आउटपुट आमतौर पर इनपुट कंटेनर को बनाए रखता है। AAC इनपुट को M4A के रूप में लिखा जाता है, और असमर्थित decode-only इनपुट MP3 पर वापस चले जाते हैं।