With much good-natured help from Rob Komar, I think this bug is fixed now. The fix required a small "API" change to sndlib.h -- mus_sample_t** as the "cm" arg to mus_file_read_chans|any -- hopefully this won't affect anyone else's code.