Skip to main content
The #sound command bundles audio files into your app so you can play them at specific moments — button taps, notifications, transitions, background music, or anything else that benefits from sound.

What It Does

When you use #sound, the AI:
  1. Adds the audio file to your Xcode project as a bundled resource
  2. Sets up an audio player using AVFoundation
  3. Triggers playback at the moment you describe

Supported Formats

FormatBest forNotes
MP3Music, longer audio clipsCompressed, smaller file size
WAVShort sound effects, UI feedbackUncompressed, higher quality
AIFFHigh-quality audioApple’s uncompressed audio format

How to Use

1

Type #sound in the chat

Type # and select sound from the toolkit popover.
2

Select your audio file

The file picker opens, filtered to MP3, WAV, and AIFF files. Choose the sound you want to add.
3

Describe when to play it

The file appears as an orange chip below the input. Tell the AI when and where to play the sound.
4

Send your message

Press Enter. The AI bundles the audio file and sets up playback logic where you specified.

Example Prompts

Play this sound when a notification arrives
Use this as background music on the home screen
Play this click sound when buttons are tapped
Play this success chime when the user completes a task
Use this as a swoosh transition sound between screens

Tips for Working with Audio

Button taps, swipes, and transitions should use very short audio clips (under 1 second). This keeps the interaction feeling responsive and avoids annoying your users.
If you’re adding background music or audio that’s more than a few seconds, use MP3 to keep the file size manageable. WAV files are uncompressed and can be very large.
Not everyone wants an app that makes noise. If you add sound effects, consider including a mute toggle in your app’s settings.
Use short audio clips for UI feedback. Use MP3 for longer audio to keep file size down.

Where to Find Sound Effects

SourceLicenseNotes
FreesoundVaries (many CC0)Large library of community-contributed sounds
MixkitFreeCurated sound effects, no attribution required
ZapsplatFree with attributionThousands of categorized sound effects
GarageBandRoyalty-freeBuilt into macOS, great for creating your own

Toolkit Overview

See all available # commands and how the toolkit works.

#video — Video Files

Add video content to your app for in-app playback.