Convert a degree into a note

degree  degree (symbol_or_number), tonic (symbol), scale (symbol)

For a given scale and tonic it takes a symbol :i, :ii, :iii, :iv,:v, :vi, :vii or a number 1-7 and resolves it to a midi note.

Introduced in v2.1

Example

# Example 1

play degree(:ii, :D3, :major)
play degree(2, :C3, :minor)