Design The Sound
How a sound would be played and how it will behave is all set in Entity.
Name
Click the text field to name the entity when it's unfolded.
🔔The name will be used in the SoundID dropdown menu, so a meaningful name is recommended.
Bro Audio Type
The AudioType of the entity, it can be utilized by the API such as SetVolume(AudioType) or SetEffect(AudioType) ...etc. Choose the type that suits your needs.
🔔Changing the AudioType will re-generate a new SoundID, which means the reference to this entity that you've saved in your scene or scriptable object will be gone.
All settings and features in LibraryManager can be utilized without the need for any coding or API usage. Such as randomization, fading, seamless loop...etc.
Clip List
The list that stores all the Audio Clips. Each clip can have different parameter settings, and they will be picked by the PlaybackMode setting when it's played at runtime. The parameters will be shown when one of the clips is selected.
PlaybackMode
When an entity is played, it will follow the rule of the following options to pick an Audio Clip.
Single: always play the first AudioClip.
Sequence: The first playback will be at index 0, the second will be at index 1, and so on. After playing the last AudioClip, the next playback will return to index 0.
Random: It will randomly select one AudioClip based on its weight. Probability is calculated as Weight/Total sum of all weights.
Shuffle: Plays audio clips randomly, ensuring that no clip is repeated until all clips in the list have been played.
Velocity: Play clip by the specified number.
🔔 if there is only one AudioClip, the options won't show, and it will use Single mode
Clip Parameters
Volume The audio volume that the clip will be played. More details on the Volume page.
Playback Position (in seconds)
Start: The starting point of the clip. End: The ending point of the clip. In: The duration time of the fade-in process. Out: The duration time of the fade-out process. Delay: The duration time before the entity plays.
The playback position can be controlled by dragging the icon on the waveform GUI, and the green guiding line could help you see the playback flow more clearly.
Alt + Left-Click on the foldout icon of any entity can expand/collapse all the entities quickly.
Last updated