Downloads · 30 days
1
0% of all-time downloads
pharoAIsanders420/micro-musicgen-acid
micro-musicgen-acid is a machine learning model from pharoAIsanders420. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for audiocraft. The card lists the license as mit.
Downloads · 30 days
1
0% of all-time downloads
All-time downloads
282
Public
Repo size
83.9 MB
Likes
2
Public
Click a slice to open those files.
.bin83.9 MB · 96%
From the Hugging Face model README
Curated and trained by Aaron Abebe.

[!WARNING]
WARNING: These models WILL sound bad to a lot of people. The goal is not create pleasant sounding music, but to spark creativity by using the weird sounds of Neural Codecs for music production and sampling!
Micro-Musicgen is a new family of super small music generation models focussing on experimental music and latent space exploration capabilities. These models have unique abilities and drawbacks which should enhance creativity when working with them while creating music.
This is the second entry in the series and is called micro-musicgen-acid. It's trained on different 303 sample packs as well as audio I made with my Behringer TD-3.
If you find this model interesting, please consider:
All samples are from a single run, without cherry picking.
<table style="width:100%; text-align:center;"> <tr> <td> <audio controls> <source src="https://huggingface.co/pharoAIsanders420/micro-musicgen-acid/resolve/main/output_3.wav?download=true" type="audio/wav"> Your browser does not support the audio element. </audio> </td> <td> <audio controls> <source src="https://huggingface.co/pharoAIsanders420/micro-musicgen-acid/resolve/main/output_0.wav?download=true" type="audio/wav"> Your browser does not support the audio element. </audio> </td> </tr> <tr> <td> <audio controls> <source src="https://huggingface.co/pharoAIsanders420/micro-musicgen-acid/resolve/main/output_9.wav?download=true" type="audio/wav"> Your browser does not support the audio element. </audio> </td> <td> <audio controls> <source src="https://huggingface.co/pharoAIsanders420/micro-musicgen-acid/resolve/main/output_8.wav?download=true" type="audio/wav"> Your browser does not support the audio element. </audio> </td> </tr> <tr> <td> <audio controls> <source src="https://huggingface.co/pharoAIsanders420/micro-musicgen-jungle/resolve/main/output_5.wav?download=true" type="audio/wav"> Your browser does not support the audio element. </audio> </td> </tr> </table>Install my audiocraft fork:
pip install -U git+https://github.com/aaronabebe/audiocraft#egg=audiocraft
Then, you should be able to load this model just like any other musicgen checkpoint here on the Hub:
import torchaudio
from audiocraft.models import MusicGen
from audiocraft.data.audio import audio_write
model = MusicGen.get_pretrained('pharoAIsanders420/micro-musicgen-acid')
model.set_generation_params(duration=10)
wav = model.generate_unconditional(10)
for idx, one_wav in enumerate(wav):
# Will save under {idx}.wav, with loudness normalization at -14 db LUFS.
audio_write(f'{idx}', one_wav.cpu(), model.sample_rate, strategy="loudness", loudness_compressor=True)
I sourced the datasets from these royalty free sources: