Skip to content

Commit 13b02ae

Browse files
committed
Correct natural minor
1 parent 162a471 commit 13b02ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scales.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function Base.getindex(s::Scale{Pitch}, n::Int)
5656
n += 2 # offset so that scale[-2] means "go down by a second from the tonic"
5757
end
5858

59-
octave = fld1(n, length(s.notes)) - 1
59+
octave = fld1(n, length(s.notes)) - 1
6060
n = mod1(n, length(s.notes))
6161
if n < 0
6262
n += length(s.notes)

0 commit comments

Comments
 (0)