-
Convert FLAC to WAV
ffmpeg -i cd.flac cd.wav
-
Copy and modify CUE file
Original:
# (...) FILE "cd.flac" WAVE # (...)Modified:
# (...) FILE "cd.wav" WAVE # (...) -
Install shntool and split the file
sudo apt install shntool shnsplit -f cd-modified.cue -o wav cd.wav # cd.wav is taken from step 1 -
Convert everything back to FLAC
for wav in split-track*.wav; do flac="${wav%.wav}.flac"; ffmpeg -i "$wav" "$flac"; done
-
Install cuetools and tag the split tracks
sudo apt install cuetools cuetag cd-original.cue split-track*.flac -
Put every split-track.flac to new audio CD project in Brasero*
-
Verify that you didn't lose anything and the tracks are properly arranged
-
Burn
Hope This Helps (HTH)