Currently, `ostinato._get_central_motif` contains quite a fair amount of branching logic. It would be good to try and simplify this