CNMAT / Music-and-Computing

Materials built for MUS158A, MUS158B (B is only io area of patchers)
Other
6 stars 3 forks source link

bug in m158.o.gui.live.grid #41

Closed equilet closed 8 years ago

equilet commented 8 years ago

steps:

  1. open m158.o.gui.live.grid.maxhelp
  2. drag on live grid object
  3. observe resultant /matrix/y parameter

I'm thinking /matrix/y and /matrix/x are yet to be implemented...

expected: /matrix/y should not have a repeated number at the end of the list.

ramagottfried commented 8 years ago

thanks, it's implemented, but looks like something is off by one.

ramagottfried commented 8 years ago

actually, this behavior is by design -- it's made to work with m158.o.points.lookup~ and m158.o.points.interp~.

but I think you're that the extra point at the end is confusing -- it's there to provide an endpoint ... I'll think about an alternative design.

ramagottfried commented 8 years ago

p.s. m158.o.gui.table does the same thing. The reason is that in order for a step to have a duration it needs an end point, so the resulting list always the original size + 1 with the last step repeated.

equilet commented 8 years ago

maybe /endpoint ?

ramagottfried commented 8 years ago

maybe, but I'd like to avoid adding more addresses if possible.

thinking it might be feasible to make an @tablemode for points.phase~ that adds the last point behind the scenes. right now table mode is just @interp 0.

ramagottfried commented 8 years ago

fixed