PB Unity
commited on
Commit
•
4faf71e
1
Parent(s):
6df43b3
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
4 |
+
|
5 |
+
# MusicGen music generation for Unity Sentis format
|
6 |
+
This is the Meta MusicGen model validated for Unity Sentis. This model creates up to 30 seconds of music in the style given by a text prompt.
|
7 |
+
|
8 |
+
## How to run this model
|
9 |
+
* Put the `sentis` and `json` files in the `Assets/StreamingAssets` folder
|
10 |
+
* Put the c# script on the Main Camera
|
11 |
+
* Put an AudioSource on the Main Camera
|
12 |
+
* Change the prompt in the script file
|
13 |
+
* Change the number of seconds in the script file
|
14 |
+
* Press play and check for results in the console window
|
15 |
+
|
16 |
+
## Info
|
17 |
+
This model is a bit slow at the moment. Please use our [discussion forum](https://discussions.unity.com/c/ai-beta/sentis) to discuss this model or suggest improvements to the code.
|