Should probably choose a fixed resample mode for the metronome or not use resampling there at all. Bug report by Peter.