﻿# Bark voice presets: history prompts span semantic and acoustic stages

Understand Bark semantic, coarse, fine, and codec stages, and preserve complete history-prompt assets instead of treating a voice preset as a single speaker vector.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-bark-history-prompt-multistage-state/
Language: en

## Follow the complete generation chain

The [Bark model documentation](https://huggingface.co/docs/transformers/model_doc/bark) describes semantic prediction, coarse acoustics, fine acoustics, and codec decoding. These stages do not all use the same prediction structure. A service that labels the entire process text-to-speech still needs to preserve the internal handoffs. Returning semantic tokens is not equivalent to returning audio, and a successful early stage does not establish that the selected acoustic stages or decoder were loaded correctly.

## Inspect the history prompt structure

The [official generation implementation](https://raw.githubusercontent.com/suno-ai/bark/main/bark/generation.py) uses structured prompt assets associated with semantic and acoustic histories. A voice preset is therefore more specific than a generic fixed-size speaker vector supplied to an unrelated speech model. Keep the supported prompt asset intact with the implementation that interprets it. Replacing one history component while retaining others is an experimental modification, not merely changing a display label for the same documented preset.

## Preserve stage-aware controls

The documentation routes prefixed generation arguments to semantic, coarse, and fine stages. Keep those names when recording an experiment so a setting's destination remains clear. A common field applied to every submodel may have a different effect from changing only the semantic stage. Likewise, unloading models to reduce resident memory should preserve the required prompt state and stage transitions; moving components between devices does not remove their conditioning requirements.

## Diagnose a voice-continuity change

Suppose an application reuses a preset across successive paragraphs but the voice changes after a worker restart. Compare the effective history asset, processor revision, and all stage settings before concluding that the checkpoint changed. The [author repository](https://github.com/suno-ai/bark) describes presets as conditioning attempts rather than arbitrary custom voice cloning. Check script fidelity as well: the project documents generative audio behavior that can deviate from the supplied wording, so voice similarity alone is an incomplete acceptance criterion.

## Store a complete stage record

Keep text, preset identity, prompt assets, stage revisions, random settings, codec, and final waveform metadata together. Guides on [audio codec representations](/journal/audio-codec-token-generation/) and [artifact validation](/journal/safetensors-artifact-validation/) explain related boundaries. Test the supported complete preset first, then change one component if experimentation requires it. This makes an audible difference attributable to a specific conditioning or implementation change instead of treating all intermediate histories as an opaque interchangeable voice identifier.
