From e4f4124bc89e8ff85d9476ae2f2fc19b44940652 Mon Sep 17 00:00:00 2001 From: Kenneth Date: Wed, 24 Jul 2024 17:19:03 +0100 Subject: [PATCH] feat: prompt improvement --- generate.py | 10 +++++----- generate_manual.py | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/generate.py b/generate.py index 9751b83..6912c9c 100644 --- a/generate.py +++ b/generate.py @@ -8,11 +8,11 @@ MUSIC_DURATION_SECONDS = 60 model = MusicGen.get_pretrained(MODEL_NAME) model.set_generation_params(duration=MUSIC_DURATION_SECONDS) descriptions = [ - "gentle, calming lo-fi beats that helps with studying and focusing", - "calm, piano lo-fi beats to help with studying and focusing", - "gentle lo-fi hip-hop to relax to", - "gentle, quiet synthwave lo-fi beats", - "morning lo-fi beats", + "Create a futuristic lo-fi beat that blends modern electronic elements with synthwave influences. Incorporate smooth, atmospheric synths and gentle, relaxing rhythms to evoke a sense of a serene, neon-lit future. Ensure the track is continuous with no background noise or interruptions, maintaining a calm and tranquil atmosphere throughout while adding a touch of retro-futuristic vibes.", + "gentle lo-fi beat with a smooth, mellow piano melody in the background. Ensure there are no background noises or interruptions, maintaining a continuous and seamless flow throughout the track. The beat should be relaxing and tranquil, perfect for a calm and reflective atmosphere.", + "Create an earthy lo-fi beat that evokes a natural, grounded atmosphere. Incorporate organic sounds like soft percussion, rustling leaves, and gentle acoustic instruments. The track should have a warm, soothing rhythm with a continuous flow and no background noise or interruptions, maintaining a calm and reflective ambiance throughout.", + "Create a soothing lo-fi beat featuring gentle, melodic guitar riffs. The guitar should be the focal point, supported by subtle, ambient electronic elements and a smooth, relaxed rhythm. Ensure the track is continuous with no background noise or interruptions, maintaining a warm and mellow atmosphere throughout.", + "Create an ambient lo-fi beat with a tranquil and ethereal atmosphere. Use soft, atmospheric pads, gentle melodies, and minimalistic percussion to evoke a sense of calm and serenity. Ensure the track is continuous with no background noise or interruptions, maintaining a soothing and immersive ambiance throughout.", ] diff --git a/generate_manual.py b/generate_manual.py index fd642cd..536e02f 100644 --- a/generate_manual.py +++ b/generate_manual.py @@ -11,11 +11,11 @@ print("obtaining model...") model = MusicGen.get_pretrained(MODEL_NAME) model.set_generation_params(duration=MUSIC_DURATION_SECONDS) descriptions = [ - "gentle, calming lo-fi beats that helps with studying and focusing", - "calm, piano lo-fi beats to help with studying and focusing", - "gentle lo-fi hip-hop to relax to", - "gentle, quiet synthwave lo-fi beats", - "morning lo-fi beats", + "Create a futuristic lo-fi beat that blends modern electronic elements with synthwave influences. Incorporate smooth, atmospheric synths and gentle, relaxing rhythms to evoke a sense of a serene, neon-lit future. Ensure the track is continuous with no background noise or interruptions, maintaining a calm and tranquil atmosphere throughout while adding a touch of retro-futuristic vibes.", + "gentle lo-fi beat with a smooth, mellow piano melody in the background. Ensure there are no background noises or interruptions, maintaining a continuous and seamless flow throughout the track. The beat should be relaxing and tranquil, perfect for a calm and reflective atmosphere.", + "Create an earthy lo-fi beat that evokes a natural, grounded atmosphere. Incorporate organic sounds like soft percussion, rustling leaves, and gentle acoustic instruments. The track should have a warm, soothing rhythm with a continuous flow and no background noise or interruptions, maintaining a calm and reflective ambiance throughout.", + "Create a soothing lo-fi beat featuring gentle, melodic guitar riffs. The guitar should be the focal point, supported by subtle, ambient electronic elements and a smooth, relaxed rhythm. Ensure the track is continuous with no background noise or interruptions, maintaining a warm and mellow atmosphere throughout.", + "Create an ambient lo-fi beat with a tranquil and ethereal atmosphere. Use soft, atmospheric pads, gentle melodies, and minimalistic percussion to evoke a sense of calm and serenity. Ensure the track is continuous with no background noise or interruptions, maintaining a soothing and immersive ambiance throughout.", ] print("model obtained. generating audio...")