Wise Audio Player View on Asset Store (opens in new tab)

Package details

Latest version
1.3.1
Last updated
First released
Unity version
6000.3.2 or later
Package size
4.5 MB
Files
75
Views in the past week
37

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Wise Audio Player

by DevLocker (opens in new tab)

No ratings yet

Simple audio framework that replaces the traditional Unity AudioSource component with a similar one that offers more features and customization.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Wise Audio Player, 6 months Current Free; lowest Free; highest Free in this period. $0 26 Oct 2 Nov

Asset preview

1 / 5

Wise Audio Player screenshot 1

Wise Audio Player screenshot 1

About this asset

>>> GitHub | OpenUPM <<<

Why

The Unity AudioSource component is very limited, and when you want to change a sound you have to hunt down all the prefabs and scenes that reference the old one. To remedy this, Unity added the AudioRandomContainer, which acts as an audio proxy asset that can hold a list of sounds played in a given pattern. Sadly, the UI is terrible and it doesn't give you much flexibility.

You can find a lot of audio manager and toolkit alternatives that solve these issues by placing all sound definitions in a centralized database (prefab or scriptable object) and then playing them by name string. This approach has some disadvantages:

  • Having all sound definitions in one place causes conflicts when collaborating
  • All sounds get loaded into memory along with the database (prefab or scriptable object)
  • It needs a custom editor UI to browse and manage the sounds list, which is usually clunky
  • Using strings to refer to audio assets goes against the Unity way of doing things

To avoid these disadvantages, an audio framework needs to decentralize the sound definitions into separate asset files and just use references to them directly. This is exactly what Wise Audio Player does.

Studios often write their own wrapper around AudioSource like this one, reinventing the wheel. Now you can just use this plugin instead.

Usage

Learn by installing the samples from the Package Manager!

This audio framework revolves around the AudioPlayer component and the AudioPlayerAsset scriptable object. Check the screenshots for visual presentation or the github page for detailed explanation.

  • AudioPlayer - Replacement for the traditional AudioSource component. It can use AudioClips or customizable Audio Player Asset.
  • AudioPlayerAsset - serves as an audio proxy that lets you easily change what and how sounds should be played. Working with audio assets separated from sources helps collaboration. Holds list of conductors that actually play the sound.
  • Conductors - customizable classes that play your sound. There are different types of conductors for different use cases. For example:
    • Collection Conductor - plays a sound picked from a list. Can play them in sequential, shuffle, or random order.
    • Pitch Sequence Conductor - plays the same sound every time, but changes the pitch according to your settings.
    • Intro Then Loop Conductor - plays an intro sound then loops another. Useful for music.
    • Loop Sequence Overlapping Conductor - loops sounds from a list by overlapping them (starts playing the next one before the last one finishes).
  • Conditions - each conductor has a condition that checks whether it should be played, and only the first allowed one is used.
  • Audio Monitor Window - editor window that shows what sounds were played at what time and what distance from the camera.

From the publisher's Asset Store listing.