AI Hints
Home›Generative AI Tutorial›Voice, Music, Video and Multimodal AI
Generative AI · Lesson 47 of 77

Music and Sound

How AI makes audio.

⏱ 2 min read▶ Video at 1:47:58🎓 Free
Watch this lesson in the Generative AI courseWatch on YouTube ↗Full Generative AI course

Music is patterns in time, which is exactly what these models are good at. Today, you can describe a song in words, and receive a finished track. In this lesson, you will learn how it works, and what it means for musicians, and listeners.

Music and Sound
From the video: Music and Sound
  • Music is patterns in time
  • From a sentence to a song
  • What it means for creators

How models create audio

There are two main ways. Some models treat sound like language. They split audio into small pieces, called audio tokens, and predict the next token, again and again, just like a text model. Others use diffusion, starting from noise, and shaping it into sound, guided by your description. Either way, the model has learned from enormous collections of recorded music, and sound.

  1. Describe ita calm piano piece for studying
  2. Audio tokens or noisetwo main approaches
  3. Predict and refinetoken by token or step by step
  4. Decode to audioa finished track
Audio can be predicted like text
How models create audio
From the video: How models create audio

What can be created

The range is wide. Full songs, with vocals and lyrics. Background music for videos and games. Sound effects, like rain, footsteps, or a door creaking. Voice overs in many languages. And tools that separate a song into vocals, drums, and bass. Many creators use these tools for drafts, and ideas, then polish the results by hand.

Songswith vocals and lyrics
Background musicfor videos and games
Sound effectsrain, footsteps, doors
Stem separationvocals, drums and bass apart

Questions about music and ownership

This area raises hard questions. Were the models trained on music, with permission? Who owns a song, that a machine helped create? How should artists be paid, when their style is imitated? Laws, and industry agreements, are still catching up. A sensible approach, for now, is to read the terms of any tool, credit the use of A I, and respect artists, and their work.

Open questions

  • Was training data licensed?
  • Who owns the result?
  • How are artists paid?
  • Laws are still evolving

Sensible habits

  • Read the tool's terms
  • Credit the use of AI
  • Support human artists
  • Avoid copying a living artist's voice

Summary

Good. Audio models predict sound tokens, or denoise audio, guided by text. They can create songs, effects, and voice overs, and raise real questions about rights. Next, the most demanding challenge of all, video.

Key takeaways
  • Audio tokens or diffusion
  • Songs, effects, voice-overs, stems
  • Respect rights and read the terms
Next up: AI Video — from a sentence to a moving picture