The only command line solution for gapless playback I found so far (working with ALSA and JACK) is moc (»music on console«). While I'm still searching for a simpler way I was wondering if it is possible to loop an audio file into a new file for a given number of times?
Something like:
loop-audio infile.flac --loop 32 outfile.flac
for repeating infile.flac 32 times into outfile.flac