Skip to content
Leah edited this page May 28, 2021 · 3 revisions

Adding AudioLink to a world

Requirements

Installation

  1. Install VRChat SDK3, UdonSharp, CyanEmu, and the latest release of AudioLink
  2. Have a look at the example scene, "AudioLink_ExampleScene". It contains a lot of visual documentation of what is going on and includes several example setups. Or cut to the chase:

Getting started

  1. Drag AudioLink prefab object into scene
  2. Link audio source.
    • for 3D audio with AVPro Video Player, drag the AVPro video player from your scene (the object with the "VRCAV Pro Video Player" component) into AudioLink/AudioLinkInput/VRCAV Pro Video Speaker "Video Player" field and make sure that AudioLink is using AudioLinkInput as its audio source.
    • for 2D audio sources, drag the audio source into AudioLink's audio source field.
  3. Drag AudioLinkController into scene and drag AudioLink into the controller's "Audio Link" parameter.
  4. Add some audio reactive objects
    • AudioReactiveSurface is a Cube with a special shader and an UdonBehaviour attached. This is a highly optimized audio emissive object.
    • AudioReactiveSurfaceArray is an object that can have other objects with AudioReactiveSurface materials applied to it to control several objects at once.
  5. Click the "Link all sound reactive objects..." button to link everything up.

Testing AudioLink locally in avatar projects

Requirements

Getting started

  1. Drag AudioLinkAvatar prefab object into scene
  2. Add your own music to test with
    1. Add the MP3/audio file somewhere inside of your avatar project's Assets folder (in a subfolder called Media is a good place)
    2. Drag the file from the project panel in unity into the scene hierarchy. You may want to enable loop on this object.
    3. Drag the audio file GameObject that was created above into AudioLinkAvatar / Audio Source

Getting Started

Clone this wiki locally