Skip to content

Instantly share code, notes, and snippets.

@keijiro
Last active September 14, 2017 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keijiro/a32dee279da6973dcf9c2d16b5308746 to your computer and use it in GitHub Desktop.
Save keijiro/a32dee279da6973dcf9c2d16b5308746 to your computer and use it in GitHub Desktop.

Related Projects

LASP Loopback - A special build that supports analyzing audio output from Unity instead of external audio sources. This is useful to create audio reactive behaviors with internal audio sources.

TIPS

LASP Loopback can be used as a substitute of the LASP plugin. It analyzes audio output from Unity instead of external audio sources. This is useful to create audio reactive behaviors with internal audio sources.

LASP Loopback

LASP Loopback is an experimental build of LASP that allows Unity apps analyzing its audio output via a custom mixer effect.

For details of the LASP plugin, please check the original branch.

System Requirements

  • Unity 2017.1 or later

At the moment, LASP only supports desktop platforms (Windows, macOS and Linux).

Installation

  1. The original version of LASP has to be removed for avoiding conficts. Remove Assets/Lasp diretory if the project has already installed the original version of LASP.
  2. Download the unitypackage file and import it to the project.

How To Use

LASP Loopback uses a custom audio effect to route audio signals into the plugin. This audio effect has to be added to one of audio tracks in an audio mixer used in the scene. In typical use-cases, it's to be added to the output of the master track.

fig

In case of not having any audio mixer in the project, it should be added before using the plugin.

The functionalities provided with LASP Loopback are almost the same to the original LASP plugin. Please refer to the documentation in the original branch for further usage.

TIPS

LASP Loopback can be used with KlakLASP -- Just install the LASP Loopback package before KlakLASP, or if the original LASP package has already been installed, remove the original one and reinstall this one.

Current Limitations

  • LASP loopback can't be used with the original version of LASP simultaneously.
  • The latency of LASP Loopback depends on the audio buffer size of Unity's audio engine. In most cases it's larger than the original LASP, so that the low-latenciness of Loopback may be worse than it.

License

MIT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment