-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
AFP Selection Bug #1134
Comments
On 09/07/2014 06:42 PM, Tres Finocchiaro wrote:
Actually, this depends on the direction. I can't remember which way it The problem is that we have to make sure that the loop point doesn't get The best fix would be to save the "last moved point" in some variable, |
I may not have too much knowledge of C++, but what I see here is that WHEN loopPoint is over Start/End point -> change Start/End point connect( &m_startPointModel, SIGNAL( dataChanged() ), Instead, we should have three different functions (loopPointChanged, startPointChanged, endPointChanged) Right now loopPointChanged (which applies for the three of them indifferetly) is able to move start and end points, while it can't move loop point. startPointChanged and endPointChanged should be able to tackle loopPoint. This of course leads to the fact that when you move the start point, you may move the loop point, and this will turn loopPointChanged on: two fuctions dealing with the same case and with opposite instructions. Then which function has priority? We should have a "priority" variable that can be 1, 2 and 3. The knob moved by the user is 3, and if it is startPoint: If it is endPoint If it is loopPoint the problem is less complicated, as we'll have max two functions active at the same time. |
So I examined the code and it seems it was written to nudge the start and end points with the loop markers, which is backwards. It makes the start and end points greater than loop boundries ignore value changes unless initiated by a loop marker. As you've stated, this is partly because the function has no memory of what the value was before, so detecting direction is much more difficult. But on top of this, when the loop markers are disabled, the loop markers should have no effect on the sample's start and end, period. A disabled feature shouldn't have any bearing on an enabled feature. For this reason I feel this feature is incomplete and should be pushed to master. I'll still try to dive in and fix it, but it's behavior is broken in ways that I don't feel justify inclusion into a stable build. Recommendations:
|
On 09/07/2014 07:46 PM, DeRobyJ wrote:
You're making this way more complicated than it needs to be... |
On 09/07/2014 07:54 PM, Tres Finocchiaro wrote:
I think you're exaggerating the severity of the issue by quite a bit... No one says stable needs to be perfect... it just needs to be stable.
I don't think we should start making global settings for every possible I don't think a global setting is even justified in this case. Not to
Problem here is, we have 3 modes: Loop off, Loop on (forwards), Loop on That aside, you're the one who came up with the symbols... If you want
This is what I suggested doing. What we need is, simply, some mechanism to figure out which loop point In any case, when we know the "last moved knob", we can the prioritize |
@diizy, I don't think we're in disagreement with much. First, my definition for
I mean when the enhanced loop is turned off, turn off the knob, turn off the markers.
Well, this depends on who we trust with quality control. So far, we have a pretty decent team of testers, and I value their opinion quite a bit. If Stian and myself say this needs fixing, and we honor that opinion, we have two options, 1. Revert 2. Fix what we have. Since option 2 is still up in the air, it is not an exaggeration to say we should consider reverting. We always have the option to ignore the opinions of our testers, but that brings us down a slippery slope.
I've intentionally made it a point not to point any fingers in this bug report. I hope you can be respectful and please do the same. -Tres |
Hey, Diizy, LMMS 1.1.0 comes out when it is ready, remember? I felt it was ready months ago, you didn't, now I feel it isn't ready, you do. Point is we waited until now, we can probably wait a week and see what can be done with this bug. |
On 09/07/2014 09:09 PM, Tres Finocchiaro wrote:
Ok. I think that would still make things too complicated. There's the
Reverting would quite possibly also turn out to be more complicated than
No one's opinion is getting ignored here. We still have to consider what
No fingers are being pointed. You're still in the best position to change the icons, since you made |
I hadn't realized until digging in now that this functionality is in addition to what we already had -- It's always on sorry for any confusion... oversight on my part.
Swapping on/off pixmaps I think would be the quickest fix.
Understood, lets fix it then. I have some time now to stare at it... Will post any progress here. -Tres |
On 09/07/2014 09:36 PM, Tres Finocchiaro wrote:
Again, the thing is, there's 3 modes, not just on/off. Which ones are
Cool. |
Well, there's three modes:
So the power button being lit when it's off I think is backward. It should be lit when it's on. Switching the power pixmaps achieves this, which was my original intention when they were made. |
On 09/07/2014 09:52 PM, Tres Finocchiaro wrote:
Oh. I see your point, but also I think that might possibly be kind of |
Please review the proposed changes. #1136
I think when you try it out it will make sense. It is placed over the top of the two buttons and I think it will be intuitive. If this pull request gets your blessing, I'll probably build an interim win build for @Sti2nd to make sure at least he can test drive the change prior to the 1.1 release. -Tres |
one small comment - isent it just in one specific situation, that the loop-point need to be more 'enhanced' to the user. : When the user loads a new sample. (Besides that, speak nicely |
Sure, we can, but who's to say it should be in the middle? To do this proper, we'd support loop markers on the samples directly like most DAWs do and set it according to where the sample would want it. I get your point, they can't "see" the left edge, but now I think we're nitpicking. 🐝 -Tres |
This still needs some tweaking before it's closed. Per @DeRobyJ
|
I submitted another fix. Can you please retest here: |
Fixed This all work fine now. |
Thanks! 🍭 |
Since the AFP loop code has been added to the AudioFileProcessor instrument, the wave selection behavior has become non-ideal.
The issue is that by default, the
start-point
of the wave is no longer adjustable with the knobs. Instead, theloop-points
must be adjusted first to allow the start-point to be adjusted.Ideally, one of two scenarios would happen:
start-point
would be adjustable and would nudge theloop-point
marker automatically.-- OR --
loop-point
start andloop-point
end values disabled by default. When disabled, theloop-point
markers would have no bearing on thestart-point
andend-point
of the wav.Possibly related to #927.

Code:
https://github.com/LMMS/lmms/blob/stable-1.1/plugins/audio_file_processor/audio_file_processor.cpp#L373
The text was updated successfully, but these errors were encountered: