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

Enabling instrument envelopes causes unwanted piano roll triggering #3637

Closed
StakeoutPunch opened this issue Jun 13, 2017 · 15 comments
Closed
Assignees
Milestone

Comments

@StakeoutPunch
Copy link

OS: Windows 10
Version: Public 1.2 RC3
Steps to reproduce:

  1. Open an instrument to the env/lfo tab and enable any envelope (volume, cutoff, or reso).
  2. Open instrument in the piano roll and place down any chord you wish.
  3. Select one note using CTRL+drag or select tool.
  4. Drag the note's volume slider around. This will cause every note occurring at the same timeline position in the piano roll to trigger every time the slider is moved.
@musikBear
Copy link

confirmed win 32 xp

@StakeoutPunch
Copy link
Author

More information on bug: Clicking the volume slider and moving the cursor to the side (out of vertical alignment) will not trigger all the notes when changing the slider value.

@SecondFlight
Copy link
Member

I can't reproduce on master, can someone confirm this before I close?

@zonkmachine
Copy link
Member

It's doesn't seem to be as prominent in master as in stable-1.2 but it still happens.

  1. Drag the note's volume slider around. This will cause every note occurring at the same timeline position in the piano roll to trigger every time the slider is moved.

Also affects panning.

@musikBear
Copy link

Very important that a fix, does not remove chords being played, if mouse is being left-pressed on the column-end.
image
Pressing this area, is the only way to hear a chord, without playback!

@zonkmachine
Copy link
Member

Bisected. The commit where this triggering started is f403299
@tresf

@tresf
Copy link
Member

tresf commented Oct 23, 2019

Bisected. The commit where this triggering started is f403299
@tresf

Nice find. I don't have time to own this one, so marking it as good first issue and hoping someone else does.

@zonkmachine
Copy link
Member

I don't see at a first glance why the triggering affects only sounds with envelope. I think the real bug could be somewhere else and this commit just made it surface.

@zonkmachine
Copy link
Member

zonkmachine commented Oct 23, 2019

I think I've fixed the issue in #5271

@zonkmachine zonkmachine added this to the 1.2.2 milestone Oct 23, 2019
@zonkmachine
Copy link
Member

faderissue

Q - I have selected one note in the chord to the left. I now get a bit naughty and try and move the fader for the note to the right. What should the outcome be?

@zonkmachine
Copy link
Member

In 1.1.3 when you have an active selection, the other notes faders are unresponsive. In 1.2.0 when you try and move another fader than of the selected note you will trigger that note but the selection fader will move instead. I see no use case for this behavior and am looking into a fix for it.

@Spekular
Copy link
Member

I think only the actively selected notes should have editable velocities. Imagine you have a strummed chord, so the notes are delayed by 1/64th or something. If you select one note in the chord to edit its velocity, you don't want the other notes to change. This should also be simpler to code than making an exception for notes at a different position. So in your example, the velocity for the note on the right should stay fixed.

One could argue that notes that are far enough from the selection should be editable, but this could end up being confusing, and you would need to take zoom into account.

@zonkmachine
Copy link
Member

zonkmachine commented Oct 26, 2019

I think only the actively selected notes should have editable velocities.

I agree and this is actually how it works in master now so this part seem fixed already.
Edit: No, the issue is still there...

This should also be simpler to code than making an exception for notes at a different position.

Yes.

@zonkmachine
Copy link
Member

So in your example, the velocity for the note on the right should stay fixed.

And this is how it works today but the sound still plays. It just gets a bit confusing because the fader of the selection moves. It's a bit of an edge case though and the current behavior is acceptable to me. #5271 should be merged.

@zonkmachine
Copy link
Member

Closed in #5271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants