Debian下ape转flac,通过cue分割wav笔记
Created 2022-02-02 / Updated 2022-02-17添加第三方源:
# vi /etc/apt/sources.list
deb https://mirrors.aliyun.com/debian-multimedia/ bullseye main non-free
# wget https://mirrors.aliyun.com/debian-multimedia/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2016.8.1_all.deb
# dpkg -i deb-multimedia-keyring_2016.8.1_all.deb
# apt-get update
ape转wav:
# apt-get install monkeys-audio
$ mac xxx.ape xxx.wav -d
wav转flac:
# apt-get install flac
$ flac xxx.wav
通过cue分割wav:
# apt-get install shntool
如果cue文件内容乱码,需先将它转换成utf8:
$ iconv -f GBK -t UTF8 xxx.cue > utf8.cue
分割:
$ shnsplit -f utf8.cue -t %n-%t xxx.wav
Categories: [audio] [Linux]