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.
1.6 KiB
1.6 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| 속도를 바꾸지 않고 오디오 피치를 반음 단위로 올리거나 내립니다. | 2804d0eeecc8 | human | 47d9f3295a37 |
Pitch Shift
재생 속도를 바꾸지 않고 오디오 파일의 피치를 반음 단위로 올리거나 내립니다.
API 엔드포인트
POST /api/v1/tools/audio/pitch-shift
오디오 파일과 JSON settings 필드가 포함된 multipart form data를 받습니다.
파라미터
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| semitones | integer | No | 3 |
이동할 반음 수(-12 ~ 12). 0이 아니어야 합니다. |
요청 예시
curl -X POST http://localhost:1349/api/v1/tools/audio/pitch-shift \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@audio.mp3" \
-F 'settings={"semitones": -5}'
응답 예시
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"downloadUrl": "/api/v1/download/a1b2c3d4-e5f6-7890-abcd-ef1234567890/audio.mp3",
"originalSize": 4500000,
"processedSize": 4500000
}
참고
- 양수 값은 피치를 올리고, 음수 값은 내립니다.
- 12반음 이동은 한 옥타브 위, -12는 한 옥타브 아래와 같습니다.
- 이동량과 관계없이 재생 길이는 동일하게 유지됩니다.
- 출력은 보통 입력 컨테이너를 유지합니다. AAC 입력은 M4A로 작성되며, 지원되지 않는 디코드 전용 입력은 MP3로 폴백됩니다.