Skip to content

r4dian/Un4seen-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Un4seen Unity

Exploring using un4seen BASS to play audio in Unity3D.

Unity's own audio system treats tracker modules as any streaming audio asset. This is a complete waste as it throws out all the good data about what instruments and notes are playing, or any possiblity to modify patterns, rearrange the order or mute certain instruments etc. interactively.

This Repo contains a branch for each of the 3 wrappers for BASS in .NET that I'm aware of:

The master branch is currently equivalent to the BASS.NET branch as that's the only I've got to work properly with the small test I've tried.

The included Unity Project should load a quick .it module I knocked out for testing, play it, and print in the Unity console when it reaches certain positions in the order & the end.

The position tracking only seems to work properly in BASS.NET wrapper though, which is why I've defaulted to using this one. In the other two both trigger all the position synced events at the begining of the song instead, though the end synced event works normally.

BASS.NET has additional licence costs over the others, which are free (after the cost of BASS itself) but I guess that's the cost of getting more feature complete wrapper.

Last Tried in Unity 2020.3.14f1 (d0d1bb862f9d) @ 2021-07-22.

Releases

No releases published

Packages

No packages published

Languages