Simple Audio Library for Unity
A simple solution for managing audio in Unity at runtime, supporting WAV, MP3, and OGG formats.

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost. $29.99
- Category:
- Tools › Audio
- Developer:
- Hippo
- Price:
- $29.99
- Favorites:
- 11
- Supported Unity Versions:
- 2020.3.32 or higher
- Current Version:
- 1.1
- Download Size:
- 3.60 MB
- Last Update:
- Oct 2, 2022
- Description:
- The Simple Audio Library is a comprehensive solution for managing audio in Unity at runtime. It provides a range of features, including loading and saving audio clips, cutting and trimming audio, changing frequency and speed, and reading meta data from audio files. The library supports WAV, MP3, and OGG formats, and is compatible with Unity 2019, 2020, 2021, and 2022. It also includes methods for creating audio histograms and sprites.
The library includes the following features:
* Loading and saving audio clips
* Cutting and trimming audio clips
* Changing frequency and speed
* Reading meta data from audio files
* Creating audio histograms and sprites
The library is compatible with Unity 2019, 2020, 2021, and 2022, and supports WAV, MP3, and OGG formats. It also includes methods for creating audio histograms and sprites.
The library uses the Lame and TagLib# libraries under the MIT and LGPL-2.1 licenses, respectively. Support is available through a live chat with the developers. - Technical Details:
- The library includes the following methods:
* Load: Synchronously loads an audio clip from the specified path and returns an AudioClip instance.
* LoadAsync: Asynchronously loads an audio clip from the specified path and returns an AudioClip instance in a callback.
* SaveToWav: Saves an AudioClip as a Waveform Audio File (WAV) and returns a byte array.
* SaveToMp3: Saves an AudioClip as an MP3 and returns a byte array.
* Copy: Copies an AudioClip and returns a new AudioClip instance.
* Cut: Cuts an AudioClip by start and end time given (in seconds) and returns a new AudioClip instance.
* TrimSilence: Removes silence (empty samples) from the beginning and from the end of an AudioClip and returns a new AudioClip instance.
* ToMono: Forces an AudioClip (with 2 channels) to mono and returns a new AudioClip instance.
* SetSampleRate: Changes an AudioClip frequency and returns a new AudioClip instance.
* SetSpeed: Changes an AudioClip playback speed and returns a new AudioClip instance.
* ReadMeta: Reads ID3 tags from audio files.
* CreateHistogramTexture: Creates a histogram for an AudioClip and returns a Texture2D instance.
* CreateHistogramSprite: Creates a sprite for an AudioClip and returns a Sprite instance.
The library is compatible with Unity 2019, 2020, 2021, and 2022, and supports WAV, MP3, and OGG formats. - Continue »