ホーム 暮らし Making VRChat Worlds AudioLink Compatible (with iwaSync3)

Making VRChat Worlds AudioLink Compatible (with iwaSync3)

雨宮 千夏 雨宮 千夏 • 更新: • 公開: • 読了約 10 分
目次

 Last time I explained how to make a VRChat avatar AudioLink compatible so it glows, but this time I will explain how to make the world itself AudioLink compatible.

 While it is easy to just specify an arbitrary audio file, it would be more practical to have it respond to music playing on a video player. This time, I will set it up so that AudioLink works in sync with the audio source playing in iwaSync3.

※ You need enough knowledge to create and upload a new world. iwaSync works just by placing it, so I think you can figure it out quickly if you look it up as needed.

Prerequisites

n43b5ac6e8dcf

I am using the latest environment as of April 18, 2024.
・VCC 2.2.3
・Unity 2022.3.6f1
・AudioLink 1.3.0
・iwaSync3 v3.6.1

Steps

1. Create a world project in Unity

 First, create a new world as usual.

2. Add AudioLink to the project

 AudioLink is included in the Curated section of Built-In Repositories, so it should be in the list without you having to do anything. Probably. If it is not there, please download and import the Unity Package after creating the project.

 When you add AudioLink and open the project, you will be asked, "Are you sure you want to upgrade?" Since it is a new project, just press "I Made a Backup, Go Ahead!" without worrying. If you are using an existing project, make sure to back it up properly before proceeding.

4. Add AudioLink (and the controller) to the Hierarchy

 If you search for "AudioLink" in the Project window, an AudioLink prefab will appear as shown in the image below, so add this to the Hierarchy.

 Let's also add the controller while we're at it. It works without the controller, but I often use it during testing because it allows you to adjust settings, such as making it glow more easily in specific frequency bands, and view information.

 If you search for "AudioLinkController" in the Project window, something like the image below will appear. Select "AudioLinkController" and add it to the Hierarchy. There is another one called "AudioLinkControllerV0" (the controller on the right side of the image), which is easier to understand because it has item labels (though it lacks various items). However, the logo on the back of the new one is definitely cooler... (it glows). If you don't have a preference, just add the Controller.

5. Add iwaSync3

 I will omit the detailed installation method for iwaSync3, but roughly speaking, download iwaSync3 from here, import the unitypackage, and drag and drop the "iwaSync3" scene into the Hierarchy to add the pre-setup iwaSync3. After that, place it nicely in your existing scene.

 I set it up like this for now.

6. Set iwaSync3 to AudioLink

 As shown in the image below, select the AudioLink you placed earlier, and drag and drop the Audio Source under iwasync3-Speaker into the "Audio Source" field in the Inspector.

Pick a random YouTube video for testing and set it as the Default URL in iwaSync3. This completes the setup.

7. Build and Test

Use the VRChat SDK Control Panel to Build & Test New Build and verify that it works. Since iwaSync3 does not function in ▶(Play) mode, you have to build from the SDK each time, but it is not difficult, and once you have set it up, I do not think you will need to tweak it much...

I apologize for the rough photo, but the logo on the back of the AudioLinkController is indeed lighting up in sync with the audio source from iwaSync3.

Conclusion

This explanation became a bit long because I went into detail, but basically, it works just by setting the audio source for AudioLink, and it should be a similar process when using other audio sources or players.

Now, go ahead and put it in your own home world to help with avatar testing, or build a club world and enjoy. See you later!

同じカテゴリの記事

雨宮 千夏
デジタルマーケター 雨宮 千夏
プロフィールを見る →

アイドルと音楽シーンの取材を担当。公式サイトの公演情報、リリース告知、公開チャートを照合してから構成しています。

おすすめの関連記事