Last active
March 4, 2024 17:09
Revisions
-
krasCGQ revised this gist
Sep 24, 2017 . 1 changed file with 7 additions and 5 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,33 +4,35 @@ If you decide to follow my settings, I'm not responsible for anything that happe ## Free Lossless Audio Codec (FLAC) I prefer maximum compression as possible with replay gain applied. This command below will silence all warnings, especially when dealing with Hi-Res audios: `a.wav: WARNING: Legacy WAVE file has format type 1 but bits-per-sample=24` ```bash $ flac --totally-silent --delete-input-file --replay-gain -V8 <input-file>.wav ``` ## MPEG Audio Layer 3 (MP3) - LAME LAME is so far the best MP3 encoder out there. This is my encoding settings to achieve the best quality to play on my MP3 player. No ReplayGain flag is passed since it doesn't append the calculated value anyway. Use foobar2000 (run it in Wine) if you want to apply ReplayGain in MP3 files. **Be noted that I only encode to MP3 just to play it on my legacy media player or when my friend requested me to do so.** ```bash $ lame --silent --noreplaygain --flush --vbr-new -V0 -q0 -m j -p <input-file>.wav ``` ## Opus I'll use 192kbps VBR ([see here why](http://wiki.hydrogenaud.io/index.php?title=Opus#Music_encoding_quality)), with maximum encoding complexity, default framesize (20), and no expected packet loss. The only consideration with the default framesize is that softer music will result in a slightly higher bit rate than what it should be with other encoders, which are mostly lower than targeted VBR (one of my soundtracks could reach up to 234kbps with my settings). If you prefer close-to-targeted VBR, `--framesize 10` might worth trying. Supported input formats: WAV, AIFF, FLAC, RAW PCM. ```bash $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 <input-file.wav> <output-file>.ogg ``` **Notes:** 1) Android 6.0 doesn't recognize Opus audio with .opus container, use .ogg instead. 2) Puddletag and some media players (e.g. Guayadeque) don't recognize Opus audio with .ogg container properly. Some of these players may fail to recognize metadata on these files. ## auCDtect (Windows) -
krasCGQ revised this gist
Sep 9, 2017 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,10 +21,11 @@ $ lame --silent --noreplaygain --flush --vbr-new -V0 -q0 -m j -p <input-file>.wa ## Opus DON'T EVER TOUCH FRAMESIZE SETTINGS IF YOU'RE ENCODING MUSIC!!! I'll use 192kbps VBR ([see here why](http://wiki.hydrogenaud.io/index.php?title=Opus#Music_encoding_quality)), with maximum encoding complexity and no expected packet loss. Supported input formats: WAV, AIFF FLAC, RAW PCM. ```bash $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 <input-file.wav> <output-file>.ogg ``` **Notes:** -
krasCGQ revised this gist
Sep 9, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,7 +20,8 @@ $ lame --silent --noreplaygain --flush --vbr-new -V0 -q0 -m j -p <input-file>.wa ## Opus DON'T EVER TOUCH FRAMESIZE SETTINGS IF YOU'RE ENCODING MUSIC!!! I'll use 192kbps VBR ([see here why](http://wiki.hydrogenaud.io/index.php?title=Opus#Music_encoding_quality)), with maximum encoding complexity and no expected packet loss. Supported input formats: WAV, AIFF FLAC, RAW PCM. ```bash $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 <input-file>.wav <output-file>.ogg @@ -35,5 +36,5 @@ $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 <input-file>.wav Doesn't fall at encoding at all, but useful to verify WAVE files ripped from a CD. Use the slowest, most accurate settings of auCDtect. Also, print summary conclusions. ```bat auCDtect.exe -m0 -d <input-file>.wav ``` -
krasCGQ revised this gist
Sep 8, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $ lame --silent --noreplaygain --flush --vbr-new -V0 -q0 -m j -p <input-file>.wa ~~In Opus I'll look at overhead, but in common I'll use ``--framesize 10`` or ``--framesize 20`` for several tracks that I'm going to play in my Android devices and not whole music collections.~~ No, no, no, just let the default framesize. I'll use 192kbps VBR ([see here why](http://wiki.hydrogenaud.io/index.php?title=Opus#Music_encoding_quality)), with maximum encoding complexity and no expected packet loss. ```bash $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 <input-file>.wav <output-file>.ogg ``` **Notes:** -
krasCGQ revised this gist
Sep 8, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,10 +20,10 @@ $ lame --silent --noreplaygain --flush --vbr-new -V0 -q0 -m j -p <input-file>.wa ## Opus ~~In Opus I'll look at overhead, but in common I'll use ``--framesize 10`` or ``--framesize 20`` for several tracks that I'm going to play in my Android devices and not whole music collections.~~ No, no, no, just let the default framesize. I'll use 192kbps VBR ([see here why](http://wiki.hydrogenaud.io/index.php?title=Opus#Music_encoding_quality)), with maximum encoding complexity and no expected packet loss. ```bash $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 --framesize <input-file>.wav <output-file>.ogg ``` **Notes:** -
krasCGQ revised this gist
Sep 7, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,7 +26,9 @@ In Opus I'll look at overhead, but in common I'll use ``--framesize 10`` or ``-- $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 --framesize (10 or 20) <input-file>.wav <output-file>.ogg ``` **Notes:** 1) Android 6.0 doesn't recognize Opus audio with .opus container, use .ogg instead. 2) Puddletag doesn't recognize Opus audio with .ogg container. Change file format to .opus and back to .ogg when you're done with metadata editing in Puddletag. ## auCDtect (Windows) -
krasCGQ revised this gist
Sep 7, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,7 +20,7 @@ $ lame --silent --noreplaygain --flush --vbr-new -V0 -q0 -m j -p <input-file>.wa ## Opus In Opus I'll look at overhead, but in common I'll use ``--framesize 10`` or ``--framesize 20`` for several tracks that I'm going to play in my Android devices and not whole music collections. I'll use 192kbps VBR ([see here why](http://wiki.hydrogenaud.io/index.php?title=Opus#Music_encoding_quality)), with maximum encoding complexity and no expected packet loss. ```bash $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 --framesize (10 or 20) <input-file>.wav <output-file>.ogg -
krasCGQ revised this gist
Sep 7, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,7 +26,7 @@ In Opus I'll look at overhead, but in common I'll use ``--framesize 10`` or ``-- $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 --framesize (10 or 20) <input-file>.wav <output-file>.ogg ``` **Note:** Android 6.0 doesn't recognize Opus audio inside .opus container, use .ogg instead. ## auCDtect (Windows) -
krasCGQ revised this gist
Sep 7, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ I prefer maximum compression as possible with replay gain applied. $ flac --delete-input-file --replay-gain -s -V8 <input-file>.wav ``` ## MPEG Audio Layer 3 (MP3) - LAME LAME is so far the best MP3 encoder out there. This is my encoding settings to achieve the best quality to play on my MP3 player. No ReplayGain flag is passed since it doesn't append the calculated value anyway. Use foobar2000 (run it in Wine) if you want to apply ReplayGain in MP3 files. -
krasCGQ created this gist
Sep 7, 2017 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ # Disclaimer If you decide to follow my settings, I'm not responsible for anything that happens if you decide to go careless and become a priceless dumb. All commands are done in Linux PC using corresponding CLI programs. In Windows, just add .exe after CLI program name. ## Free Lossless Audio Codec (FLAC) I prefer maximum compression as possible with replay gain applied. ```bash $ flac --delete-input-file --replay-gain -s -V8 <input-file>.wav ``` ## MP3 - LAME LAME is so far the best MP3 encoder out there. This is my encoding settings to achieve the best quality to play on my MP3 player. No ReplayGain flag is passed since it doesn't append the calculated value anyway. Use foobar2000 (run it in Wine) if you want to apply ReplayGain in MP3 files. ```bash $ lame --silent --noreplaygain --flush --vbr-new -V0 -q0 -m j -p <input-file>.wav ``` ## Opus In Opus I'll look at overhead, but in common I'll use ``--framesize 10`` or ``--framesize 20`` for a whole album tracks and not whole music collections. I'll use 192kbps VBR ([see here why](http://wiki.hydrogenaud.io/index.php?title=Opus#Music_encoding_quality)), with maximum encoding complexity and no expected packet loss. ```bash $ opusenc --quiet --vbr --bitrate 192 --comp 10 --expect-loss 0 --framesize (10 or 20) <input-file>.wav <output-file>.ogg ``` **Note:** Android 5.0 doesn't recognize Opus audio inside .opus container, use .ogg instead. ## auCDtect (Windows) Doesn't fall at encoding at all, but useful to verify WAVE files ripped from a CD. Use the slowest, most accurate settings of auCDtect. Also, print summary conclusions. ```bat auCDtect.exe -m0 -d <input-file.wav> ```