def METHOD_NAME(r):
    for coarse_offset in range(0, new_pitch, r.pitch):
        for ored_term in r.ored_terms:
            for offset, scaling in product(ored_term.offsets, ored_term.scalings):
                yield (coarse_offset + offset, scaling)