def key_to_note(key, octaves=True):
    notes = ['a','a#','b','c','c#','d','d#','e','f','f#','g','g#']
    octave = (key + 8) / 12
    note = notes[(key - 1) % 12]

    if octaves:
        return note.upper() + str(octave)
    else:
        return note.upper()
Create a cluster that can be used by the scenario tests.
dataset/ETHPy150Open jdan/Melopy/melopy/utility.py/key_to_note--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/benchmark/scenarios/test/test_write_request_load.py/write_request_load_scenarioTest.make_cluster