![]() |
#1 |
Human being with feelings
Join Date: Sep 2022
Posts: 262
|
![]()
When I create an automation item and open automation item properties to set the LFO shape to Sine, the envelope looks strange at first. It looks like the sine wave wants to be at half amplitude, then full, then half again; so when I loop the shape, I get a weird "sine" wave.
To make the shape look normal, I always have to first set the Phase to 25. Is this expected? original post: https://forum.cockos.com/showthread.php?p=2739422 |
![]() |
![]() |
![]() |
#2 |
Human being with feelings
Join Date: Mar 2007
Posts: 5,016
|
![]()
Confirming! (v7.05+dev1113, x86, Windows10)
There is a wrong (opposite) curve when going from center to max amplitude at the begining of the item and when negative amplitude back to final center point. (multiple cycles inside the item are correct) The shifting phase can workaround it to look correct, but then the automation values do not start at center (if needed). |
![]() |
![]() |
![]() |
#3 |
Human being with feelings
Join Date: Aug 2023
Posts: 1,004
|
![]()
Edit: I have to correct myself, confirmed for REAPER 7.06 x86_64, Fedora 39.
Steps to reproduce: - Insert automation item - set LFO shape to 'sine' - loop automation item - see the curve is not continuous ![]() Last edited by mindlessgenius; 12-03-2023 at 05:48 AM. |
![]() |
![]() |
![]() |
#4 |
Human being with feelings
Join Date: Aug 2023
Posts: 1,004
|
![]()
Possibly related:
I just tried to make a workaround.
![]() But when I tried to glue it in order to make it loop seamlessly this happened: ![]() Difference: ![]() Similarly with four cycles and just trimming to a single sine cycle, before glue: ![]() Glued: ![]() Difference: ![]() Full imgur post:https://imgur.com/a/dFyhEft Last edited by mindlessgenius; 12-03-2023 at 07:07 AM. Reason: added more screenshots |
![]() |
![]() |
![]() |
#5 |
Human being with feelings
Join Date: Mar 2007
Posts: 5,016
|
![]()
^^^^^ Nice proof with those difference pics, mindlessgenius.
Thank you for contribution to this bug report. |
![]() |
![]() |
![]() |
#6 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,955
|
![]()
Yeah the problem is that REAPER has a sine/cosine envelope point shape, labeled "slow start/end", but not a native half-sine shape, actually we'd need two half-sine shapes. We can approximate these shapes using the same logic that gets applied when you trim an envelope, but as post #4 shows, it's an approximation. We'll think about the best way to handle this.
|
![]() |
![]() |
![]() |
#7 |
Human being with feelings
Join Date: Aug 2023
Posts: 1,004
|
![]()
Does that account for the LFO generator as well?
For glueing/manually drawn curves this seems reasonable, but for something labelled "Sine" in the automation item properties it is somewhat odd to have a different function on both ends. |
![]() |
![]() |
![]() |
#8 | |
Human being with feelings
Join Date: Sep 2022
Posts: 262
|
![]() Quote:
If you start making code changes for this, it may make sense to address this one at the same time: https://forum.cockos.com/showthread.php?t=285804 |
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|