astrofox icon indicating copy to clipboard operation
astrofox copied to clipboard

Sound Wave width resets when rendering video

Open DominikNovosel opened this issue 2 years ago • 10 comments

In editor before: image

Video settings: image

Rendering panel (note that the sound wave shows at the correct width for a short while first): image

In editor after (note that the width value didn't change): image

In editor after changing and re-entering value: image

Console log and finished video, just in case: -1650485390082.log https://upload.disroot.org/r/DXQWUJve#5tn2z4z4KYXUaJmgEXquve0lRYu5LDqN8tunYXQwBDw=

DominikNovosel avatar Apr 20 '22 20:04 DominikNovosel

Can you send me the project file so I can take a look?

mikecao avatar Apr 28 '22 07:04 mikecao

Can you send me the project file so I can take a look?

mikecao avatar Apr 28 '22 07:04 mikecao

Hi, sorry for the late reply. Here you go: Orinoco flow.zip

DominikNovosel avatar May 01 '22 08:05 DominikNovosel

The issue seems to have been resolved in the newest release:

https://user-images.githubusercontent.com/66269443/172943918-a438c95c-f2bd-4fbd-9571-dc11380d607f.mp4

If you have nothing to add, you may close this issue.

DominikNovosel avatar Jun 09 '22 21:06 DominikNovosel

I am also seeing this behavior in v1.4.0. The wave is fine in the preview, attempting to render causes strange/different behavior, and it "sticks" in the preview until the width is manually reset (even if to the same value.) Let me know how I can help debug.

mahlonsmith avatar Jul 09 '22 03:07 mahlonsmith

Before rendering: 2022-07-08_20-43

After a render attempt, same section of music: 2022-07-08_20-44

Twiddle with width, all good again for the preview.

mahlonsmith avatar Jul 09 '22 03:07 mahlonsmith

https://www.instagram.com/p/Cf0tspcFKio/ here i have the same problem with version 1.4.0

ehsanpo avatar Jul 15 '22 13:07 ehsanpo

Also experiencing this. When I load into a project with a complex sound wave, the width resets upon trying to restore the smoothness of the soundwave (as that isn't saved properly in the preview)

Easy fix: forgo editing the soundwave at all and it should render fine.

glassglue avatar Jul 19 '22 23:07 glassglue

Can confirm this bug on Astrofox 1.4.0 Mac build.

Perhaps this line isn't behaving as expected?

https://github.com/astrofox-io/astrofox/blob/7fb14ef8e8ee698b5011a24771e8e955dce62203/src/canvas/CanvasWave.js#L19

brylie avatar Aug 12 '22 10:08 brylie

That would make sense -- maybe default properties aren't being saved correctly? I'll take a look and see what I can find.

glassglue avatar Aug 14 '22 17:08 glassglue