Intermediate

MusicFX & AudioFX

Create AI-generated music and sound effects from simple text descriptions. Explore genres, moods, DJ mode, and creative audio applications.

What is MusicFX?

MusicFX is Google's AI music generation experiment that creates original music tracks from text descriptions. Powered by Google DeepMind's music generation models (including Lyria), MusicFX can produce music in virtually any genre, mood, or style - all from a few words of description.

Whether you need background music for a video, a beat for a creative project, or just want to explore AI-generated music, MusicFX makes it accessible to everyone regardless of musical training.

Creating Music from Text

To generate music with MusicFX, you write a text description (prompt) that describes the kind of music you want. The more descriptive your prompt, the better the results.

  1. Open MusicFX

    Navigate to MusicFX from the Labs.Google homepage or go directly to the experiment.

  2. Write Your Prompt

    Describe the music you want to hear. Include genre, mood, instruments, tempo, and any other musical characteristics.

  3. Generate

    Click Generate. MusicFX will produce several variations of your described music, typically 20-30 second clips.

  4. Listen and Iterate

    Preview each variation. If you like a track, download it. If not, refine your prompt and generate again.

Example Music Prompts
# Simple prompt
Upbeat jazz piano with brushed drums

# Detailed prompt
Chill lo-fi hip hop beat, warm vinyl crackle,
mellow piano chords, soft boom-bap drums,
rainy day vibes, 85 BPM

# Genre-specific prompt
Epic orchestral soundtrack, sweeping strings,
French horns, timpani rolls, building to a
dramatic crescendo, cinematic and heroic

Genre, Mood, and Instrument Controls

Effective music prompts combine several musical dimensions:

Genre Keywords

Category Genre Keywords
Electronic EDM, techno, house, ambient, synthwave, drum and bass, dubstep, trance
Acoustic Folk, acoustic guitar, fingerpicking, bluegrass, country, Americana
Classical Orchestral, chamber music, piano sonata, baroque, romantic era, minimalist
Urban Hip hop, R&B, trap, lo-fi, boom bap, neo-soul, funk
Rock Classic rock, indie rock, punk, metal, grunge, progressive rock, post-rock
World Bossa nova, afrobeat, reggae, flamenco, Celtic, Middle Eastern, Indian classical

Mood Descriptors

Use mood keywords to set the emotional tone of your generated music:

  • Energetic: upbeat, driving, powerful, intense, euphoric, pumping
  • Calm: peaceful, serene, meditative, tranquil, relaxing, soothing
  • Dark: ominous, brooding, haunting, suspenseful, eerie, melancholic
  • Happy: joyful, celebratory, playful, whimsical, cheerful, sunny
  • Cinematic: epic, dramatic, sweeping, triumphant, emotional, grand

Instrument Specifications

Naming specific instruments helps MusicFX create more targeted compositions:

  • Keyboards: piano, Rhodes, organ, synthesizer, harpsichord, celesta
  • Strings: violin, cello, acoustic guitar, electric guitar, bass, harp, ukulele
  • Percussion: drums, brushed drums, congas, bongos, timpani, marimba
  • Wind: saxophone, trumpet, flute, clarinet, French horn, trombone
  • Electronic: synthesizer, vocoder, drum machine, sampler, theremin

DJ Mode

MusicFX includes a DJ Mode that lets you interactively shape music in real time:

  • Real-time mixing: Adjust musical elements on the fly as the music plays.
  • Prompt blending: Transition between different musical descriptions seamlessly.
  • Interactive controls: Modify tempo, energy level, and instrument balance during playback.
  • Extended sessions: Create longer musical experiences by chaining prompts together.
Tip: DJ Mode is great for live events, background music during streams, or for exploring how different musical descriptions blend together. Start with a base prompt and gradually modify it to create evolving soundscapes.

Loop Creation

For music producers and content creators, MusicFX can generate loops - short musical phrases designed to repeat seamlessly:

Loop-Oriented Prompts
# Drum loop
Tight funk drum loop, 110 BPM, crisp snare,
syncopated hi-hats, deep kick drum

# Melodic loop
Dreamy synth arpeggio loop, C minor, ambient
pads, slow evolving filter sweep

# Bass loop
Groovy bass guitar riff loop, slap bass style,
funky and rhythmic, 100 BPM

AudioFX: Sound Effects

AudioFX is a companion experiment focused on generating sound effects rather than music. It is ideal for:

  • Video production: Create custom sound effects for films, animations, or YouTube videos.
  • Game development: Generate unique sounds for game environments, actions, and UI elements.
  • Podcasts: Add transitions, stingers, and ambient backgrounds to audio content.
  • Presentations: Enhance slides and demos with custom audio elements.
AudioFX Prompt Examples
# Environment sounds
Rainforest ambience, distant thunder, tropical
birds, light rain on leaves

# Action sounds
Sci-fi laser blast, energy charging up then
releasing, electronic and powerful

# UI sounds
Soft notification chime, pleasant and brief,
crystal clear bell tone

Downloading and Using Generated Audio

All audio generated by MusicFX and AudioFX can be downloaded for use in your projects:

  • Format: Audio is typically downloadable as WAV or MP3 files.
  • Quality: Generated audio is produced at high quality suitable for most production workflows.
  • Metadata: Downloaded files include metadata indicating they were AI-generated.
  • Usage rights: Review Google's terms of service for the latest information on how you can use generated audio in personal and commercial projects.
Important: AI-generated music should not be used to imitate specific artists or copyrighted songs. MusicFX is designed to create original compositions, not replicate existing music. Prompts requesting specific artist imitation may be blocked.

Creative Applications

Here are some practical ways to use MusicFX and AudioFX in your workflow:

🎥

Video Soundtracks

Generate background music for YouTube videos, social media content, or short films without worrying about licensing.

🎧

Podcast Intros

Create unique intro and outro music for podcasts. Generate transition sounds and ambient beds for different segments.

🎮

Game Audio

Prototype game soundtracks and sound effects. Generate ambient music for different game environments quickly.

💡

Brainstorming

Use MusicFX to explore musical ideas quickly. Generate reference tracks for musicians or producers as starting points.

Ready to Go Deeper?

Live instructor-led courses from our partners. Affiliate disclosure.