wonderunit / storyboarder

✏️ Storyboarder makes it easy to visualize a story as fast you can draw stick figures.
https://wonderunit.com/storyboarder
3.24k stars 301 forks source link

Match board length to audio #2360

Open Kvltvator opened 2 years ago

Kvltvator commented 2 years ago

Hello, I work on music videos and it would be immensely beneficial for me to be able to automatically match the duration of a board to the length of an audio clip. Attempting to match them manually with the precision required for something kinetic as a music video is an absolute PAIN. Alternatively, being able to set the frame rate to something other than the provided constants would be helpful so that I could set the fps to the bpm (or subdivision thereof) and sync things up that way instead of chopping the song into clips. Either feature would be nice! I know a bit about coding so if you could point me in the right direction to attempt to implement those things myself that would also be appreciated.

also, as someone who makes money off of tik tok animations, thank you for providing the vertical option, even if it was as a joke!

Thanks!

audionerd commented 2 years ago

Great suggestions, thanks.

Storyboarder’s "Timeline" view makes editing to audio slightly easier, at least you can see where your board is roughly in comparison to the audio clip. Try that if you haven’t already.

Here’s one simple change you can make to the code (from the unreleased upcoming version of Storyboarder): https://github.com/wonderunit/storyboarder/commit/8b81a25c71d5f7ca46e8d5b8e3d4f7b3968f95c2

With that change, the current audio clip’s exact duration in milliseconds will show on the audio button in the sidebar, e.g.:

audio-button-with-duration-shown

It miiiiight be possible to hand-edit the .fps value in your .storyboarder file to the exact value you want, but I'm not sure if that works reliably. Be sure to work from a test project or project with a backup if you mess with that.