Skip to content

Scales

Play through all scales

Use the following code to iterate through all of the available scales Renardo provides.

Displays all available scales:

print(Scale.names())

Assign the selected scale as the default:

Scale.default=Scale.chromatic

Variable to assign a step to each note on the scale:

steps=len(Scale.default)

Play the notes through the scale:

p1 >> pluck(P[:steps])