patrickvonplaten
commited on
Commit
•
c19300a
1
Parent(s):
7f23237
Update README.md
Browse files
README.md
CHANGED
@@ -57,7 +57,6 @@ descriptions = ['happy rock', 'energetic EDM', 'sad jazz']
|
|
57 |
|
58 |
wav = model.generate(descriptions) # generates 3 samples.
|
59 |
|
60 |
-
wav = model.generate_with_chroma(descriptions, melody[None].expand(3, -1, -1), sr)
|
61 |
for idx, one_wav in enumerate(wav):
|
62 |
# Will save under {idx}.wav, with loudness normalization at -14 db LUFS.
|
63 |
audio_write(f'{idx}', one_wav.cpu(), model.sample_rate, strategy="loudness")
|
|
|
57 |
|
58 |
wav = model.generate(descriptions) # generates 3 samples.
|
59 |
|
|
|
60 |
for idx, one_wav in enumerate(wav):
|
61 |
# Will save under {idx}.wav, with loudness normalization at -14 db LUFS.
|
62 |
audio_write(f'{idx}', one_wav.cpu(), model.sample_rate, strategy="loudness")
|