def m2f(note):
    """Convert MIDI note number to frequency in Hertz.

    See https://en.wikipedia.org/wiki/MIDI_Tuning_Standard.

    """
    return 2 ** ((69 - note) / 12) * 440
dataset/ETHPy150Open spatialaudio/jackclient-python/examples/midi_sine.py/m2f/swapped operands of `-`