Repair word timings on a recording you already have

1 day ago

What bisque-voice 0.1.44 adds, the new align command that repairs word timings on an existing MP3 or WAV recording, what it refuses to do, and how to upgrade.

Ask about this presentation

Chapters

Show transcript
  1. bisque-voice 0.1.44 adds one command, align. If you already have a narration recording, it measures where every word lands and gives you the timings back. It reads the file without rewriting it, so a recording you already made can get correct word timings without being synthesized again.

    Slide text
    BISQUE-VOICE · V0.1.39 TO V0.1.44

    Repair word timings on a recording you already have

    bisque-voice align v0.1.44
  2. The command is bisque-voice align. You give it the audio, the original script, and the name of an installed aligner. Here is the whole call: an MP3, a script read from standard input, and the qwen3-q4 aligner. Run bisque-voice aligners to see which ones you have installed.

    Slide text
    SRC/MAIN.RS · NEW SUBCOMMAND

    bisque-voice align measures an MP3 or WAV you already made

    bisque-voice align --audio narration.mp3 --text - --aligner qwen3-q4 < script.txt
    --audio an MP3 or WAV file
    --text - the script, read from stdin
    --aligner one from bisque-voice aligners
  3. What comes back is JSON on standard output. Every word in your script gets a start and an end in seconds. You also get the length of the file in milliseconds, and the hash and size in bytes of the original recording. When exact is true, each time maps to a word you wrote. The README is careful to say that it doesn't promise every sound boundary is perfect.

    Slide text
    STDOUT · JSON

    You get word timings and the original file's hash back

    words every word with its start and end, in seconds
    durationMs length of the file, in milliseconds
    hash, size of the original file, size in bytes
    exact true when every time maps to a word you wrote

    "exact: true means source-token mapping, not a claim that every acoustic boundary is correct."

  4. It measures and does nothing else. The command does not synthesize, trim, change speed, encode, or write the recording, so the hash it reports belongs to the exact file you gave it. Times follow the decoded file's playback clock, leading silence included, so they line up with what a player actually plays.

    Slide text
    README.MD · ALIGN AN EXISTING RECORDING

    It measures the file and nothing else

    synthesize
    trim
    change speed
    encode
    write
    PLAYBACK CLOCK

    Times refer to the decoded file's playback clock, including its leading silence.

  5. Feed it the same script you synthesized from, overrides and all. If the script marks Qwen3 with a spoken form, the aligner listens for that spoken form and hands back the word you wrote on screen. Words come back in source order, so the cue positions in your presentation still point at the right words.

    Slide text
    README.MD · PRONUNCIATION OVERRIDES

    Pass the original script, overrides included

    SCRIPT
    [Qwen3](kwen three)
    →
    ALIGNER HEARS
    kwen three
    →
    YOU GET BACK
    Qwen3

    Words come back in source order, so cue indices stay valid.

  6. Align would rather fail than guess. On Intel Macs the bundled ONNX aligners can't run, so the command refuses instead of substituting estimated timings. Narration made on an Intel Mac stays approximate. A silent recording, or one the aligner can't place with confidence, produces an error and no JSON at all. The error says it plainly: alignment cannot repair a bad take.

    Slide text
    SRC/REALIGN.RS · WHAT COULD BREAK
    INTEL MACOS

    The command refuses to run

    The bundled ONNX aligners can't run there, and there is no estimated fallback.

    A BAD TAKE

    An error, and no JSON

    Silent, collapsed or low-confidence recordings fail without emitting metadata.

  7. The README changed one promise. It used to say one program, nothing else to install. Now it says narration still needs no Python or ffmpeg, but aligning an MP3 decodes it with ffmpeg. WAV decoding is built in, so a WAV works on a machine without it.

    Slide text
    README.MD · THE INSTALL PROMISE CHANGED

    Aligning an MP3 needs ffmpeg, and a WAV does not

    before

    One program, nothing else to install. No Python and no ffmpeg.

    after

    Narration needs no Python or ffmpeg. Repairing timings on an existing MP3 uses ffmpeg to decode it; WAV decoding is built in.

  8. Upgrading takes one command. Run the curl line on macOS and Linux, or the PowerShell line on Windows. Every binary is built from this tag, and gh attestation verify checks one against the repository. Wait if you are on an Intel Mac and plan to use align, because it will refuse there. The rest of the release changes how the binaries are built. The release page has the details.

    Slide text
    INSTALL.SH · INSTALL.PS1 · V0.1.44

    Upgrade to v0.1.44, then check the build

    MACOS AND LINUX
    curl -fsSL https://download.bisque.today/bisque-voice/install.sh | sh
    WINDOWS POWERSHELL
    irm https://download.bisque.today/bisque-voice/install.ps1 | iex
    VERIFY A BINARY
    gh attestation verify bisque-voice --repo bisque-cloud/bisque-voice

    Wait if you are on an Intel Mac and need align.

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York