A sound when a button is tapped, or a short piece of music that loops quietly behind a game, can make an app feel finished. You may use sounds and music that someone else made, as long as the licence allows it and you give credit the way the licence asks.
I have pointed students to Freesound for years. Here are some more places to look. Every one of them is free for school work.
Where to look
| Site | Good for | Licence | Credit needed? |
|---|---|---|---|
| Freesound | Sound effects of every kind | Shown on each sound: CC0, CC BY, or CC BY-NC | Depends on the sound |
| Kenney | Game and interface sounds: clicks, coins, jingles | CC0 | No |
| OpenGameArt | Loopable game music and sound effects | Shown on each item; search can be limited to CC0 | Only for CC BY items |
| Pixabay sound effects and Pixabay music | Sound effects and background music | Pixabay’s own licence, not Creative Commons | No |
| Zapsplat | A very large library of sound effects | Zapsplat’s own licence | Yes: with a free account, you must credit ZapSplat |
| Incompetech | Background music by Kevin MacLeod, much of it loopable | CC BY 4.0 | Yes; each track’s page gives the credit line to copy |
| ccMixter | Music by many composers | Shown on each track | Usually |
| Sonniss game audio bundles | Professional sound effects | Royalty-free | No, but the downloads are very large |
For a sound that plays over and over, such as background music, look for words like “loop” or “seamless” in the title or description. A loop is cut so its end runs straight back into its start, with no gap you can hear.
Choose a file type Xcode can play
Download
.mp3,.m4a,.wav, or.aifffiles. Apple’s audio player does not play.oggfiles, and some packs (Kenney’s among them) come as.ogg. Where a site offers more than one format, pick one of the four above.
Reading a licence
Always read the licence on the page you download from, not a summary somewhere else. The ones you will meet most often:
- CC0 (public domain): use it however you like. Credit is not required, but I still want you to give it (see below).
- CC BY (Attribution): use it, and credit the creator.
- CC BY-NC (Attribution, NonCommercial): use it, and credit the creator, but not in anything you sell. School work and an app you give to a client are fine. An app on the App Store for $0.99 is not.
- The site’s own licence (Pixabay, Zapsplat): read what it asks for. Neither lets you share the sound files on their own, outside your app.
- No licence shown: you may not use it. No licence does not mean free to use; it means all rights are reserved.
Giving credit
Credit every sound and every piece of music you did not make yourself, in two places, the same way you acknowledge AI.
In your code
Put a comment right where the sound is loaded. Name the title, the creator, where it came from, and the licence:
// Sound: "click_001" from the Interface Sounds pack by Kenney, from kenney.nl, licensed CC0.
// This sound was made freely available by Kenney.
let clickSoundURL = Bundle.main.url(forResource: "click_001", withExtension: "wav")For music that loops:
// Music: "Carefree" by Kevin MacLeod, from incompetech.com, licensed CC BY 4.0.
// This music was made freely available by Kevin MacLeod.
let musicURL = Bundle.main.url(forResource: "carefree", withExtension: "mp3")The second line of each comment follows the wording College Board suggests for code someone else made available: “This code was made freely available by [source of code].” College Board gives no wording of its own for media, so I have adapted it.
In your README
Add a short section to your project’s README.md listing every sound and piece of music:
## Sound credits
"click_001" from the Interface Sounds pack by Kenney, from kenney.nl, licensed CC0.
"Carefree" by Kevin MacLeod, from incompetech.com, licensed CC BY 4.0.
Button tap sound from ZapSplat (zapsplat.com).What College Board says
For the Create task, College Board’s student handout is clear that sounds count, just as code does:
The use of program code, media (e.g., video, images, sound), data, information, or evidence created by someone else or with generative AI tools in the creation of a program and/or a program code segment(s), without appropriate acknowledgment (i.e., through citation, through attribution, and/or by reference), is considered plagiarism. A student who commits plagiarism will receive a score of 0 on the Create performance task, including their responses to the written response prompts on the end-of-course AP Exam.
Any media or program code that has not been written by you must be cited, and credit must be given to the author.
It also says where the credit goes:
Add comments to your program code to clarify the functionality of program code segments or to acknowledge and credit authors of media, data sources, or program code.
Comments are College Board’s “preferred way to acknowledge and give credit to another author” when the programming environment allows them, and Xcode does. Your credit comments go in the PDF of your program code.
Not in your Personalized Project Reference
The code segments in your Personalized Project Reference must not include any comments at all. Take your screenshots for it without the credit comments. They stay in your program code.
Curriculum connection
IOC-1.F
Explain how the use of computing can raise legal and ethical concerns.
IOC-1.F.1 Material created on a computer is the intellectual property of the creator or an organization.
IOC-1.F.2 Ease of access and distribution of digitized information raises intellectual property concerns regarding ownership, value, and use.
IOC-1.F.3 Measures should be taken to safeguard intellectual property.
IOC-1.F.4 The use of material created by someone else without permission and presented as one’s own is plagiarism and may have legal consequences.
IOC-1.F.5 Some examples of legal ways to use materials created by someone else include:
- Creative Commons—a public copyright license that enables the free distribution of an otherwise copyrighted work. This is used when the content creator wants to give others the right to share, use, and build upon the work they have created.
- open source—programs that are made freely available and may be redistributed and modified
- open access—online research output free of any and all restrictions on access and free of many restrictions on use, such as copyright or license restrictions
IOC-1.F.6 The use of material created by someone other than you should always be cited.
IOC-1.F.7 Creative Commons, open source, and open access have enabled broad access to digital information.
IOC-1.F.8 As with any technology or medium, using computing to harm individuals or groups of people raises legal and ethical concerns.
IOC-1.F.9 Computing can play a role in social and political issues, which in turn often raises legal and ethical concerns.
IOC-1.F.10 The digital divide raises ethical concerns around computing.
IOC-1.F.11 Computing innovations can raise legal and ethical concerns. Some examples of these include:
Link to original
- the development of software that allows access to digital media downloads and streaming
- the development of algorithms that include bias
- the existence of computing devices that collect and analyze data by continuously monitoring activities