Add sound effects, music or a voice to your app
Ask your Agents for sound effects, background music or spoken lines, listen to them in the chat, and have them put into your app.
Your Agents can make three kinds of sound for your app: sound effects from a description, music from a short brief, and spoken lines in a voice you choose. You ask in the project’s chat and listen right there, then the Agents put the sounds in your app. They make them with audiogen, the same way in a cloud Team and in a Team that runs on your Mac.
| Kind | Ask like this | Worth saying |
|---|---|---|
| Sound effect | “A soft click for the buttons” | How long it is, whether it echoes, whether it should loop |
| Music | “Calm background music for the menu” | The mood, the tempo, how long, with or without singing, whether it should loop |
| Voice | “A friendly voice saying ‘Welcome back’” | The exact words, the kind of voice, the language |
Ask for sounds
- Open the project’s chat.
- Say which sounds you need and when each one plays. If you need a set, such as every sound in a game, ask for them all in one message.
- Ask the Agent to send them in the chat so you can listen before they go into the app.
For example:
Make the sounds for the game: a short coin pickup, a jump, a soft "game over" tone, and a cheerful chiptune loop for the main menu, no vocals. Send them here before you add them.For a voice, ask for a few to choose from:
Suggest three voices for the welcome line "Welcome back, let's cook something good" and send a sample of each.If the app speaks another language, say which one.
Listen in the chat
A sound arrives in the chat as a bar with its length, or as a file with a waveform icon. Tap it to play it right there, and tap again to pause.
- Only one sound plays at a time. Starting another one stops the first.
- When a sound has finished, the next tap plays it from the start.
- On iPhone, sounds in the chat play even when the phone is set to silent.
The Agent may ask you to choose with a question card. An option can carry its sound: tap its play button to hear it. Playing a sound doesn’t pick the option. Tap the option itself to choose. See Work with your Agents in chat.
To keep a sound, touch and hold it (on the Mac, right-click it) and choose Save As…. For the other choices, see Send photos, files and sketches to an Agent.
Ask for changes
Answer in plain words and say which sound you mean: “the jump is too long”, “less echo on the click”, “make the music loop without a gap”, “a slower voice”, “try another voice”. The new version arrives as a new message. The earlier ones stay in the chat.
Hear them in your app
A sound in the chat isn’t part of your app yet. Tell the Agent when each one plays:
Add the sounds: the coin plays when a coin is collected, the jump on every jump, and the music loops on the main menu.Once the app is built again, open Preview and use the app. Preview plays your app’s sound, and musical notes float around the device while it plays. If you hear nothing:
- In the device’s Sound menu, check that Device Sound is on. On iPhone and iPad, the Mute tool under the device turns the same sound off and on.
- In the same menu, Volume Up presses the device’s volume button.
- Check your own device’s volume.
See Run your app in Preview and Type, rotate and add devices in Preview.
Making a game? See Make a game.