JuliaMusic / MusicManipulations.jl

Manipulate music data, humanize, quantize and analyze music performances with Julia
MIT License
46 stars 7 forks source link

Bug in firstnotes #17

Closed Datseris closed 6 years ago

Datseris commented 6 years ago

In firstnotes if two quarternotes are apart by more than 1 tpq they are still considered belonging to the same bin.

This is very easy to fix by adding a second boolean operation which is the difference of positions. Then you simply boolean & the existing dif anddifference of positions to be less than<`.