Introduction
In this article, show you how to add background music of world.
This is the simplest way to implement background music
![](https://signyamo.blog/wp-content/uploads/2022/04/image-99-1.jpg)
I will proceed on the assumption that world exists.
(World SDK3, assuming Udon Sharp already implemented.)
![](https://signyamo.blog/wp-content/uploads/2022/05/image-69.jpg)
※The writer is Japanese and translates using DeepL.
There may be some strange translations.
Install BGM player
↓Access this page
![](https://signyamo.blog/wp-content/uploads/cocoon-resources/blog-card-cache/338968d5bed5ebe2e790ee37c0aa0636.jpg)
Select the language button in the upper right corner.
Translate Booth Web page into English.
![](https://signyamo.blog/wp-content/uploads/2022/06/image-01-9.jpg)
Please Click [Free Download]
![](https://signyamo.blog/wp-content/uploads/2022/06/image-01-26.jpg)
All Extract the DL Zip.
![](https://signyamo.blog/wp-content/uploads/2022/06/image-03-24.jpg)
Drag and drop the .unitypackage inside to the world’s Project.
![](https://signyamo.blog/wp-content/uploads/2022/06/image-04-23.jpg)
Make sure everything is checked.
Select Import.
![](https://signyamo.blog/wp-content/uploads/2022/06/image-02-26.jpg)
Open Project → Assets → Sandman42292 → SimpleMusicPlayer.
Select SimpleMusicPlayer.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-90-2.jpg)
Drag & Drop SimpleMusicPlayer into the Hierarchy
Press the Y key.
Adjust position and rotation.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-91-1.jpg)
This completes the introduction of the BGM player.
Get BGM data
Download BGM from any material site.
In this case, we downloaded from this site.
![](https://signyamo.blog/wp-content/uploads/cocoon-resources/blog-card-cache/c3ad0d22604edde7c73b4421a7d35979.png)
Read the Terms of Use and Download.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-92-1.jpg)
This completes the get BGM data.
Add BGM
Drag and drop the downloaded BGM data into Project.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-93-1.jpg)
Click SimpleMusicPlayer in the Hierarchy.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-131-1.jpg)
Check Inspector.
Drag and drop BGM data into the music clips.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-97-1.jpg)
This completes the add BGM.
If Music Clip is not displayed
If you import SimpleMusicPlayer → Udon Shape in that order, the Music Clip may not be displayed.
In this case, it is because Program Source is set to None.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-94-1.jpg)
Opne Project → Assets → Sandman42292_SimpleMusicPlayer → UdonScripts.
Check program file.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-95-1.jpg)
Drag and drop “None of Program Source” this Program file.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-96-1.jpg)
This completes the Music Clip display.
Check operation
Upload VRChat.
use Build & Test.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-98-2.jpg)
You will can BGM play at VRChat world.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-99-1.jpg)
This completes the Check operation.
Copyright Notation
Some BGM materials require a license statement in the Terms of Use.
To deal with this, launch the VRChat web page.
Select World → Mine → Uploaded World.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-100-1.jpg)
Select Edit.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-101-1.jpg)
Put a description of the world in the “Description” field.
After that, put a copyright notice separated by / and so on.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-102-1.jpg)
Scroll down.
Click on Update World.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-103-1.jpg)
You now have a copyright notice.
![](https://signyamo.blog/wp-content/uploads/2022/04/image-104-1.jpg)
Ending
In this article, we showed you how to turn certain objects on and off in the quiz.
Other useful know-how for VRChat world production is also explained.
Please take a look at this page as well.
コメント