Update README.md
Browse files
README.md
CHANGED
@@ -43,35 +43,20 @@ for idx, one_wav in enumerate(wav):
|
|
43 |
audio_write(f'{idx}', one_wav.cpu(), model.sample_rate, strategy="loudness", loudness_compressor=True)
|
44 |
```
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
## Samples
|
47 |
|
48 |
-
|
49 |
-
<tr>
|
50 |
-
<td>
|
51 |
-
<audio controls>
|
52 |
-
<source src="./assets/bach.wav" type="audio/wav">
|
53 |
-
Your browser does not support the audio element.
|
54 |
-
</audio>
|
55 |
-
</td>
|
56 |
-
<td>
|
57 |
-
<audio controls>
|
58 |
-
<source src="./assets/bach_guitar.wav" type="audio/wav">
|
59 |
-
Your browser does not support the audio element.
|
60 |
-
</audio>
|
61 |
-
</td>
|
62 |
-
</tr>
|
63 |
-
<tr>
|
64 |
-
<td>
|
65 |
-
<audio controls>
|
66 |
-
<source src="./assets/kalhonaho.wav" type="audio/wav">
|
67 |
-
Your browser does not support the audio element.
|
68 |
-
</audio>
|
69 |
-
</td>
|
70 |
-
<td>
|
71 |
-
<audio controls>
|
72 |
-
<source src="./assets/kalhonaho_trap.wav" type="audio/wav">
|
73 |
-
Your browser does not support the audio element.
|
74 |
-
</audio>
|
75 |
-
</td>
|
76 |
-
</tr>
|
77 |
-
</table>
|
|
|
43 |
audio_write(f'{idx}', one_wav.cpu(), model.sample_rate, strategy="loudness", loudness_compressor=True)
|
44 |
```
|
45 |
|
46 |
+
## Prompt Format
|
47 |
+
|
48 |
+
Follow the following prompt format:
|
49 |
+
|
50 |
+
```
|
51 |
+
{tag_1}, {tag_1}, ..., {tag_n}, {key}, {bpm} bpm
|
52 |
+
```
|
53 |
+
|
54 |
+
For example:
|
55 |
+
|
56 |
+
```
|
57 |
+
hip hop, soul, piano, chords, jazz, neo jazz, G# minor, 140 bpm
|
58 |
+
```
|
59 |
+
|
60 |
## Samples
|
61 |
|
62 |
+
See the [./assets](https://huggingface.co/nateraw/musicgen-songstarter-v0.2/tree/main/assets) folder for some melody conditioned samples 🎶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|