

@transform_sequence
def degree_in_key_with_octave(key, base_octave, point):
    degree = point['degree']
    (pitch, octave) = key.degree_to_pitch_and_octave(degree)
    point['pitch'] = pitch
    point['octave'] = (octave + base_octave)
    return point

dataset/ETHPy150Open jtauber/sebastian/sebastian/core/transforms.py degree_in_key_with_octave/original