Skip to content

Commit

Permalink
Change the meaning of 'fadeStart/fadeEnd'; adjust (#884)
Browse files Browse the repository at this point in the history
Previous versions had fadeStart and fadeEnd be the midi note
of the fade regions. This led to lots of complexity lots of
spaces, including not making '0' a good default.

So change the internal meaning so fadeStart and fadeEnd are the
distance from start and end of the fade zone. Once you do this
lots of stuff gets simpler

- ui constraints are easier to calculate
- initialization is fine at 0
- you can move the fade calculation onto the range objects easily
- etc...

While in there also add an 'addGuiStepPreSend' to the connectors
so you can do constrained guis more easily.
  • Loading branch information
baconpaul authored May 9, 2024
1 parent 80d0c1c commit c6bf707
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 156 deletions.
Loading

0 comments on commit c6bf707

Please sign in to comment.