Unitune
Mathieu Philippe
$24.00
(no ratings)
Date |
Price |
---|---|
Date |
Price($) |
09/27(2024) |
24.0 |
09/27(2024) |
12.0 |
10/11(2024) |
24.0 |
11/22(2024) |
24.0 |
Jump AssetStore
A WebGL-compatible and easy-to-use tracker music player for Unity.
Huge soundtrack, tiny build size!A WebGL-compatible easy-to-use tracker music player.Huge soundtrack, tiny build size!When working on a retro WebGL game for a client, I realized that the majority of the build size was due to the music files.While we were using tracker music, as Unity natively supports the most common formats, they are converted to AAC when targeting WebGL.This translated to a 1000% increase in our expected build size. 😱It motivated me to develop a solution: Unitune, a tracker player that converts module files to AudioClips at runtime.Thanks to its generative nature, it will give you more control over your music at runtime while keeping your build size as tiny as possible.Website - Documentation - Scripting Reference - Github Issues - Discord Unitune includes some third-party libraries:Libopenmpt under MIT Licensestb_vorbis under MIT License OR Public domainminiz under MIT Licenseminimp3 under CC0 1.0 UniversalSee the "Third-Party Notices.txt" file in the package for details.Key FeaturesOptimize the build size of your music files thanks to the module format.Over 50 tracker music formats are supported.Custom importer with audio preview.One simple-to-use component.Finetune the audio output with many settings.Add support to subsongs, allowing incredible build size optimization.Rely on Unity's AudioSource component to ensure a consistent workflow.CompatibilityUnity 2022.1 and upward.Compatible out of the box with WebGL, Windows and Linux.MacOS compatibility is untested but should work via the Linux plugin as well.Other platforms can be supported by building Libopenmpt.