Scales with names containing spaces

Hi, I’ve noticed some scales in Tonal.js have names with spaces (e.g. “whole-half diminished” or “neopolitan major pentatonic”). How can you use those in strudel?

My attempt (doesn’t work):

$: n("0 1 2 3 4 5 6 7").scale("C:whole-half diminished")

Spaces need to be replaced with “:”, i.e.

$: n("0 1 2 3 4 5 6 7").scale("C:whole-half:diminished")

2 Likes

Beautiful works, thank you!

1 Like