(Hopefully) Interesting snippet for making melodies

Hi all! I really like this topic, this is my favorite one-liner:

let tonal root mode = note . (|+ root) . scale mode

d1 $ tonal "<0 3>" "major" $ "0 2 4 7"

I'm currently researching ways to use ControlMaps for this. This is what I'm aiming for:

d1 $ "0 2 4 6" # key "0:major"
4 Likes