Learning Timeline
Key Insights
Audio Quality Tips
Make sure to hum in a quiet environment. Background noise can interfere with the AI's ability to accurately identify your melody's pitch.
Controlling Creative Output
MusicGen combines both audio (humming) and text inputs. If the resulting audio deviates too far from your original melody, try simplifying your text prompt to give more focus to the audio input.
Prompts
Example Music Style Description
Target:
MusicGen
A high-energy pop rock track with electric guitars, upbeat drums, and a catchy melody.
Step by Step
How to Turn Humming into Music with MusicGen
- Visit the Hugging Face website and search for the 'facebook/MusicGen' or 'MusicGen' Space.
- Locate the 'Melody' or 'Input Audio' section within the interface.
- Click the microphone icon or the 'Record from microphone' button to start recording your voice.
- Start humming your desired melody clearly into the microphone.
- Click the 'Stop' button or the recording icon once you've finished your melody.
- In the 'Description' or 'Prompt' field, type a description of your preferred music style (e.g., '80s synthwave' or 'lo-fi hip hop').
- Click the 'Generate' button to begin the AI processing.
- Wait for the progress bar to reach 100% until the generated audio appears.
- Click the 'Play' button on the audio player to listen to the track composed by the AI.
- Click the 'Download' icon in the corner of the audio player if you wish to save the file.