File size: 595 Bytes
22a7887
 
 
 
 
 
 
390d94d
 
 
22a7887
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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