Skip to main content

Singing in native mode

Native-mode singing synthesis calls VOICEVOX CORE directly through PHP FFI. Score and Note structures are shared with client mode.

Prerequisites

  1. Complete Installation and Configuration
  2. Set up VOICEVOX Core for PHP
  3. Set VOICEVOX_CORE_PATH in .env
For singing models, confirm s0.vvm is included in core.vvms in config/voicevox.php.

Create Score and Note

Basic usage

The same Score can be reused in both client and native modes.

Re-sync F0 and volume with tap()

tap() is useful in native song mode as well. Tune SongAudioQuery, then continue to generate().
If updating separately, always run in this order:

Difference from client mode

For FFI fundamentals, see PHP FFI. For standalone core flow, see VOICEVOX Core for PHP Usage.

Next pages

Score and Note Deep Dive

See practical patterns for building and managing song chart data.

Client Song

Compare with HTTP client mode using the same score.

VOICEVOX for Laravel Overview

Review all modes and related pages in one place.
Last modified on May 23, 2026