snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.59k stars 291 forks source link

Added Requested Feature: Writer Audio lerp toggle (take 3) #1005

Open Arylos07 opened 3 years ago

Arylos07 commented 3 years ago

Description

Added a toggle to Writer Audio so the Writer does not lerp audio while writing. This results in the volume being consistent while writing.

Default and prefab Say Dialogs have this enabled so they will lerp audio by default. The user must change the prefab settings or create a custom Say Dialog to make use of this change.

What is the current behavior?

Issue Number: #929

When using a sound such as typewriters or other effects, the lerping audio can cause the sound to change volume rapidly and not sound consistent. This can be replicated by doing the following:

The sound modulates heavily as it stops and stops. With the other voices, it's not heard, but with one consistent sound effect, the effect is noticeable and causes peaks in the audio levels.

What is the new behavior?

Important Notes

Other information

This is a rehash of #934 , but without the stupid mistake that has messed up all of my other PR's. I swear, I know how to use Git.

Setting in editor