diff --git a/src/note.jl b/src/note.jl index b6101b8..6d88421 100644 --- a/src/note.jl +++ b/src/note.jl @@ -98,6 +98,7 @@ function Base.append!(n1::Notes{N}, n2::Notes{N}) where {N} return n1 end +Base.copy(notes::Notes) = Notes(copy(notes.notes), notes.tpq) # Pretty printing const PITCH_TO_NAME = Dict( 0=>"C", 1=>"C♯", 2=>"D", 3=>"D♯", 4=>"E", 5=>"F", 6=>"F♯", 7=>"G", 8=>"G♯", 9=>"A",