Skip to content

Ears for coding agents: let AI hear, review and make sound. CPU-only, open source.

7.2 KB
Raw Blame

Licences: what may go into a film, how to verify it, how to credit it

A launch video is commercial use, it is edited (trimmed, layered, synced to picture: legally a derivative), and it is published on platforms that scan audio. Every recording in the film needs a licence that allows all three, read on the item's own page, recorded in its manifest, confirmed by the licence audit and credited. When in doubt, leave it out: there is always another recording.

Allowed / forbidden

licence status why credit
CC0 1.0, Public Domain Mark allowed no conditions courtesy only
CC BY 4.0 / 3.0 / 2.5 / 2.0 allowed commercial use and edits allowed with attribution REQUIRED (title, author, source link, licence link, "edited")
Mixkit Sound Effects Free License / Stock Music Free License allowed free for commercial video, no attribution; read the current text at https://mixkit.co/license/ courtesy only; never redistribute the raw files, never register the film with Content ID
Pixabay Content License allowed free for commercial use, no attribution (Pixabay blocks scripted access: the user downloads by hand) courtesy only
CC BY-NC (any version) forbidden NonCommercial: a launch video is commercial
CC BY-ND forbidden NoDerivatives: trimming and syncing to picture are derivatives
CC BY-SA forbidden ShareAlike: the whole film would have to be released under CC BY-SA
Sampling+, Sampling forbidden retired, restrictive
"personal use", "editorial", "custom", "free with credit on social media", all rights reserved forbidden not a standard licence the audit can trust
two sources disagree ("DISPUTED") forbidden the strictest reading wins: reject it
"royalty free" with no licence text, YouTube rips, anything behind a login or paywall you would bypass, AI-generated or code-synthesized audio not used unknown terms, or not a real recording

scripts/licences.py encodes this table (classify()); audit.py and credits.py use it.

Verify on the item's own page (never from a search result, an aggregator or memory)

Freesound (most foley, ambiences, whooshes):

  • The page is https://freesound.org/people/<user>/sounds/<id>/; the licence is in the sidebar of THAT page ("Creative Commons 0", "Attribution 4.0", "Attribution NonCommercial 4.0" ...). Licences are per sound, not per user.
  • Record: licence text as shown, page author, title, the date you read it (licence_seen in audit.json).
  • Originals need a login; the public high-quality preview is https://cdn.freesound.org/previews/<id // 1000>/<id>_<user_id>-hq.ogg (Ogg Vorbis, about 192 kbps; -hq.mp3 also exists). <user_id> is the uploader's number: it must belong to the same page. audit.py checks that the id in the entry, the page and the preview URL agree.
  • Read the description: some authors ask for a specific credit form (e.g. " by <name> (<a href="http://www.site">www.site</a>) of Freesound.org"), or forbid putting raw files online. Copy the requested form into the manifest's <code>attribution</code> and any restriction into the audit's <code>agent_notes</code>.</li> </ul> <p><strong>Mixkit</strong> (lossless WAV effects, some music):</p> <ul> <li>No per-item page exists for sound effects: record the category page that lists the item and its title there.</li> <li>WAV download: <code>https://assets.mixkit.co/active_storage/sfx/<id>/<id>.wav</code>. Read the licence text itself (<a href="https://mixkit.co/license/">https://mixkit.co/license/</a>) once per session and quote what it allows in <code>licence_seen</code>.</li> <li>Do not publish the raw assets folder; do not register the film's audio with Content ID or a rights-management service.</li> </ul> <p><strong>Music sites</strong> (one licensed track carries the film):</p> <ul> <li>Composer libraries that release CC BY music (e.g. Scott Buckley, scottbuckley.com.au): the licence line is on the track's page; many ask for a specific credit line: use it verbatim.</li> <li>Aggregators (chosic.com and similar) are not authoritative: confirm on the artist's own page. A real case: an aggregator listed a track as CC BY 3.0 while the artist's page said "free with credit on social media" (copyrighted): rejected as disputed.</li> <li>Free Music Archive, Internet Archive, SoundCloud: the licence is per track and often NC or ND: read it every time.</li> <li>YouTube Audio Library, platform libraries: terms tied to one platform: ask the user before using.</li> </ul> <p><strong>Pixabay</strong>: scripted downloads are blocked (bot protection). If a Pixabay item is the best choice, give the user the page link and ask them to download it into the assets folder; then audit it like any other file.</p> <h2>Attribution (CC BY)</h2> <p>A complete credit names the Title, the Author, the Source (link to the item page), the Licence (name + link) and says it was modified. The manifest's <code>attribution</code> holds the line the author asked for (or this default):</p> <pre><code>"Rain on Windows, Interior, A.wav" by InspectorJ (www.jshaw.co.uk) of Freesound.org (https://freesound.org/people/InspectorJ/sounds/346642/), licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) </code></pre> <p><code>credits.py</code> writes <code>CREDITS.md</code> (music + every sound, grouped by licence, with the sentence saying how the recordings were edited) and <code>out/CREDITS_description.txt</code> (paste it into the video description). It completes a requested line with the source link and the licence link when the author's form leaves them out. Credits never need to be on screen.</p> <h2>Content ID and CC BY music</h2> <p>Some composers register their CC BY tracks with YouTube Content ID through a distributor. A video using the track correctly can still get an automatic claim. The licence still allows the use: put the credit in the description, and if a claim arrives, dispute it citing the licence and the credit (many composers also clear claims on request). Choose a track whose composer explains this on their site, and tell the user before publishing. Mixkit and Pixabay forbid the reverse: never register a film that contains their items with Content ID.</p> <h2>The audit (scripts/audit.py, prompts/licence_audit.md)</h2> <ol> <li>The licence auditor opens every in-scope item's page, reads the licence and writes <code>licence_seen</code> (quote + URL + date + page author/title) and <code>licence_confirmed: true</code> into <code>audio/assets/manifests/audit.json</code> (format: <code>templates/audit_entry.json</code>). Never confirm a page you did not read in this session.</li> <li><code>audit.py --report out/qa/mix_report.json</code> classifies every manifest entry, checks ids and URLs, checks every file (exists, codec, rate, channels, duration vs the manifest, decodes without errors), merges the auditor's fields and writes audit.json + a Markdown table. In-scope = audible in the film. Exit 1 while any in-scope recording is blocked.</li> <li><code>--fetch</code> compares the local bytes with <code>download_url</code> (sequential, 1.5 s apart, a clear User-Agent, in memory, nothing executed; never Pixabay). Re-encoded or edited files show up here.</li> <li><code>credits.py --audit audio/assets/manifests/audit.json</code> refuses to call the credits clean while a used recording is unconfirmed.</li> </ol> <p>On the Clawd film this caught four used recordings (celesta notes added after the hand audit) with no audit record. Their manifest notes do say the licence was read on the Freesound page, so it was a bookkeeping gap, not an unverified licence: audit.py quotes such a note and asks the auditor to copy it into <code>licence_seen</code>.</p>