-
Notifications
You must be signed in to change notification settings - Fork 14
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
Duplicate Scripts? #690
Comments
This question is mainly directed at @cv-on-hub and @jwink75. |
Because of the need to avoid existing music in For my money |
I’ll want some time to play with both before weighing in, but helping my father in law with a construction project today. cue_notes _create was made for and used in JetStream, so I definitely don’t want to remove it without checking them out first.
|
Stem auto flipping (stems away from center) is how I always do cues; I would be very sad to see it go. |
You must be thinking of a different script. This cue_notes_create.lua was made expressly for the repo. |
It makes sense on empty targets, but really none on targets containing music. This is the only argument I can imagine for keeping |
Is there not a way to include auto-flipping on empty measures in |
Ah, yes, thank you Carl! I think I HAD made one for JetStream and then actually replaced it with yours when I made the shift away from a monolithic file. I’d still love to check out the differences between them though, as “create” is at least being USED by JetStream :)
|
I disagree that "away from middle" stems doesn't make sense when the target contains music. Does it really add more complexity to the overlay script (I haven't looked)? I would think the logic would be exactly the same as in the create script, based strictly on the cues notes themselves. |
It adds operational complexity with the comparatively arcane distinction of freezing up, down, away, or none, which only makes sense when the measure is empty. (Plus the concomitant complexity of having to provide for the erasure of such freezing at a later date). "Overlay" uses the simple expedient of making target note stems oppose the chosen cue stem-direction - a simple, obvious and intelligible choice. Cues might need to be shifted some octaves to sit on the target clef/transposition. This demands trial and error in every scenario with absolutely no single "freeze" decision suiting all conditions. You seem to be suggesting re-introducing the four freeze-options back in to only take effect in empty targets. Terribly messy for minimum gain! But an argument for retaining the "create" version and not introducing such complexity back in to "overlay". |
I'll have to play with the overlay script before adding anything else here--as I said, I haven't looked at it yet. |
From my standpoint: I’m ok with losing ‘create’ after having played with both for a few minutes
|
Okay, I used the overlay script a bit and took a look at its code. From what I can see, an auto stem feature would be perfectly plausible -- instead of specifying up or down stems for the cues (and flipping the target notes the other way), just let the algorithm decide cue stem direction, as it does in the create script. The only use case I can think of offhand where this wouldn't yield desired results is something like this: The auto algorithm would see the cue notes lying above the center line and would want their stems to go up, and hence the target stems would go down. I think this is solvable in code, and even if it's not I would rather have an auto algorithm that works most of the time than not have it at all. But I understand if @cv-on-hub isn't interested in adding it. In the larger scheme of things, this thread has made me think that we should be careful about removing "duplicate" scripts, unless one offers a true superset of the other's functionalities. If we were to remove the create script without adding the auto stem functionality to the overlay script, it's true that I could still maintain my personal copy of the create script, but that's something that's more complicated for a user who gets scripts from the website rather than working directly with the repo. |
That's true - I'm not. You are expecting immensely simpler source and destination material than I am, and contrary-wise I have found almost NO situation in real life in which an automated solution would have produced acceptable results in |
The consensus seems to be that |
What is the difference between
cue_notes_overlay.lua
andcue_notes_create.lua
. From the Notes it seems like they do more or less the same thing. Do we need both?The text was updated successfully, but these errors were encountered: