def generateScale(scale, note, mode=1, rType="list", octaves=True): #scale, start, type
    if scale in SCALE_STEPS:
        steps = _get_mode(SCALE_STEPS[scale], mode)
        return iterate(note, steps, rType, octaves)
    else:
        raise MelopyGenericError("Unknown scale type:" + str(scale))

# Licensed under The MIT License (MIT)
# See LICENSE file for more
Generate a scale
dataset/ETHPy150Open jdan/Melopy/melopy/scales.py/generateScale