>>9492 >This works too: simply catting a bunch of .mp3 files into one larger .mp3 file. For block sharing with 256K chunks - https://chat-gpt.org/chat (I didn't have to think much about math/code!): >>find the nearest multiple of 16 to my given number n in bash >[ read -p "Enter a number: " n; multiple=$(( (n + 8) / 16 * 16 )); echo "Nearest multiple of 16 to $n is $multiple" ] >>find the nearest multiple of 262144 to my given number n in bash >[ read -p "Enter a number: " n; multiple=$(( (n + 262144/2) / 262144 * 262144 )); echo "Nearest multiple of 262144 to $n is $multiple" ] >>find the nearest multiple of 262144 above my given number n in bash >[ read -p "Enter a number: " n; multiple=$(( (n + 262144 - 1) / 262144 * 262144 )); echo "Nearest multiple of 262144 above $n is $multiple" ] so pad the tail of each file to a multiple of 262,144 with /dev/zero and dd.