-
Notifications
You must be signed in to change notification settings - Fork 40
Setup
Leah edited this page May 28, 2021
·
3 revisions
- Install VRChat SDK3, UdonSharp, CyanEmu, and the latest release of AudioLink
- 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:
- Drag AudioLink prefab object into scene
- 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.
- Drag AudioLinkController into scene and drag AudioLink into the controller's "Audio Link" parameter.
- 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.
- Click the "Link all sound reactive objects..." button to link everything up.
- Drag AudioLinkAvatar prefab object into scene
- Add your own music to test with
- Add the MP3/audio file somewhere inside of your avatar project's Assets folder (in a subfolder called Media is a good place)
- Drag the file from the project panel in unity into the scene hierarchy. You may want to enable loop on this object.
- Drag the audio file GameObject that was created above into AudioLinkAvatar / Audio Source