Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop notes with length zero (patch) #3031

Merged
merged 1 commit into from
Sep 12, 2016
Merged

Drop notes with length zero (patch) #3031

merged 1 commit into from
Sep 12, 2016

Conversation

jasp00
Copy link
Member

@jasp00 jasp00 commented Sep 11, 2016

This closes #3026. There is room for improvement regarding speed, but this code is not run by the mixer. I do not remove any locks in this request.

@tresf
Copy link
Member

tresf commented Sep 12, 2016

current behavior is too complicated and notes with length zero should be dropped.

They should only be dropped after they've been lengthened to non-zero notes, otherwise, "Open in Piano Roll" should be renamed to "erase all notes steps and open in Piano Roll".

If this is already being done, great, just want to make sure.

@jasp00
Copy link
Member Author

jasp00 commented Sep 12, 2016

"erase all steps and open in Piano Roll"

Notes with length zero are the steps in off state. Steps in on state (notes with negative length) are not erased and appear in Piano Roll.

@tresf
Copy link
Member

tresf commented Sep 12, 2016

Notes with length zero are the steps in off state. Steps in on state (notes with negative length) are not erased and appear in Piano Roll.

Ok, thanks for clarification. 👍

@jasp00 jasp00 merged commit 1f90337 into LMMS:master Sep 12, 2016
@jasp00 jasp00 deleted the length-zero branch September 12, 2016 20:10
sambler added a commit to sambler/lmms that referenced this pull request Sep 19, 2016
* master: (213 commits)
  Update Pattern and AutomationPattern length (LMMS#3037)
  Refresh i18n strings
  Hint text update
  Drop notes with length zero (LMMS#3031)
  Background tweak
  Background
  Update Flanger
  Exclude .ts files from the Github linguist
  Redesign Multitap echo (LMMS#3008)
  Update i18n source strings
  Extended arpeggiator functions (LMMS#2130)
  Fix sample track playback in BB tracks (LMMS#3023)
  Sort plug-in embedded resources (LMMS#3014)
  Implement version major.minor.release-stage.build (LMMS#3011)
  Fix regressions on loading broken projects (LMMS#3013)
  Improved file input validation. (LMMS#2523)
  Fix sample track view in BB editor (LMMS#3002)
  Request change in model when dropping a track (LMMS#3000)
  Add LocklessAllocator and use it in LocklessList (LMMS#2998)
  Drop forceStep in AutomatableModel (LMMS#3010)
  ...
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants