2006年11月26日 星期日

Lame 3.97 (MP3 Encoder)

Lame的設定

這些設定需要Lame 3.97之後的版本。Lame 3.97是建議的版本[下載]
在給的bitrate的範圍中, 聲音的品質是以VBR > ABR > CBR。裡面就只有當你選擇最高的CBR bitrate(320kbit/s)的時候例外
建議上使用--alt-preset standard在音質和大小的平衡

建議的編碼設定 :

--alt-preset standard : (大約190kbit/s,通常在180和220之間)

--alt-preset fast standard : (大約190kbit/s,比較快但是品質較差)

--alt-preset extreme : (大約250kbit/s,通常在220和270之間)

--alt-preset fast extreme : (大約250kbit/s,比較快但是品質較差)

--alt-preset insane : (320kbit/s CBR,最高的品質)

在使用在MP3隨身聽上的時候,你或許可以使用--alt-preset standard -Y(大約160kbit/s)。 -Y將高頻限制在16KHz,在吵雜的環境有時你可能會沒有感覺。

建議的ABR(平均Bitrate)的設定 :

ABR的設定可以從320kbps到8kbps

--alt-preset

例如 :
--alt-preset 200 : 200kbit ABR

--alt-preset 128 : 128 kbit ABR

建議的CBR(固定bitrate)的設定 :

--alt-preset cbr 320 : 320 kbit/s CBR

--alt-preset cbr 256 : 256 kbit/s CBR

--alt-preset cbr 192 : 192 kbit/s CBR

--alt-preset cbr 160 : 160 kbit/s CBR

--alt-preset cbr 128 : 128 kbit/s CBR

--alt-preset cbr 96 : 96 kbit/s CBR

選定EAC menu中的compression options

打開"External Compression"的選項

  1. [v] Use external program for compression
  2. 改變Parameter passing scheme:"User Defined Encoder"
  3. 設定Usefile extension:".mp3"
  4. 設定Program, include path, used for compression
    設定到"lame.exe"的位置
  5. 在Additional command line options上加上
    --alt-preset standard --ta "%a" --tt "%t" --tl "%g" --ty "%y" --tn "%n" %s
  6. [v] Delete WAV after compression
  7. [ ] Add ID3 tag


3.97版用的設定
-b 320 = --preset insane
-V 0 --vbr-new = --preset fast extreme
-V 0 = --preset extreme 245
-V 2 --vbr-new = --preset fast standard
-V 2 = --preset standard
-V 4 --vbr-new = --preset fast medium
-V 4 = --preset medium

EAC compression options

Setting EAC compression options


Select compression options from EAC menu.

Open 'External Compression' tab.
  1. Check 'Use external program for compression'
  2. Change 'Parameter passing scheme' to 'User Defined Encoder'
  3. Set file extension to .mpc
  4. Click 'Browse' and locate 'mppenc.exe'
  5. Change 'Additional command line options' to
    --quality 5 --xlevel --artist "%a" --title "%t" --album "%g" --year "%y" --track "%n" --genre "%m" %s
  6. Check 'Delete WAV after compression'
  7. Uncheck 'Add ID3 tag'

To use other encoders only three steps needs to be done differently.

FLAC:
3. Set file extension to .flac
4. Locate 'flac.exe' (version 1.0.4 or later needed)
5. Use command line -T "artist=%a" -T "title=%t" -T "album=%g" -T "date=%y" -T "tracknumber=%n" -T "genre=%m" %s

Ogg Vorbis:
3. Set file extension to .ogg
4. Locate 'oggenc.exe'
5. Use command line -a "%a" -t "%t" -l "%g" -d "%y" -N "%n" -G "%m" %s

Monkey's Audio with APEv2 tags:
3. Set file extension to .ape
4. Locate 'wapet.exe'
5. Use command line %d -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" mac.exe %s %d -c4000
note: if mac.exe isn't in search path you need to specify full path for it.

WavPack with APEv2 tags:
3. Set file extension to .wv
4. Locate 'wapet.exe'
5. Use command line %d -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" wavpack.exe -h %s
note: if wavpack.exe isn't in search path you need to specify full path for it.

OptimFROG with APEv2 tags:
3. Set file extension to .ofr
4. Locate 'wapet.exe'
5. Use command line %d -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" ofr.exe --encode %s --output %d
note: if ofr.exe isn't in search path you need to specify full path for it.

OptimFROG DualStream with APEv2 tags:
3. Set file extension to .ofs
4. Locate 'wapet.exe'
5. Use command line %d -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" ofs.exe --encode --quality 3 %s --output %d
note: if ofs.exe isn't in search path you need to specify full path for it.

LAME MP3 with APEv2 tags:
3. Set file extension to .mp3
4. Locate 'wapet.exe'
5. Use command line %d -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" lame.exe --alt-preset standard %s %d
note: if lame.exe isn't in search path you need to specify full path for it.

PsyTEL encoded AAC with APEv2 tags:
3. Set file extension to .aac
4. Locate 'wapet.exe'
5. Use command line %d -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" aacenc.exe -normal -if %s
note: if aacenc.exe isn't in search path you need to specify full path for it.

FAAC encoded AAC with APEv2 tags:
3. Set file extension to .aac
4. Locate 'wapet.exe'
5. Use command line %d -t "Artist=%a" -t "Title=%t" -t "Album=%g" -t "Year=%y" -t "Track=%n" -t "Genre=%m" faac.exe -q 100 -c 16000 %s %d
note: if faac.exe isn't in search path you need to specify full path for it.

Exact Audio Copy

Exact Audio Copy

EAC 0.95b可由這取得:[下載點]
在2K or XP下如果安裝完後執行程式後,放入CD後沒有任何音軌出現,也就是沒有Track01等字出現,先下載ASPI的driver:[下載點],EAC -> EAC Options or F9在Interface選項下有[x]Installed external ASPI interface,重新開啟程式

Driver Options

請先放入CD,EAC -> Driver Options or F10
Extraction Method按下Detect Read Features程式會幫你偵測適當的設定
Drive中按下Autodetect read command now,程式會幫你找出Drive read command

Secure modes - Secure mode with following drive features(建議使用):
在音軌轉錄時會檢查和更正錯誤

Drive has 'Accurate Stream' feature :
如果你的裝置可以正確讀取,這個選項應該被設定

Drive caches audio data:
EAC 讀取每一個音樂區兩次並比較它們.如果不同的話EAC知道有不取錯誤會重讀這個音樂區一次又一次直到達到滿意的結果(或是告訴使用者錯誤).如果使 用快取的話裝置會在第二次讀取時使用快取的資料,當然結果總是相同.在這個情形下這個選項要被選取,EAC會清除原來的快取在讀一次CD

Drive is capable of Retrieving C2 error information:
一 些新的裝置能夠傳回C2錯誤的訊息.C2錯誤告訴軟體說可能有讀取上的錯誤,當C2錯誤修正Enable時,EAC就不必不取整個資料重讀一次,可以使 速度提昇.有些裝置在偵測時會報告說它支援C2但它實際上沒有.要測試更徹底使用額外的"Examine C2 Feature"

"Big Endian" byte order (Motorola):
有些裝置會以錯誤的byte的次序回傳取樣.16 bit的取樣會分成兩個byte而byte的次序在這些裝置上是相反的.如果你轉錄的音樂聽起來像是噪音的話,試者設定這個選項

Swap channels:
一些裝置會將左右聲道相反,這可以解決這問題

Spin up drive before extraction:

Speed selection : (預設:Actual,建議:Actual)
施工中

Allow speed reduction during extraction : (預設:Enabled,建議:Enabled)
EAC當讀取錯誤時能夠自動的減低速度,可是當錯誤過了後不是每個裝置都能再一次速度上升

CD-Text Read capable drive : (預設:Disabled,建議:Depends on the drive)
如果你的裝置支援CD-Text得讀取,你最好選擇這個選項.

Gap/Index retrival method:(預設:Detection method B,建議:Depends on the drive)
有 些裝置在你選用錯誤的gap detection method的時候會造成不正確的gap值.(Detection method A, Detection method B, Detection method C)中method A是最快速的method C是最慢的,這三個方法的品質沒有差別.然而不是每個裝置都可以使用最快的方法.

Detection accuracy:(預設:Inaccurate,建議:Secure)
Detection accuracy是EAC detect gaps的次數.在Inaccurate mode時gaps只會被擷取一次.Accurate和Secure mode都回擷取好幾次來確定gap的位置.

Action -> Detect Gaps or F4.如果是正確的gap detection mode能夠在兩秒內找到正確的gaps.如果EAC在偵測的過程中停住了或是需要很久的時間,這個模式或許不適合你的裝置.這時改成method B or C然後退出光碟重新讀取光碟還有重置所有的資料再做一次測試.
PS:測試光碟最好是原版而且不是現場和混音版的

可以在這個地方找到一些光碟機的參考選項
http://www.accuraterip.com/driveoffsets.htm

EAC Options

Extraction tab的參數的意義

Fill up missing offset samples with silence : (預設:Enabled,建議:Enabled)
當使用offset修正的時候,如果在失去取樣時候是否使用silence來填滿失去的地方或不考慮他,這個選項可以讓我們使用silence來填滿誤失取樣的部分,可以使取樣得到的東西盡可能跟原來的相像

No use of null samples for CRC calculations : (預設:Enabled,建議:Disabled)
當計算CRC的時候,無效的取樣不會被計算.然而位移也會造成不同的CRC即使音軌有無效的取樣在開始和結束.這個選項事實上不是很重要絕對不會影響到轉錄的品質.

Synchronize between tracks : (預設:Enabled,建議:Enabled)
在音軌交叉處,EAC能夠作在兩個音軌間jitter和同步的修正,使它確定在交會處沒有pop/gaps會發生.這只有在鄰近的音軌被轉錄時才發生作用

Delete leading and trailing silent blocks : (預設:Disabled,建議:Disabled)
如果音軌有silence在開始會結束的地方,EAC可以移除這些東西.當然這會使wav比原來的小.如果我們希望100%的複製的話,取消這個選項

Skip track extraction on read or sync errors : (預設:Disabled,建議:Disabled)
如果在第一次讀取或同步錯誤時到EAC會跳過現在的音軌,因為有時EAC一些進階的轉錄方式所得的讀取或同步錯誤通常不會造成可聽出的影響.在取消這選項時,當這些情況發生得時候,EAC會記錄在log中.當然當讀取或同步錯誤發生時程式不再保證一定正確,

Skip track extraction after duration longer than : (預設:Disabled,建議:Disabled)
如果選擇這個選項,EAC會在一定時間後跳過現在轉錄的音軌轉錄下一軌.

After each xx mins of extraction, cool down the drive for yy mins : (預設:Disabled,建議:Disabled)
只有在有音軌因為長時間轉錄造成讀取頭過熱的情形下才要使用

Lock drive tray during extraction : (建議:Enabled,建議:Enabled)
EAC會鎖住光碟機來避免使用者在轉錄時候不小心地打開光碟機

Extraction and compression priority : (預設:Normal,建議:High)
增加到High可能會造成其他程式的lag

Error recovery quality : (預設:Medium,建議:High)
有三個等級的錯誤更正這個設定設定重新讀取幾次後放棄,如果你需要最好的品質的話就使用High吧

Filename的參數的意義

Naming scheme : %A\%C\%N%T
可以輸出"歌手目錄->專輯名目錄->音軌數音軌名

Replace spaces by underscores :
用"_"取代空白

freedb/Database Option

CDDB是CD資料庫的意思.它是一個含有大量的CD資訊龐大的線上資料庫.你可以這資料庫取得光碟的歌曲名,專輯名還有歌手名等.

EAC -> freedb/Database option -> freedb你只要設定好Your E-Mail然後Freedb server使用預設的就可以使用的. Database -> Get CD Information -> Remote CDDB就可以取得資料

Log的簡單說明

Peak leavel
是說轉錄出來的音軌的響度,如果沒有到達100%不用擔心這不會影響到轉錄的品質

Track quality
Track quality 100%明顯的是意指音軌被100%正確的被轉錄出來.有時候EAC會重讀某些音樂區域好幾次來得到正確的結果但每次重讀一次,音軌的品質就會下降.但這 並不是說轉錄的正確性下降.在"Tack quality"低於100%的情形下還是可能有一個bit一個bit都是完美的被複製只要是在log檔中沒有任何的錯誤被回報."Track quality"是說CD在實質上的品質,而不是轉錄的資料的品質

如何用EAC備份光碟

幾 乎每個裝置都沒有辦法正確的定位讀取的位置.因為每的區域都有位置的資訊,所以在資料光碟上這不是多大的問題.裝置可以簡單的找到正確的位置.可 是在音樂光碟上沒有任何的區域位置的資訊.所以在音樂光碟上要找到正確的位置是非常困難的事.所以裝置在讀取音樂光碟的時候會有offset.大部分現在 的裝置的offset都是常數只要你知道它的offset就可以修正它

拿任何一張EAC內建資料的音樂光碟(http://www.exactaudiocopy.de/eac3.html) 測得到光碟機的Read offset.然後在Writer offset的地方輸入 "0"製作測試光碟,拿這張測試光碟給光碟機測Read offset,可以得到read/write combined offset.再把read/write combined offset的值減掉Read offset的值填到Writer offset.

  1. 若使用EAC來燒錄光碟,且所有的然後read offset和write offset都已設定正確了,讀取音軌時使用read offset correction.
  2. 若使用別的燒錄軟體,則使用read/write combined offset correction來製作映像檔燒錄

相關連結
EAC的詳細設定說明

Foobar2000 0.9x

Foobar2000介紹

Foobar2000有以下的特 [下載]

  • 再Windows NT系統上面有完全的Unicode的支援
  • 支援RelayGain
  • Audio formats supported: MP1, MP2, MP3, MP4, MPC, AAC, Ogg Vorbis, FLAC / Ogg FLAC, WavPack, WAV, AIFF, AU, SND, CDDA.
  • 先進的寫入標籤能力.
  • Support for transcoding all supported audio formats using the Converter component (requires external commandline encoder executables for different output formats).

選擇"DSP Manager"的選項
Resampler : 重新取樣器(有SRC的音效卡強烈建議使用)
Resampler
Target sample rate:48000Hz(AC97)
[*] Slow Mode (用更大的Window Size但需要更快的CPU)
44100Hz:SB16、AWE32和其他類似的ISA soundcard
48000Hz:SB PCI、SBLive、Audigy、Philips AE、Yamaha 7x4和一般的onboard soundcard
96000Hz:Audigy2和一些真正支援96khz的soundcard、例如Terratec DWX24/96

選擇"Output"的選項

Output method:kernel Streaming(使用在"2k & XP")
如果你使用Win9x系列使用WaveOut其他的情形使用DirectSound
Allow hardware mixing當硬體有支援的情形下
Kernel Streaming有些硬體不能正確支援,一些人在使用KS有感覺上比DS好的情形
(KS在Normal版以上就有了,不過預設不選取,請在安裝時在Output中選取Kernel Streaming)

Kernel Streaming是一個叫做"Microsoft DirectKS"的技術。DirectKS可以開一個直接連接到聲音裝置的連接然後直接送資料到裝置。可以穿過M$ Kernel Mixer,裝置的driver mixer。如果你有很差的裝置drivers或是遇上一些MS kernel Mixer的臭蟲或是一些特殊的用途需要高取樣的輸出或是需要較小的延遲,但KS有一些問題在一些硬體或Driver上。
在有些情形下 kMixer重新取樣你的輸出,但你的音效裝置驅動程式也做但可能硬體自己可以做的最好。KS可以穿過前面兩個後直接給硬體。如果硬體可以自 己重新取樣的話你可以給不同的取樣頻率在KS上。這樣的話你要使用DSP resampler。在使用KS時其他的東西就不能再用音效裝置。
ps:一些硬體的重新取樣的品質很差,如果你沒有使用DSP resampler的情形下KS有可能是品質最差的

選擇"Playback"的選項

Replaygin mode:use album gain
Output bit depth:16bit fixed point(視音效卡的情形而定)
使用超過硬體支援的數目祇會降低音質而已
如果使用Terratec EWX24/96使用24bit padded to 32bit
[v] Dither 當你的音效卡是的輸出是16bit的時候,建議使用Dither

ReplayGain
所 有的CD的聲音大小都不是相同。你感覺在數位音樂格式上的聲音大小甚至有更大的變動。當不同的音樂氣氛需要有些聲道應該比其它的大聲時,這個CD的響度 必須配合整年發行的CD多於在加強情感上的效果。如果我們加上控制在不一致品質的數位音樂編碼,你可以在隨機播放音樂而不用調整音量。
有一個簡單解決這問題的辦法,就是儲存所需要的大小在每個音軌上。一些標籤可以儲存播放所需要的相對音量判斷,可以用來達到響度的控制。 ReplayGain建立了一個簡單的方法在計算和取代原來音軌和專輯的真實響度。
先選取要編輯的檔案,右鍵Replaygain
Edit replaygain info (advanced) : 直接手動編輯replaygain的大小
Remove replaygain info from files : 將replaygain的訊息從檔案中移除
Scan per-file track gain : 掃描每個檔案各自的track gain
Scan selection as album : 將選取的部分視為同一個專輯,並取得所要的Album gain(當你沒有編輯Album資訊但知道哪些為同一張專輯的時候可以使用這個方式)
Scan selection as multiple albums using album field : 將選擇的部分根據檔案各自的專輯部分來得到Album gain(當你檔案有編輯Album資訊時,你可以選取所有有Album資訊的檔案,程式會自動根據Album分群得到要的Album gain)

當你有了Replaygain的資訊後在Playback中的Replaygain mode中選用Album gain
PS : Replaygin mode中track gain和album gain的差別
Track gain : 根據每個Track的大小來調整大小,使用Track gain會使得每首歌的大小差不多
Album gain : 根據每張專輯整體平均的大小來調整,使用Album gain可以使每張專輯的相對大小差不多,在專輯中還是有不同的大小
除非你想要每首歌的大小一樣,否則建議使用Album gain。因為track gain會讓專輯的每首歌都一樣大聲,如此就破壞了這張CD原來的安排和想帶給你的感覺

Freedb
Foobar2000 0.9版之後使用的Freedb2,支援Unicode along with freedb protocol version 6
舊版日文出現亂碼時請用這個伺服器 : http://freedbtest.dyndns.org/~cddb/cddb.cgi
Musicbrainz : http://www.mb.inhouse.co.uk:80/~cddb/cddb.cgi
Freedb2 : http://TrackType.org:80/~cddb/cddb.cgi

相關連結
foobar2000 Wiki for Japanese Users
Foorbar官方網頁
おたちゃんのMIDI/Audioソフト