MahaTTS / maha_tts /config.py
jaskaran Singh
indic
390d94d
raw
history blame contribute delete
595 Bytes
import os
class config:
semantic_model_centroids = 10000 + 1
seed_value = 3407
# Text to Semantic
t2s_position = 4096
langs = ['english','tamil', 'telugu', 'punjabi', 'marathi', 'hindi', 'gujarati', 'bengali', 'assamese']
lang_index = {i:j for j,i in enumerate(langs)}
# Semantic to acoustic
sa_timesteps_max = 1000
#Acoustic Properties
CLIP_LENGTH = 500
MAX_WAV_VALUE=32768.0
filter_length=1024
hop_length=256 #256
window = 'hann'
win_length=1024
n_mel_channels=80
sampling_rate=22050
mel_fmin=0.0
mel_fmax=8000.0