Easy Asset Search

Amplitude for WebGL Audio Analysis

A Unity package for analyzing audio amplitude and frequency data on WebGL platforms, providing a clean and simple custom Inspector and leveraging the Web Audio API.
Amplitude for WebGL Audio Analysis Asset Image A Unity package for analyzing audio amplitude and frequency data on WebGL platforms, providing a clean and simple custom Inspector and leveraging the Web Audio API.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost.
$30
Category:
ToolsAudio
Developer:
Crazy Minnow Studio, LLC
Price:
$30
Rating:
(96 reviews)
Favorites:
55
Supported Unity Versions:
2019.4.1 or higher
Current Version:
1.2.4
Download Size:
160.03 KB
Last Update:
Jun 8, 2023
Description:
Amplitude is a Unity3D asset that provides access to audio amplitude and frequency data on WebGL platforms, where the Unity API does not. It offers a clean and simple custom Inspector and leverages a standard Unity AudioSource component. The custom inspector communicates with a native JavaScript library, allowing it to make function calls directly against the underlying web browser's Web Audio API.

To use Amplitude, simply add the component, link your Unity AudioSource to the Amplitude AudioSource field, set the Data Type (Amplitude or Frequency), set the sample size, and set an amount of boost if desired. Play your audio using the normal Unity AudioSource API. While your audio is playing, Amplitude exposes a float array of the size you specified, an average, and a max. The values range from -1 to 1 for amplitude, and 0 to 1 for amplitude absolute values or frequency.

Amplitude supports Unity & Unity Pro on the WebGL platform, working in Google Chrome, Firefox, Opera, Microsoft Edge, and Vivaldi. It does not work in IE or Safari. Additionally, a free downloadable Beat Detect add-on is available for setting up amplitude average level triggers or level triggers isolated by frequency, great for beat detection.
Technical Details:
Three builds to support Unity versions from 2019.4.1 through 2023+. Works with SALSA LipSync Suite, AmplitudeSALSA, Beat Detect, and RT-Voice (runtime text-to-speech) when combined with SALSA LipSync Suite.
Continue »

Similar Packages