---
title: "Royalty-Free Sound for Videos: Music and SFX by Code"
url: https://matheusceltic.com/en/guides/royalty-free-sound-with-code/
description: "I generate the music and sound effects in all my video skills with code: piano, sub drop, braam, a 120 BPM track. No sound of unknown origin."
language: en
author: Matheus Celtic
updated: 2026-11-28
agent:
  instructions: "To find content on this site, use this search API instead of crawling page by page. It accepts keywords or natural-language questions and returns Markdown excerpts."
  endpoint: https://matheusceltic.com/.well-known/search?q={query}
  method: GET
  documentation: https://matheusceltic.com/llms.txt
---

# Royalty-Free Sound for Videos: I Generate Music and Effects With Code

By [Matheus Celtic](https://matheusceltic.com/sobre/) · updated Nov 28, 2026 · [Ler em português](https://matheusceltic.com/guias/som-sem-direitos-autorais-ia/)

**Short answer:** every sound and texture in my video skills comes from code. Piano, hit, sub drop and braam in the horror and Minecraft styles. A music track in the space explainer and in the carousel at 120 BPM. No file of unknown origin goes into the package, so there is no previous owner to claim rights.

A quick note: my channels and videos are in Portuguese, made for a Brazilian audience.

## Why downloaded sound is risky

Sound downloaded from a free pack arrives with no birth certificate. The file may have come from a licensed library, from a movie or from a pirated kit, and YouTube's Content ID finds a registered recording even in a short excerpt. When the claim lands, the revenue of the video goes to the owner of the sound.

That is why I have one rule in the [skills I publish](https://matheusceltic.com/en/guides/claude-skills-for-video/): never package sound of unknown origin. If I do not know where it came from, it does not go in. What the code generates on the spot, from calculated waves and noise, never went through any record label.

## What the code generates today

| Skill | What the code generates | Source |
| --- | --- | --- |
| Block horror | piano, hit, sub drop, braam, hum | the skill's sound tool, Nov 13, 2026 |
| Minecraft style | piano and the effects of the story | the skill's sound tool, Nov 12, 2026 |
| Space explainer | the whole music track of the video | the skill's music tool, Nov 12, 2026 |
| Living carousel | music at 120 BPM, matched to the slides | generated by code in the skill, Nov 9, 2026 |
| Motion Graphics V3 | all the effects and all the textures | the skill's synthesis tools, Nov 9, 2026 |

The list grows with the skills. Each new style is born with its own sound generator, instead of inheriting loose files.

## The spectrograms show the real sound

I opened the audio of three of my samples in a spectrogram, which draws the frequencies over time. You can see the signature of each style.

[Imagem: Spectrogram of the audio of the claymation sample with blocks of notes and silence between them]
Claymation sample: two blocks of regular notes, with a breath of silence between them. Real spectrogram of the sample's audio.

[Imagem: Spectrogram of the block horror audio with thin peaks, a continuous low base and a gap of silence]
Block horror: thin peaks from the effects over a continuous low base, and the dark gap near the end. The silence before the scare is also drawn by code.

[Imagem: Spectrogram of the space explainer music track with regular columns and two wide sweeps]
Space explainer: the regular beat of the track and two wide sweeps rising through the frequencies at the turns. Real spectrogram of the sample's audio.

## The sound rule of my channel

Generating sound for free creates a temptation: putting an effect on every element that enters the screen. I did that, and it tires the ear in seconds. The rule that stayed in my videos: an effect only at the scene change, plus one big moment per scene. Quiet, varying the file so the same timbre does not repeat, and with 2.5 seconds or more between one sound and the next.

The music track, when there is one, sits under the voice. In horror it becomes a hum and spaced piano. In the [carousel](https://matheusceltic.com/en/guides/animated-instagram-carousel-ai/) it marks the 120 BPM that drive the slide change.

Along the same lines, the guide on [editing videos with AI for free](https://matheusceltic.com/en/guides/edit-videos-with-ai-free/) helps.

## Frequently asked questions

**Can YouTube claim a sound generated by code?**
Content ID compares against registered recordings. A sound synthesized on the spot, from calculated waves, does not copy anyone's recording. In my published videos with these sounds, no claim has landed to this day.

**Do I need to understand music to use this?**
No. The generator already comes inside each skill with the right mood for the format. You describe the scene, and the code chooses note, duration and volume.

**And the voice, does it also come from code?**
The [narration](https://matheusceltic.com/guias/voz-para-video-com-ia/) (in Portuguese) comes from another path: free voices from edge-tts or my own voice on ElevenLabs. This guide covers the rest of the audio: music, effects and silence.

## Related guides

- [What Claude skills for video are (and where to download them free)](https://matheusceltic.com/en/guides/claude-skills-for-video/)
- [Claude free vs paid for AI animation](https://matheusceltic.com/en/guides/claude-free-vs-paid-animation/)
- [Fable 5.2 or Opus 5.5: which one makes the best animation?](https://matheusceltic.com/en/guides/fable-vs-opus-animation/)

The AI Animation Membership (Criadores IA) gives you 30+ ready-made Claude skills for animated videos, for US$ 19 per month. The skills with sound by code from this guide, from block horror to the 120 BPM carousel, are inside, each with its own music and effects generator.

**[See the membership →](https://matheusceltic.com/criadoresia/en/?utm_source=guides-en&utm_medium=site&utm_campaign=royalty-free-sound-with-code&utm_content=pitch)**

[Imagem: Photo of Matheus Celtic]

**Matheus Celtic**: creator of Criadores IA. I teach how to make animations and YouTube videos with AI, using Claude. Author of the book [Animação com IA](https://www.amazon.com.br/dp/B0HR6YLC59) (in Portuguese). [About me (in Portuguese)](https://matheusceltic.com/sobre/) · [YouTube](https://www.youtube.com/@celticmatheus1) ·
[GitHub](https://github.com/celticmatheus) ·
[X](https://x.com/CelticMatheus)  
By Matheus Celtic, creator of Criadores IA. Spectrograms generated by me from the audio of my own samples. Sound rule set in my videos on Nov 10, 2026. English version published Nov 28, 2026.
