Comments (10)
Oh yeah man. that's exactly what we want to avoid for this use case
from reaper_sm_tweaker.
Took awhile to figure that out. Plz check if them works as expected! And some minor(I assume) is stated at changelog
from reaper_sm_tweaker.
Hi. Thanks a lot! Seems to be working properly now. So maybe could be moved on the zoom dependant actions for slope adjustment as well now? I would then test it all together thoroughtly in different scenarios.
from reaper_sm_tweaker.
Glad to know it's working! zoom deps and two way API is added in 0.0.4.3. Note that step size and zoom lamdba is separated in configs.lua
It's copied from SM API and not tested so as well feel free to post if anything goes wrong!
from reaper_sm_tweaker.
Hi. Thank you very much. Right now testing it.
-
Can you please add 2 way actions for the slope actions, both absolute and zoom dependant?
-
I will keep testing the slope behaviour, especially with regards to the issue of slope/stretch state being reset, or adjusted wrongly. It's a bit tricky, as you mentioned earlier. But I will make my observations and will try to suggest the behavior. Thank you.
from reaper_sm_tweaker.
Hi, I think the two way and zoom dep action is added at here and here ;)
from reaper_sm_tweaker.
Oh. Sorry. Did i miss those? Thanks. I'll test out the rest today then
from reaper_sm_tweaker.
there is a missing dot in the file name of one of those 2way actions though, which prevented it from loading into reaper. Should be 2way.lua , not 2waylua
from reaper_sm_tweaker.
OK. I've tried out the slope actions now. Here is what worked:
Slope adjusters abs_val forward and backward work ok to the point. What is good is that slope ratio at the end point of the slope matches the stretch ratio (which remain without the slope for the rest of the region on the right from the SM). This is the kind of behavior that should be for the slope actions.
What doesn't work
-
That same stretch factor , which remains neutral slope-wise for the remaining portion of the region starts going off relative to slope end point ratio (on the left) once the slope has crossed some invisible threshold. I think I understand why it happens and it looks related to the issues bellow.
-
The region should get longer (due to changed slope and stretch factors) as the slope is being adjusted. Currently it cuts of the portion of the region at the end and one needs to manually pull the missing portion of the region out at the end. Which doesn't work well too because of the issue below.
-
Basically looks like scripts creates some 'ghost' stretch markers at the end of the region, which in itself is not bad, it is how Stretch markers work in reaper. However, it seems to populate dozens of those 'ghost' stretch markers, which then seem to mess the whole relation between slope end point and the stretch point behind it (as described in issue 1). Also even if the dissapeared region has been retrieved, those numerous ghost stretch markers at the end defeat the purpose, as they completely mess the very end of the region.
My suggested solution for issues 2,3 would be to try to ensure that:
- the region end always moves with the stretched region, instead of being swollen out, due to the length of the region being preserved.
- there is only one 'ghost' marker at the very end and it is the very last thing of that region that moves with the stretch, so that nothing is getting messed up with those numerous auto generated 'ghost' stretch markers. If that is possible.
-
Zoom dependant actions for slope adjustement don't work in a sense that the right hand portion of the region does not at all follow the stretch factor of the end point of the slope (similar to issue 1).
-
2way Actions for slope adjustment (both abs_val and zoom_dependant) don't work as per desired behavior either. The slope gets adjusted, but the stretch factor of the remaining portion of the region on the right does not follow the stretch factor of the slope end point.
Hope that description is understandable. If not I can try to screen capture something. Just not used to it .
Please let me know, if it's possible to correct. Thank you
from reaper_sm_tweaker.
there is a missing dot in the file name of one of those 2way actions though, which prevented it from loading into reaper. Should be 2way.lua , not 2waylua
Ahh my bad for that, I'll take a look into those issues and fix this along the way!
from reaper_sm_tweaker.
Related Issues (11)
- attempt to perform arithmetic on a nil value (local 'right_sm_pos')" error message HOT 1
- edit cursor always go with the SM HOT 2
- edit cursor following SM makes scrubbing sound. HOT 2
- SM and edit cursor hopping over others leads to variant problem HOT 1
- Error message on every action HOT 5
- Mousewheel action based on zoom dependant action HOT 2
- Power undo doesn't work
- configs.lua , stretch_marker_adjuster.lua and stretch_marker_adjuster_closest.lua don't work
- "For midi encoder, besides adding shortcut, set MIDI CC to Relative 2 mode" - Explanation needed! HOT 1
- Error message on all actions when there are multiple items in the project with SM HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reaper_sm_tweaker.