Translations:Touhou Patch Center:BGM modding/12/zh-hans: Difference between revisions

From Touhou Patch Center
Jump to navigation Jump to search
(Created page with "===怎样使 MP3 文件也能循环播放=== For your first MP3, double-check whether the audio editor you want use for loop cutting actually supports the LAME extension for g...")
 
No edit summary
 
Line 1: Line 1:
===怎样使 MP3 文件也能循环播放===
===怎样使 MP3 文件也能循环播放===
For your first MP3, double-check whether the audio editor you want use for loop cutting actually supports the LAME extension for gapless MP3. (GoldWave v6.35 and Audacity 2.3.0 don't.) To do this, convert the MP3 to a FLAC or WAV using something that does (I used foobar2000 v1.4), and check whether your editor shows the same amount of silence at the beginning of both the FLAC/WAV and the MP3.<br />
对于MP3文件,仔细检查用于循环剪切的音频编辑器是否真的支持无间隙MP3的LAME扩展(已知GoldWave v6.35 Audacity 2.3.0 不支持)。要做到这步,将MP3转码为FLAC或WAV(我是用foobar2000 v1.4转的),然后检查编辑器中,对于FLAC/WAV文件和MP3文件,两者开头的空白是否一样长。<br />
If it doesn't, always convert to a FLAC/WAV file to "apply" the removal of the MP3 pre-gap, and use that converted file to determine the loop start/end samples. (After the loop works, you'd just throw away that lossless file.)
如果不一样,则必须每次编辑前用原来的MP3转一个FLAC/WAV来去除MP3预置空白的干扰,并总是使用FLAC/WAV文件来定位循环头和循环尾。(当然,编辑完就可以扔掉这个无损文件了)
Then, use [[:File:pcutmp3.zip|pcutmp3]] on the command line to perform sample-accurate cutting.
然后,使用命令行工具 [[:File:pcutmp3.zip|pcutmp3]] 进行精确的循环节裁剪。

Latest revision as of 14:50, 9 December 2019

Message definition (Touhou Patch Center:BGM modding)
===How to loop MP3 files===
For your first MP3, double-check whether the audio editor you want use for loop cutting actually supports the LAME extension for gapless MP3. (GoldWave v6.35 and Audacity 2.3.0 don't.) To do this, convert the MP3 to a FLAC or WAV using something that does (I used foobar2000 v1.4), and check whether your editor shows the same amount of silence at the beginning of both the FLAC/WAV and the MP3.<br />
If it doesn't, always convert to a FLAC/WAV file to "apply" the removal of the MP3 pre-gap, and use that converted file to determine the loop start/end samples. (After the loop works, you'd just throw away that lossless file.)
Then, use [[:File:pcutmp3.zip|pcutmp3]] on the command line to perform sample-accurate cutting.

怎样使 MP3 文件也能循环播放

对于MP3文件,仔细检查用于循环剪切的音频编辑器是否真的支持无间隙MP3的LAME扩展(已知GoldWave v6.35 和 Audacity 2.3.0 不支持)。要做到这步,将MP3转码为FLAC或WAV(我是用foobar2000 v1.4转的),然后检查编辑器中,对于FLAC/WAV文件和MP3文件,两者开头的空白是否一样长。
如果不一样,则必须每次编辑前用原来的MP3转一个FLAC/WAV来去除MP3预置空白的干扰,并总是使用FLAC/WAV文件来定位循环头和循环尾。(当然,编辑完就可以扔掉这个无损文件了) 然后,使用命令行工具 pcutmp3 进行精确的循环节裁剪。