I make presentation software, and we have the ability to export that presentation to a video. Lately, we're trying to add the ability to choose a soundtrack to attach to that exported video. We want the soundtrack to fade in/out.
I'm pretty unfamiliar with the theory behind fade in/out and have some questions so I can understand it.
- What length is optimal? (If you had to choose a single length, what would you choose so it doesn't seem like it's ending the video too early but isn't abrupt either)
- What kind of function do you use to reduce the volume? Is there some common formula or technique to calculate the volume level at a point in the fade?
- How do you deal with situations with really short audio files? For example, a 2 second fade-in and fade-out wouldn't work on a 3 or 4 second audio file? Is there some % we can use or do you just disable it completely?
Thanks in advance for your expertise!