ensnare-org / ensnare-v1

A library for generating digital audio.
https://ensnare.me
Other
2 stars 1 forks source link

Disallow overlapping arrangements after pattern edit #38

Open sowbug opened 4 months ago

sowbug commented 4 months ago

Steps:

  1. Make a one-bar pattern.
  2. Arrange it at 1.0.0, then at 2.0.0.
  3. Lengthen the pattern.

We are now violating the constraint that arranged patterns do not overlap. At present, this can't happen because we have only one-bar patterns. But that is temporary.

Some possible workarounds:

a. Arranging a pattern "stamps" it onto the arrangement, and editing the original pattern doesn't change the arrangement. Aha, maybe this is why Ableton doesn't have live pattern arrangements. b. Changing a pattern length creates a new pattern. Weird UI. c. Disallow pattern length changes. Seems severe. d. Shove everything to the right if patterns are enlarged. This would almost certainly be a musical disaster. e. Allow overlapping arrangements. How would we render the overlap?