def generateScale(scale, note, mode=1, rType="list", octaves=True): #scale, start, type
    """
    Generate a scale
    scale (string): major,  melodic_minor, harmonic_minor, chromatic, major_pentatonic
    note: start note
    """
    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
dataset/ETHPy150Open jdan/Melopy/melopy/scales.py/generateScale/operator `+` -> `%`