WAV 標示 48 kHz,測試音為何播放得偏高?
The WAV said 48 kHz. Why did the test tone play sharp?
Kevinchen1104 製作合成測試錄音,將以 44.1 kHz 播放的樣本改標為 48 kHz;樣本加速播放後,兩個聲道的測量峯值均升至 1,088.42 Hz。Spark-X2.6-4B 在本機以四個 CPU 執行緒讀取交付要求,作者的最終檢查器在 22 個合成案例中判對 21 個。對沒有已知參考音的普通音訊,報告只能確認標頭是否符合要求,無法判定音高。
The delivery brief asked for 48 kHz. The WAV header agreed. Then the editor played the reference tone. What should have been 1,000 Hz sounded sharp.
Kevinchen1104 built that discrepancy into a synthetic test recording. The samples were recorded for 44.1 kHz playback, but the header was changed to 48 kHz. Playing the same samples faster moved the measured peak to 1,088.42 Hz in both channels. ffprobe and the decoder both reported the header rate correctly.
Spark-X2.6-4B ran locally on four CPU threads and read the written brief. Asked for the rate in Hz, it returned 48. Asked which passage specified the delivery rate, it picked the line containing “48 kHz”. Python converted the selected expression to 48,000 Hz. The spectrum measurement came from the decoded samples.
In the author’s 22 synthetic Chinese and English cases, the final checker matched 21 expected verdicts. The miss was a brief that mentioned last month’s rate while this week’s was still pending. For ordinary audio without a known reference tone, the report can confirm a header match but leaves the pitch question open.
Listen to the two tones in the downloadable offline report. Kevinchen1104’s original walkthrough and reproduction instructions.
來源:DEV Community · dev.to



