Style BibleGitHub

Sound guide

People forgive a soft picture. They do not forgive bad sound: they leave in seconds. This guide covers the voice, dialogue, music, effects, ambience and the mix, for every platform, at three levels. Check the finished sound with:

node scripts/mix.mjs --voice voice.wav --music song.mp3 --sfx effects.wav mix.wav --for reels
node scripts/mix.mjs --check film.mp4 --for youtube

The five layers

Every soundtrack is built from five layers. Plan them in the script's HEAR column (see guides/script.md), not at the end.

LayerWhat it isIts jobLoudness in the mix
VoiceNarration, dialogue, the speakerCarries the story; always clearLoudest, steady
MusicScore, a song, a beatFeeling and paceUnder the voice, up in the gaps
EffectsHits, whooshes, clicks, impactsPoints at things, sells motionShort, as loud as the voice at the moment they land
FoleySteps, cloth, cups, handsMakes the picture feel realLow, felt more than heard
AmbienceRoom tone, wind, city, seaTells you where you are; fills silenceLow, under everything

A sound for every picture is slop. A picture with no sound at all feels dead. Choose.

1. The voice

Recording a voice

  1. Room first. A small room with soft things (bed, curtains, clothes) beats a bare room with a good microphone. Never record in a kitchen or a bathroom.
  2. Close to the microphone. A hand's width (15 to 20 cm) from a microphone, a little to the side so breath does not pop. A phone held the same way is fine to start.
  3. Level. Talk at your loudest line and set the gain so it peaks around -10 dB. Never in the red.
  4. Ten seconds of silence at the start of every take: room tone, to fill gaps later.
  5. Stand or sit up, smile on happy lines, read it like you are telling one friend.
  6. Three takes of the hook. Pick the one with energy, not the cleanest.

Cleaning a voice

The order matters. mix.mjs does a gentle version of steps 1 to 4:

  1. Low cut at 80 Hz (a deep voice 60 Hz): removes rumble.
  2. Noise reduction, light. Too much makes the voice watery and robotic. Better to record again.
  3. De-ess: tames sharp s and sh around 5 to 8 kHz.
  4. Compression: about 3:1, so quiet and loud words sit closer.
  5. EQ by ear: cut muddiness around 200 to 400 Hz if it sounds boxy; a small lift around 3 to 5 kHz for clarity.
  6. Cut breaths that are loud, but keep some: a voice with no breaths sounds fake.

An AI voice

Allowed, if you say so where the platform asks, and if the words are yours. Make it sound human:

2. Dialogue

3. Music

Choosing

  1. Pick the feeling for each section, not one song for the whole video. The music changes when the story turns.
  2. Tempo fits the cutting. Fast cuts: 110 to 140 beats per minute. Calm explainers: 70 to 100. Find the beats with node scripts/beats.mjs song.mp3 and cut on them.
  3. No singing under narration. Words fight words. Use songs with vocals only where nobody speaks.
  4. Leave room for the voice: music with a lot of energy in the middle frequencies (guitars, synth pads) muddies speech. Simple music works best.
  5. Silence is music too. Drop it out one beat before the big reveal.

Where it is allowed

SourceSafe forWatch out for
Your own music, or music made for youEverythingKeep the contract
The platform's own library (YouTube Audio Library, Instagram and TikTok sound libraries)That platformBusiness accounts on Instagram and TikTok can only use the commercial library
Paid libraries (subscription)Everything while you payCheck the licence covers the platform and adverts
Trending songs inside Reels and TikTokThat post on that app onlyCannot be used in YouTube videos or adverts
Music you found onlineNothingCopyright claims, muted videos, strikes

An AI music generator: read its terms. Some give you the rights, some do not, and some songs come out close to real ones.

Mixing music under a voice

4. Effects, foley and ambience

Effects

Foley

Record it yourself: steps on the same floor as the picture, a jacket rubbed near the microphone, a cup set down. Real foley is what makes code animation or AI video feel physical.

Ambience

Free effects before paid ones

Look here before you generate or buy a sound. Licences change and differ from file to file: read the licence on the page of each sound you use, and write it in facts.md beside the file name.

WhereWhat it is good forThe licence to check
scripts/sound.mjs (this skill)Pops, whooshes, hits, thuds, wind, scratches and a made score, drawn in code from the film's own cue listYours: made on your computer
Your own recordingFoley, rooms, streets, weather: the most real and the most yoursYours. Ask before recording people
Freesound (freesound.org)The biggest free library: almost any real-world sound, recorded by its usersPer file: CC0 (no credit), CC BY (credit the maker) or CC BY-NC (not for monetised videos)
Pixabay sound effectsClean everyday effects and short ambiencesPixabay's own content licence; read it for each use
Mixkit sound effectsShort game, interface and transition soundsMixkit's free licence
YouTube Audio LibraryEffects and music cleared for YouTube videosSome tracks need a credit line; meant for YouTube
Sonniss GDC bundlesLarge professional packs released free each yearRoyalty-free for commercial use; read the pack's licence
Kenney audio packsInterface, impact and game soundsCC0
BBC Sound Effects archiveDecades of real recordings: places, machines, historyPersonal, educational and research use only, unless you buy a licence: not for a monetised channel

Generate an effect only when none of these has it, and price it first (a single generated effect can cost as much as a whole minute of voice). Most stories need a few exact sounds, such as a tank groaning or rivets popping, and many quiet common ones that are free.

5. The mix and loudness

Levels

WhatWhere it sits
Voice peaksAround -6 to -10 dBFS before the final loudness step
Music under voice15 to 20 dB below the voice
EffectsAs loud as the voice at their moment, never louder for long
Ambience25 to 30 dB below the voice

Loudness per platform

Platforms turn every video to the same loudness. Too loud and they turn it down, squashing your peaks; too quiet and most do not turn it up enough.

PlatformIntegrated loudnessTrue peak
YouTube, Shorts-14 LUFS-1 dBTP
Instagram, Facebook, TikTokabout -14 LUFS-1 dBTP
Podcasts-16 LUFS-1 dBTP
TV (EBU R128)-23 LUFS-1 dBTP
Cinemaabout -24 LUFS dialogue-2 dBTP

mix.mjs sets this in two passes. --check measures a finished file and lists problems: too loud or quiet, peaks over the limit, too squashed or too uneven, silence at the start, long dead gaps.

Listen three ways

  1. Phone speaker: can you hear every word? Bass disappears here.
  2. Cheap earbuds: is anything harsh or too loud?
  3. Good headphones: clicks, hum, cut breaths, music edits.

Then watch once with the sound off: many people do. The captions and pictures must still tell the story.

Sound per platform

PlatformWhat matters most
YouTube longClear voice for minutes on end; music that changes per section; no ear fatigue
Shorts, Reels, TikTokSound from frame one; the hook said in the first second; captions on screen because many watch muted; a sound that loops cleanly if the video loops
Reels and TikTok trendsA trending sound can help reach, but only if it fits; your own voice over it beats lip-syncing someone else
FacebookMost watch muted in the feed: captions are not optional
Podcasts and talking headsThe voice is the product: room, microphone, compression, -16 LUFS

No slop in sound

Check before you post

  1. Every word is clear on a phone speaker.
  2. The first sound starts on the first frame.
  3. Music dips under every line and breathes in the gaps.
  4. Every effect is tied to something on screen.
  5. node scripts/mix.mjs --check film.mp4 --for <platform> shows no problems.
  6. The music and effects are yours, licensed, or from the platform's library for that platform.

Levels

First video. Phone close to your mouth in a soft room, ten seconds of room tone, one song from the platform library, mix.mjs to mix and check. Listen on a phone.

Getting good. A real microphone (a clip-on or a small USB one), takes chosen line by line, music changed per section and cut on beats with beats.mjs, layered impacts, room tone under every gap, J and L cuts in dialogue.

Pro. Recorded foley, ambience per place, a full voice chain by ear, music written or edited to the cut, stems kept apart (voice, music, effects) so you can make versions for other languages and platforms, and a loudness check of every export.

Browse the styles