Field guide · Music and audio
Music generation: from a style brief to audio you can release
You type “warm, cinematic, piano” and get a lovely 30 seconds. The ad needs 15 seconds, a vocal, a seamless loop and commercial clearance. Fix the deliverable first: a song, stems, a loop, a sound effect or a voice-over. Once that is fixed, tools and acceptance mean something.
- Fix the deliverable: song, stems, loop, sound effect or voice-over.
- Turn style into parameters: instruments, tempo, mood, length and exclusions.
- Commercial use depends on four rights: training data, voice, samples and lyrics.
The full guide starts below. Use the tables for reference; you do not need to memorise them.
Take one concrete job: a 15-second coffee ad, light piano, loopable, no vocal, commercially cleared and loudness-matched to the platform. Put those five lines in the delivery sheet.
1 · The deliverable decides the toolchain
“Make a song” can mean five different things: a streaming master, editable stems, a short-video loop, a game sound effect, or an ad voiceover. A master needs loudness and delivery; stems need separate instrument outputs, phase and naming; a loop must be seamless and tileable; a sound effect must be short, clean and loopable; a voiceover must match lip or duration. Without a deliverable, every later choice reworks.
Write a delivery sheet first: duration, sample rate, channels, format, loudness target, whether stems are needed, lyric language, rights scope and deadline. It constrains the generation tool and becomes the handoff to mixing, legal and the platform.
| Deliverable | Key spec | Acceptance evidence |
|---|---|---|
| Streaming master | Duration, sample rate, loudness, true peak | Master file, loudness report, platform upload accepted |
| Stems | Separate tracks, naming, phase, same sample rate | Per-track listen, remix consistency, no missing stem |
| Short-video loop | Seamless, tileable, duration fit | Ten loops without a jump, platform trim accepted |
| Game SFX | Short, clean, loopable, trigger latency | In-engine trigger test, no pop |
| Ad voiceover | Lip/duration, tone, consent | Aligned to picture, blind listen passed, consent record |
2 · Turn style into executable parameters
“Epic”, “healing” and “cyber” are not parameters. Break them into executable items: duration, number of sections, bars per section, tempo, time signature, key, instrumentation, voice type, language, emotional arc, reference tracks and forbidden elements. A generator may not understand all of them, but arranging, mixing and acceptance need them.
Use reference tracks to describe direction, not to request a copy. “Similar rhythmic density and instrumentation” is acceptable; a copyrighted melody, lyric or voice is not a template. The more specific the reference, the more important it is to record source and rights status, so “style reference” does not slide into “infringing sample”.
| Parameter | Write it as | Why |
|---|---|---|
| Duration | Seconds or bars | Sets generation segments and loop points |
| Structure | Intro/verse/chorus/bridge with bar counts | Avoid post-hoc cutting |
| Rhythm | BPM, time signature, groove | Affects performance and mixing |
| Instrumentation | Instruments, ranges, solo/ensemble | Sets stems and timbre |
| Voice | Type, language, timbre, emotion | Sets TTS/singing voice and consent |
| Exclusions | Unwanted instruments, words, styles | Less rework and rights risk |
3 · Generation routes: text, MIDI, audio reference and singing
Text-to-music is good for quickly exploring instrumentation and mood, but weaker on exact bars, lyric alignment and editability. MIDI/DAW is good for fixing rhythm and structure before filling with instruments or generation. Audio-to-audio suits style transfer, continuation or variation, but inherits the source’s flaws and rights. Singing synthesis suits known lyrics and melody, but needs extra work on pronunciation, breath and emotion.
The usual order: fix structure and duration, decide which sections must stay editable, then choose the route. An ad song that will be revised bar by bar should start in MIDI/DAW with generated fills; one-off ambient music can start from text; a brand track with a named singer needs voice rights settled before generation.
4 · Structure and lyrics: align to a timeline first
Music is time-based; structure must land on bars and seconds. Draw a timeline first: 0–8 s intro, 8–24 s verse, 24–40 s chorus; then align lyric lines to bars. Generators often drift at section boundaries, so either generate in segments and assemble, or align in a DAW afterwards. Do not expect one pass to land exactly.
Proofread lyrics separately: polyphones, names, numbers, rhyme, syllable count and language switches. Singing synthesis also needs stress, pauses and breath; otherwise every word is right and it still does not sound like a song. If a model wrote the lyrics, check facts and rights before recording or synthesis.
- Write the timeline first: start/end seconds, bars, key and tempo for each section.
- Align lyrics line by line with stress, pauses and breath.
- Generate in segments: intro, verse, chorus and bridge separately, then assemble.
- Keep dry vocals and accompaniment for remixing, language changes or lyric edits.
5 · Mixing and mastering: loudness, dynamics and stems
Before delivery, align at least three things: sample rate and bit depth (commonly 44.1 kHz or 48 kHz, 24-bit), channels and phase, loudness and true peak. Streaming platforms normalise loudness again; many use around -14 LUFS as a reference, but the exact target is platform-specific. Push the master too hot and the platform turns it down, often reducing dynamics.
Stem delivery needs naming, track order, gain and phase. Export each instrument separately; do not fake stems by duplicating a full mix with muted regions. Check for missing or duplicate tracks, sample-rate mismatch and DC offset. A little noise and breath often sounds more real than absolute cleanliness, but do not use noise to hide generation artefacts.
| Check | Target | Common error |
|---|---|---|
| Sample rate/bit depth | Consistent chain, stated on delivery | 48 kHz generation, 44.1 kHz backing |
| Loudness | Follow platform spec, leave true-peak headroom | Pushing blindly to 0 dBFS |
| Phase | No cancellation when summed | Stereo processing cancels in mono |
| Stems | Separate, consistently named | Duplicate, missing or silent stems |
| Noise | Keep natural noise, do not mask artefacts | Noise used to hide generated pops |
6 · Rights: training data, voice, samples and lyrics
A generated track involves four layers of rights: model and service terms, training data and style sources, rights in input material (reference audio, samples, lyrics), and the permitted use of output audio. They are not the same thing. A commercial model licence does not mean a reference track may be used for training or sampling; owning the output does not mean lyrics or voice likeness are free to use.
Voice is high-risk input. Using a real singer, voice actor or public figure needs consent, use, duration and a withdrawal mechanism. Using a platform voice library requires reading the permitted release channels. Model-written lyrics still need originality checks and fact review. Samples and covers involve separate recording and composition rights; changing a few notes does not bypass them.
7 · Cost: per finished minute, not per call
Generation calls are one cost line. Add retries, segmented generation, stem export, mixing and mastering, lyric proofreading, voice licensing, platform review and rework. Use “per finished track” or “per finished minute” as the denominator so the number is comparable with outsourcing, library music or in-house work.
A recomputable formula: cost per finished minute = (generation calls + retries + storage + licences) / finished minutes + mixing minutes × labour rate + rework. The denominator counts only accepted finished minutes, not every draft. If licensing or labour dominates, settle those before optimising model price.
8 · Failure branches: listen to the symptom, then locate the stage
Music failures are often not “the model cannot”. They sit in structure, alignment, mixing or rights. Work backwards from what you hear and do not change five parameters at once. Keep the raw generation, DAW project and master so before/after can be compared.
Sections wrong length
Suspect first: Generation drift, unlocked timeline
Check: Regenerate by bars or cut in DAW
Chorus does not land
Suspect first: No energy lift, repeated instrumentation
Check: Inspect instrumentation and dynamics per section
Lyrics wrong or swallowed
Suspect first: Polyphones, syllable count, stress markup
Check: Proofread text and phonemes line by line
Voice sounds robotic
Suspect first: Synthesis model, prosody, breath, mix
Check: Blind-listen dry vocal; change reference or model
Pops, clipping, phase cancellation
Suspect first: Gain staging, true peak, stereo processing
Check: Inspect waveform and mono fold-down
Platform rejects upload
Suspect first: Loudness, format, rights flags, metadata
Check: Check each platform delivery rule
9 · A minimum path to a finished track
Make a 30-second proof first to validate style, structure and voice, then extend to the full track. Settle the master and stems after the proof passes, so a full production does not reveal a wrong direction.
- Write the delivery sheet: track, stems, loop, SFX or voiceover; duration, format, loudness, rights.
- Write a one-page brief: structure, bars, tempo, key, instrumentation, voice, exclusions, references.
- Make a 30-second proof: validate style and structure before generating the full track.
- Choose the route: text, MIDI/DAW, audio reference or singing synthesis; mark editable sections.
- Align lyrics and timeline: proofread line by line, mark stress, pauses and breath.
- Mix and master: align sample rate, phase, loudness and true peak.
- Build the rights table: model, references, samples, lyrics and voice, item by item.
- Deliver master, stems, loudness report and rights record before uploading.
Sources and further reading
These links are for checking facts, licences and official scope. External pages may change; cite the original text and check date.
- MusicGen paperPaper on text-to-music, conditional generation, melody alignment and evaluation; models and licences remain with the official repository.
- EnCodec paperPaper on neural audio codecs, audio tokens, bitrate and reconstruction quality.
- ITU-R BS.1770International recommendation for loudness and true-peak measurement; platform targets remain with their delivery specs.
- Creative CommonsOfficial CC licence explanations, including attribution, non-commercial and share-alike terms; they do not cover voice likeness or platform terms.
- Learn · Text to speechConcept page on speech synthesis, separating TTS, singing synthesis and voice cloning.
- Tools · AudioTask-based audio tool dossiers; not a quality ranking.
- Tools · Cost calculatorMethod page for estimating cost from calls, units and labour.
- Specul · Third-party assetsSite notes on the asset register, third-party content and attribution.
Next
If you get stuck while following it, go back to the matching route instead of rereading the whole guide.