Remove language prefix (EN_, CN_) from converted sound files

This commit is contained in:
Thatcher Chamberlin 2023-02-17 23:15:44 -05:00
parent f26b504bd1
commit 73bcb05de2
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ audio_to_txt() {
audio_to_cpp() { audio_to_cpp() {
hash=$(echo $arg1 | md5sum | cut -d" " -f1) hash=$(echo $arg1 | md5sum | cut -d" " -f1)
filename="out-$hash.sbc" filename="out-$hash.sbc"
varname=$(echo $arg1 | rev | cut -c5- | cut -d"/" -f1,2 | rev | tr '[:lower:]' '[:upper:]' | tr "/" _) varname=$(echo $arg1 | rev | cut -c5- | cut -d"/" -f1 | rev | tr '[:lower:]' '[:upper:]' | tr "/" _)
ffmpeg -y \ ffmpeg -y \
-v quiet `# verbosity - other options are "quiet", "error", "panic"` \ -v quiet `# verbosity - other options are "quiet", "error", "panic"` \
-i $arg1 `#input file: $arg1` \ -i $arg1 `#input file: $arg1` \