Prompt
import udio
# Set the style explicitly to avoid default techno and ensure it matches an epic orchestral style
style = "epic orchestral"
# Set up tempo and time signature
tempo = 85 # Epic, moderate pace
time_signature = (4, 4) # Common time for a steady and powerful rhythm
# Define the instruments explicitly for orchestral style
instruments = {
"strings": "Epic Strings",
"drums": "Cinematic Drums",
"pads": "Enchanting Pads",
"vocals": "Epic Choir",
"lead_vocals": "Powerful Lead Voice",
"synths": "Ambient Synths",
"piano": "Grand Piano",
}
# Chord Progressions
verse_chords = ["C", "G", "Am", "F"]
pre_chorus_chords = ["F", "G", "Am", "G"]
chorus_chords = ["F", "G", "C", "Am", "F", "G", "Am", "F"]
bridge_chords = ["Am", "G", "F", "C", "F", "G", "Am", "F"]
# Lyrics for each section
lyrics = {
"verse1": """
In the world we know, it’s hard to see what’s real,
But when we quest together, the future is revealed,
A spark ignites the skies, magic everywhere,
Beyond the veil of life, something’s waiting there.
""",
"pre_chorus": """
Step into the unknown, we’ll shatter what we see,
In the Realm of Possibilities, where we are meant to be.
""",
"chorus": """
Trust in the path ahead,
Where reality bends,
Together we rise and see,
A world beyond the dream.
Dream and create your fate,
Together we resonate,
In the Realm of Possibilities,
We’ll find our destiny.
""",
"verse2": """
In this enchanted land, our strength will light the way,
With every step, every bond, we turn the night to day.
Working together, side by side, unlocking what’s in store,
The Realm of Possibilities will show us even more.
""",
"bridge": """
And when the world grows dark, and doubt begins to rise,
We’ll forge ahead with hearts of fire, beneath enchanted skies.
Through the storms, we’ll stand as one,
Stronger than the setting sun.
Together we will face the dawn,
In the realm where we belong.
""",
"final_chorus": """
Trust in the path ahead,
Where reality bends,
Together we rise and see,
A world beyond the dream.
Dream and create your fate,
Together we resonate,
In the Realm of Possibilities,
We’ll find our destiny.
In the Realm of Possibilities,
We’ll claim our victory!
"""
}
# Song Structure: Assign lyrics and instruments to each section
structure = [
{"section": "intro", "instruments": ["strings", "pads"], "progression": ["C", "F", "Am", "G"], "length": 8},
{"section": "verse1", "instruments": ["piano", "lead_vocals"], "progression": verse_chords, "lyrics": lyrics["verse1"], "length": 16},
{"section": "pre_chorus", "instruments": ["strings", "synths", "vocals"], "progression": pre_chorus_chords, "lyrics": lyrics["pre_chorus"], "length": 8},
{"section": "chorus", "instruments": ["lead_vocals", "drums", "choir"], "progression": chorus_chords, "lyrics": lyrics["chorus"], "length": 16},
{"section": "verse2", "instruments": ["strings", "drums", "lead_vocals"], "progression": verse_chords, "lyrics": lyrics["verse2"], "length": 16},
{"section": "pre_chorus", "instruments": ["synths", "vocals"], "progression": pre_chorus_chords, "lyrics": lyrics["pre_chorus"], "length": 8},
{"section": "chorus", "instruments": ["lead_vocals", "choir", "drums"], "progression": chorus_chords, "lyrics": lyrics["chorus"], "length": 16},
{"section": "bridge", "instruments": ["piano", "strings", "lead_vocals"], "progression": bridge_chords, "lyrics": lyrics["bridge"], "length": 8},
{"section": "final_chorus", "instruments": ["drums", "choir", "lead_vocals"], "progression": chorus_chords, "lyrics": lyrics["final_chorus"], "length": 16},
{"section": "outro", "instruments": ["strings", "pads"], "progression": ["C", "F", "Am", "G"], "length": 8}
]
# Create the song with the defined style
song = udio.Song(
tempo=tempo,
time_signature=time_signature,
instruments=instruments,
structure=structure,
style=style # Specify the style here
)
# Output the song with lyrics and music
song.compose()
song.play()