Calculating pattern length by looking at all Tracks
Calculating pattern length by looking at all Tracks

Instead of assuming that all Tracks have the same length.
In practice, the UI should ensure that all Tracks have the
same length, but this makes the backend more defensive
about relying on that assumption.

jstrait/jssynth,jstrait/jssynth