AI Logic

Datasets and Benchmarks

JVS

Updated:

How JVS is built and organized. The left side shows the flow: sentences to read are selected from JSUT, 100 professional speakers record in a recording studio, the audio is converted to 24 kHz and labeled to create JVS ver. 1, divided per speaker into 4 subcorpora (parallel100, nonpara30, whisper10, falsetto10). The right side shows the file layout, a table of which sentences in the other subcorpora the 10 whisper and falsetto sentences match, and the audio format, splits, and evaluation.

Overview

JVS (Japanese versatile speech) is a corpus for speech synthesis of about 30 hours, recording the voices of 100 professional Japanese speakers in three speaking styles: normal reading, whisper, and falsetto. It was created by Takamichi, Mitsui, Saito, Koriyama, Tanji, and Saruwatari of the Saruwatari Lab at the University of Tokyo, who released the paper (arXiv) in 2019.

JSUT, from the same lab, was a corpus of Japanese read by a single voice. However, voice conversion (changing one person's voice into another's) and speech synthesis that produces many people's voices with one model require data in which many speakers read the same sentences. JVS was created for this purpose and has both a part in which everyone reads the same 100 sentences and a part in which each person reads different sentences.

Data in which everyone reads the same sentences (parallel data) provides "reference pairs" for voice conversion. Placing recordings of the same sentence read by speakers A and B side by side lets a model learn only the difference in voice while the content of the sentence is held fixed.

Contents: Construction, Structure, and Format

Construction proceeds as follows.

  1. Select the sentences to read. The 100 shared sentences are the 100 sentences of JSUT's voiceactress100 subcorpus (phonetically balanced sentences). The sentences that differ per person were selected at random from JSUT sentences other than voiceactress100.
  2. 100 professional speakers record. 100 professional native Japanese speakers (49 male, 51 female), such as voice actors and actors, were hired and recorded in a recording studio, each within a single day. Recording was supervised by audio experts.
  3. Process and label. Audio recorded at 48 kHz was converted to 24 kHz, 16-bit WAV. Phoneme labels were produced with Open JTalk, and phoneme timing (alignment) was assigned automatically with the speech recognition toolkit Julius. In the transcripts, commas were added at breath pauses.

Structure: for each speaker there are 4 subcorpora, where the number in each name indicates the number of utterances per person.

SubcorpusUtterances per personContentsTotal for 100 speakers
parallel100100Normal reading, everyone reads the same sentences22 hours
nonpara3030Normal reading, different sentences per person4.4 hours
whisper1010Whisper2.0 hours
falsetto1010Falsetto2.0 hours

The total is 30.4 hours (including silent parts). Of the 10 whisper sentences, the first 5 are the same as sentences in parallel100, and the last 5 are the same as sentences in that person's nonpara30. The 10 falsetto sentences are built the same way, with the last 5 being different sentences from the whisper ones. As a result, the same person's normal voice, whisper, and falsetto can be compared on the same sentences.

Tags are also included: each speaker's gender and pitch (F0) range (assigned manually), similarity between speakers (scored from −3 to +3 by 1,000 crowdsourced listeners, separately for male and female), and utterance durations and speaking rates.

Format: under each speaker's folder (jvs001–jvs100) are, per subcorpus, the audio (wav24kHz16bit/), the transcripts (transcripts_utf8.txt, one "ID:sentence" per line), and phoneme timing labels (lab/, parallel100 and nonpara30 only). The tag files (gender_f0range.txt, speaker_similarity_male.csv, speaker_similarity_female.csv, duration.txt) are at the top level.

There is no official split. For example, ESPnet's JVS recipe adapts a model trained on JSUT to a single speaker (jvs010 by default), using that person's parallel100 for training, the first 15 utterances of nonpara30 for development, and the last 15 for evaluation.

Evaluation Protocol

JVS has no fixed evaluation procedure, and the paper does not report model evaluation results. It is common to evaluate as follows, depending on the purpose.

  • Naturalness of speech synthesis and voice conversion: MOS (mean opinion score), in which people listen and rate on a 1–5 scale. When human rating is difficult, models that predict MOS automatically, such as UTMOS, are used as a supplement.
  • How similar the voice is to the target speaker: listeners compare synthesized speech with recordings of the target speaker reading the same sentence and rate the similarity. Since parallel100 contains the same sentences from everyone, this comparison is easy to set up.

Since there is no official split, the speakers and utterances used for training and evaluation differ from paper to paper. When comparing with other work, check the speaker IDs and subcorpora used and how training and evaluation were divided, and make sure the evaluation sentences are not in the training set (note that in parallel100 everyone reads the same sentences).

Usage and Historical Significance

JVS was created as a multi-speaker Japanese speech synthesis corpus that can be used free of charge by both universities and in-house corporate research.

Its main uses are as follows.

  • Multi-speaker speech synthesis: it can be used to train models such as VITS and FastSpeech 2, with speaker information added, to produce 100 voices with a single model.
  • Speaker adaptation with little data: each person has about 15.7 minutes of normal voice. Adapting a model trained on a large single-speaker dataset such as JSUT to one JVS voice is the approach taken by the ESPnet recipe.
  • Voice conversion: using the same sentences in parallel100, parallel training data can be built for every pair of speakers. nonpara30 can be used for the harder and more realistic task of conversion with non-parallel data.
  • Research on whisper and falsetto: analysis, synthesis, and conversion of whisper and falsetto can be studied side by side with the same person's normal voice on the same sentences.

The same lab later published a paper combining JSUT and JVS (Takamichi et al. 2020, in the English journal of the Acoustical Society of Japan) and has also released related corpora such as JVS-MuSiC.

Caveats

License: the text (transcripts) comes from JSUT and follows JSUT's license. The tags are CC BY-SA 4.0. The audio may be used for research at universities and similar institutions, non-commercial research including in-house corporate research, and personal use (such as blogs).

Redistribution of the audio is prohibited (posting around 10 files on a web page or blog is permitted). For use in commercial products or services, contact the University of Tokyo TLO or the other contacts listed on the official page. Higher-quality audio (48 kHz, 24-bit) is also available for commercial use.

Little data per person: each person has about 15.7 minutes (130 utterances) of normal voice. This is often not enough to train a speech synthesis model from scratch on a single voice, so either train on all voices or adapt a model trained on other large data.

Large differences in speaking rate: even for the same parallel100 sentences, the slowest speaker (jvs084) takes 1.8 times as long to read them as the fastest speaker (jvs020). Models that predict durations need to handle this as a per-speaker difference.

Labels are automatic: phoneme labels and alignments were assigned automatically with Open JTalk and Julius and contain errors in readings and positions. When accuracy matters, check and correct them.

Sampling rate: the distributed audio is 24 kHz. When combining it with a model trained on JSUT (48 kHz), for example, match the sampling rates.

Comparison with Similar Datasets

Representative English and Japanese speech synthesis datasets, compared from the same perspectives, are as follows.

DatasetLanguageSpeakersDurationMain useAudio formatLicense
JVSJapanese100About 30 hoursMulti-speaker speech synthesis, voice conversion24 kHz WAVText same as JSUT, tags CC BY-SA 4.0, audio for research, non-commercial, and personal use (commercial use by inquiry)
JSUTJapanese1About 10 hoursSingle-speaker speech synthesis48 kHz WAVText CC BY-SA 4.0 etc., audio for research, non-commercial, and personal use (commercial use by inquiry)
LibriTTSEnglish2,456About 586 hoursMulti-speaker speech synthesis, vocoders24 kHz WAVCC BY 4.0
LJ SpeechEnglish1About 24 hoursSingle-speaker speech synthesis22.05 kHz WAVPublic domain

Rough guidelines for choosing are as follows.

  • For Japanese speech synthesis that switches among many speakers' voices, or voice conversion, use JVS. Its strength is parallel100, in which everyone reads the same sentences.
  • To build one high-quality Japanese voice, use JSUT, which has much more data per person, and adapt to a JVS speaker if needed.
  • To handle many speakers in English, use LibriTTS, with far more speakers and hours, or the studio-recorded VCTK.
  • To work with whisper or falsetto, JVS is one of the few options that allows comparison with the same person's normal voice on the same sentences.

PyTorch example

Show code
python
import glob
import os

import soundfile as sf
import torch
import torchaudio
from torch.utils.data import Dataset

"""
Load JVS ver. 1 (jvs_ver1/jvs001-jvs100/<subcorpus>/wav24kHz16bit/*.wav and transcripts_utf8.txt)
Also returns the speaker index (0-99) for use in multi-speaker speech synthesis
"""

ROOT = 'jvs_ver1'


def read_items(root, subsets=('parallel100', 'nonpara30')):
  # each line of transcripts_utf8.txt is "ID:sentence". Split into ID and sentence at the first ":"
  items = []
  for spk_dir in sorted(glob.glob(os.path.join(root, 'jvs[0-9][0-9][0-9]'))):
    spk = os.path.basename(spk_dir)
    for subset in subsets:
      path = os.path.join(spk_dir, subset, 'transcripts_utf8.txt')
      if not os.path.exists(path):
        continue
      with open(path, encoding='utf-8') as f:
        for line in f:
          utt_id, text = line.rstrip('\n').split(':', 1)
          wav = os.path.join(spk_dir, subset, 'wav24kHz16bit', utt_id + '.wav')
          if os.path.exists(wav):  # use only entries whose transcript has a matching audio file
            items.append((wav, spk, subset, text))
  return items


items = read_items(ROOT)
speakers = sorted({spk for _, spk, _, _ in items})
spk2id = {spk: i for i, spk in enumerate(speakers)}

# there is no official split. Following the ESPnet recipe, use the first 15 of each speaker's nonpara30 for development and the last 15 for evaluation
train, dev, test = [], [], []
for spk in speakers:
  para = [x for x in items if x[1] == spk and x[2] == 'parallel100']
  nonpara = sorted([x for x in items if x[1] == spk and x[2] == 'nonpara30'])
  train += para
  dev += nonpara[:15]
  test += nonpara[-15:]


def to_phonemes(text):
  # estimate a phoneme sequence from Japanese text in mixed kanji and kana (example using pyopenjtalk). Automatic estimation includes reading errors
  import pyopenjtalk
  return pyopenjtalk.g2p(text).split()


class JVS(Dataset):
  def __init__(self, items, sample_rate=24000):
    self.items, self.sample_rate = items, sample_rate
    self.mel = torchaudio.transforms.MelSpectrogram(sample_rate=sample_rate, n_fft=2048, hop_length=300, win_length=1200, n_mels=80)

  def __len__(self):
    return len(self.items)

  def __getitem__(self, i):
    path, spk, subset, text = self.items[i]
    wav, sr = sf.read(path, dtype='float32')  # 24,000 Hz, 16 bit
    wav = torch.from_numpy(wav)
    if sr != self.sample_rate:
      wav = torchaudio.functional.resample(wav, sr, self.sample_rate)
    mel = torch.log(torch.clamp(self.mel(wav), min=1e-5))  # [80, num_frames]
    return spk2id[spk], to_phonemes(text), mel

FAQ

Q. Can JVS be used for commercial speech synthesis products?
A.

Not as is. Use of the audio is limited to research, non-commercial research, and personal use; commercial use requires an inquiry to the University of Tokyo TLO or the other contacts listed on the official page. 48 kHz, 24-bit audio is also available for commercial use.

Q. How should parallel100 and nonpara30 be used differently?
A.

For voice conversion that needs pairs of recordings of two people reading the same sentence, use parallel100. For conversion with unpaired data, or for evaluation on sentences not used in training, use nonpara30. For multi-speaker speech synthesis, both can be used for training, but since everyone reads the same sentences in parallel100, choosing evaluation sentences from nonpara30 avoids sentences seen in training.

Q. How are JSUT and JVS used together?
A.

A common approach is to train a model on JSUT, which has about 10 hours from one person, and adapt it to one JVS voice (about 15 minutes). ESPnet's JVS recipe takes this form. The parallel100 sentences are the same as JSUT's voiceactress100, so pairs of the same sentence read by the JSUT speaker and a JVS speaker can also be created.

References

  1. Takamichi, S., Mitsui, K., Saito, Y., Koriyama, T., Tanji, N., & Saruwatari, H. (2019). JVS corpus: free Japanese multi-speaker voice corpus. arXiv:1908.06248.
  2. JVS (Japanese versatile speech) corpus (official page; download, terms of use, contact for commercial use).
  3. Sonobe, R., Takamichi, S., & Saruwatari, H. (2017). JSUT corpus: free large-scale Japanese speech corpus for end-to-end speech synthesis. arXiv:1711.00354.
  4. ESPnet. egs2/jvs (speech synthesis recipe that adapts a model trained on JSUT to a JVS speaker).