Add support for TTA (True Audio) codec
Unified · Split
| @@ -1,7 +1,7 @@ | |||
| 1 | split2flac | 1 | split2flac |
| 2 | ========== | 2 | ========== |
| 3 | 3 | ||
| 4 | **split2flac** splits one big APE/FLAC/WV/WAV audio image (or a collection of such files, recursively) with CUE sheet | 4 | **split2flac** splits one big APE/FLAC/TTA/WV/WAV audio image (or a collection of such files, recursively) with CUE sheet |
| 5 | into FLAC/M4A/MP3/OGG_VORBIS/WAV tracks with tagging, renaming, charset conversion of cue sheet, album cover images. | 5 | into FLAC/M4A/MP3/OGG_VORBIS/WAV tracks with tagging, renaming, charset conversion of cue sheet, album cover images. |
| 6 | It also uses configuration file, so no need to pass a lot of arguments every time, only an input file. | 6 | It also uses configuration file, so no need to pass a lot of arguments every time, only an input file. |
| 7 | Should work in any POSIX-compliant shell. | 7 | Should work in any POSIX-compliant shell. |
| @@ -32,6 +32,7 @@ Dependencies · 24 unmodified lines | |||
| 32 | * **faac** and **libmp4v2** to split into M4A | 32 | * **faac** and **libmp4v2** to split into M4A |
| 33 | * **wavpack** to split WV | 33 | * **wavpack** to split WV |
| 34 | * **mac** to split APE | 34 | * **mac** to split APE |
| 35 | * **ttaenc** to split TTA | ||
| 35 | * **imagemagick** to convert/resize album cover images | 36 | * **imagemagick** to convert/resize album cover images |
| 36 | * **iconv** to convert CUE sheet from non-UTF8 charset | 37 | * **iconv** to convert CUE sheet from non-UTF8 charset |
| 37 | * **enca** to automatically detect charset if it's not UTF8 | 38 | * **enca** to automatically detect charset if it's not UTF8 |
| @@ -689,7 +689,7 @@ split_collection () { · 688 unmodified lines | |||
| 689 | IFS=" | 689 | IFS=" |
| 690 | " | 690 | " |
| 691 | 691 | ||
| 692 | for FILE in `find "$1" -iname '*.flac' -o -iname '*.ape' -o -iname '*.wv' -o -iname '*.wav'`; do | 692 | for FILE in `find "$1" -iname '*.flac' -o -iname '*.ape' -o -iname '*.tta' -o -iname '*.wv' -o -iname '*.wav'`; do |
| 693 | IFS=${OLDIFS} | 693 | IFS=${OLDIFS} |
| 694 | CHARSET=${OLDCHARSET} | 694 | CHARSET=${OLDCHARSET} |
| 695 | $msg "$cG>> $cC\"${FILE}\"$cZ\n" | 695 | $msg "$cG>> $cC\"${FILE}\"$cZ\n" |