resample_melody_series now takes a times argument for #59