Stream.getElementsByOffset() was returning an iterator without the offset filter added.
Fix
With https://github.com/cuthbertLab/music21j/pull/239, addFilter() now returns a clone of the original iterator. This PR rewrites Stream.getElementsByOffset() to return the clone, not the original.
Bug
Stream.getElementsByOffset()
was returning an iterator without the offset filter added.Fix
With https://github.com/cuthbertLab/music21j/pull/239,
addFilter()
now returns a clone of the original iterator. This PR rewritesStream.getElementsByOffset()
to return the clone, not the original.