MCPcopy Create free account

hub / github.com/MYZY-AI/Muyan-TTS / functions

Functions387 in github.com/MYZY-AI/Muyan-TTS

↓ 18 callersMethod__init__
( self, hidden_channels, kernel_size, dilation_rate, n_layers,
sovits/module/modules.py:136
↓ 14 callersMethod__init__
( self, in_channels, out_channels, hidden_channels, kernel_size,
sovits/models.py:374
↓ 13 callersFunctionget_padding
(kernel_size, dilation=1)
sovits/module/commons.py:12
↓ 11 callersFunctionnum2str
(value_string: str)
sovits/text/zh_normalization/num.py:298
↓ 8 callersMethoditems
(self)
sovits/utils.py:390
↓ 7 callersMethod__init__
( self, in_channels, out_channels, filter_channels, kernel_size,
sovits/module/attentions.py:378
↓ 7 callersMethod_all_tone_three
(self, finals: List[str])
sovits/text/tone_sandhi.py:640
↓ 6 callersFunction_numeric_feature_by_regex
(regex, s)
sovits/text/japanese.py:211
↓ 6 callersFunctionclean_text
(text, language, version=None)
sovits/text/cleaner.py:11
↓ 6 callersFunctionverbalize_digit
(value_string: str, alt_one=False)
sovits/text/zh_normalization/num.py:290
↓ 5 callersMethod_addwords
(words, text)
sovits/LangSegment.py:92
↓ 5 callersMethodkeys
(self)
sovits/utils.py:387
↓ 5 callersFunctionverbalize_cardinal
(value_string: str)
sovits/text/zh_normalization/num.py:273
↓ 4 callersFunction_time_num2str
A special case for verbalizing number in time.
sovits/text/zh_normalization/chronology.py:22
↓ 4 callersFunctionclean_path
(path_str:str)
sovits/utils.py:342
↓ 4 callersMethodweight_norm
(self)
sovits/module/attentions.py:479
↓ 3 callersMethod__init__
(self, hidden_channels, kernel_size, dilation_rate, n_layers)
sovits/module/mrte_model.py:117
↓ 3 callersFunctionclean_text_inf_normed_text
(text, language, version)
sovits/utils.py:17
↓ 3 callersFunctioncleaned_text_to_sequence
Converts a string of text to a sequence of IDs corresponding to the symbols in the text. Args: text: string to convert to a sequence Ret
sovits/text/__init__.py:13
↓ 3 callersMethodconvert
(self, words, style, heteronym, errors, strict, **kwargs)
sovits/text/g2pw/g2pw.py:50
↓ 3 callersMethoddecode
(self, codes, text, refer, noise_scale=0.5,speed=1)
sovits/models.py:984
↓ 3 callersMethoddecode
(self, embed_ind)
sovits/module/core_vq.py:202
↓ 3 callersMethodencode
(self, x)
sovits/module/core_vq.py:192
↓ 3 callersFunctiong2p
(text)
sovits/text/english.py:368
↓ 3 callersMethodgenerate_audio_token
(self, ref_wav_path, spk="default")
sovits/process.py:107
↓ 3 callersFunctionlatin_to_hangul
(text)
sovits/text/korean.py:108
↓ 3 callersFunctiontranditional_to_simplified
(text: str)
sovits/text/zh_normalization/char_convert.py:30
↓ 2 callersMethod__init__
( self, dim: int, codebook_size: int, kmeans_init: int = False, kmeans
sovits/module/core_vq.py:112
↓ 2 callersMethod_get_relative_embeddings
(self, relative_embeddings, length)
sovits/module/attentions.py:310
↓ 2 callersMethod_is_port_available
(self, port)
inference/inference_llama.py:88
↓ 2 callersMethod_is_reduplication
(self, word: str)
sovits/text/tone_sandhi.py:731
↓ 2 callersMethod_split_word
(self, word: str)
sovits/text/tone_sandhi.py:587
↓ 2 callersMethodattention
(self, query, key, value, mask=None)
sovits/module/attentions.py:241
↓ 2 callersFunctionconvert_pad_shape
(pad_shape)
sovits/module/commons.py:110
↓ 2 callersFunctioncut_text
(text, punc)
sovits/utils.py:57
↓ 2 callersMethoddequantize
(self, embed_ind)
sovits/module/core_vq.py:188
↓ 2 callersFunctionema_inplace
(moving_avg, new, decay: float)
sovits/module/core_vq.py:46
↓ 2 callersMethodextract_latent
(self, x)
sovits/models.py:264
↓ 2 callersFunctionfix_g2pk2_error
(text)
sovits/text/korean.py:93
↓ 2 callersMethodgenerate
(self, ref_wav_path, prompt_text, text, temperature=1.0, repetition_penalty=1.0, cut_punc=No
inference/inference.py:62
↓ 2 callersMethodgetTexts
(text: str)
sovits/LangSegment.py:13
↓ 2 callersFunctionget_hash
(fp: str)
sovits/text/japanese.py:8
↓ 2 callersFunctionget_normed_text
(text,language,version,final=False)
sovits/utils.py:27
↓ 2 callersFunctionget_timing_signal_1d
(length, channels, min_timescale=1.0, max_timescale=1.0e4)
sovits/module/commons.py:67
↓ 2 callersFunctionhangul_number
Reference https://github.com/Kyubyong/g2pK
sovits/text/korean.py:121
↓ 2 callersFunctionname2go
(wav_name,wav_path)
data_process/audio_hubert_embedding.py:41
↓ 2 callersFunctionnumber_to_hangul
Reference https://github.com/Kyubyong/g2pK
sovits/text/korean.py:200
↓ 2 callersFunctionpack_audio
(audio_bytes, data, rate, media_type="wav", is_int32=False)
sovits/utils.py:77
↓ 2 callersFunctionphone2str
(phone_string: str, mobile=True)
sovits/text/zh_normalization/phonecode.py:33
↓ 2 callersMethodpostprocess_emb
(self, embed_ind, shape)
sovits/module/core_vq.py:185
↓ 2 callersMethodpreprocess
(self, x)
sovits/module/core_vq.py:171
↓ 2 callersFunctionprocess_transcription
Process transcription: convert to lowercase, capitalize first letter, add period at the end
data_process/text_format_conversion.py:6
↓ 2 callersMethodquantize
(self, x)
sovits/module/core_vq.py:175
↓ 2 callersFunctionsample_vectors
(samples, num: int)
sovits/module/core_vq.py:60
↓ 2 callersFunctionsearchsorted
(bin_locations, inputs, eps=1e-6)
sovits/module/transforms.py:45
↓ 2 callersFunctionspectral_normalize_torch
(magnitudes)
sovits/module/mel_processing.py:37
↓ 2 callersFunctiontext_normalize
(text)
sovits/text/english.py:226
↓ 2 callersFunctionweight_norm_modules
(module, name="weight", dim=0)
sovits/module/attentions.py:539
↓ 1 callersMethod__init__
(self, vq_model, hps)
sovits/process.py:27
↓ 1 callersMethod__setitem__
(self, key, value)
sovits/utils.py:402
↓ 1 callersMethod_absolute_position_to_relative_position
x: [b, h, l, l] ret: [b, h, l, 2*l-1]
sovits/module/attentions.py:349
↓ 1 callersMethod_attention_bias_proximal
Bias for self-attention to encourage attention to close positions. Args: length: an integer scalar. Returns: a Ten
sovits/module/attentions.py:365
↓ 1 callersMethod_bu_sandhi
(self, word: str, finals: List[str])
sovits/text/tone_sandhi.py:551
↓ 1 callersMethod_create_prompt
(self, prompt_text, text, audio_tokens)
inference/inference.py:34
↓ 1 callersMethod_get_available_port
(self, start_port=None, max_tries=10)
inference/inference_llama.py:96
↓ 1 callersFunction_get_value
(value_string: str, use_zero: bool=True)
sovits/text/zh_normalization/num.py:255
↓ 1 callersMethod_insert_english_uppercase
(word)
sovits/LangSegment.py:99
↓ 1 callersFunction_load_config
(config_path: os.PathLike)
sovits/text/g2pw/utils.py:86
↓ 1 callersMethod_matmul_with_relative_keys
x: [b, h, l, d] y: [h or 1, m, d] ret: [b, h, l, m]
sovits/module/attentions.py:301
↓ 1 callersMethod_matmul_with_relative_values
x: [b, h, l, m] y: [h or 1, m, d] ret: [b, h, l, d]
sovits/module/attentions.py:292
↓ 1 callersMethod_merge_bu
(self, seg: List[Tuple[str, str]])
sovits/text/tone_sandhi.py:645
↓ 1 callersMethod_merge_continuous_three_tones
( self, seg: List[Tuple[str, str]] )
sovits/text/tone_sandhi.py:700
↓ 1 callersMethod_merge_continuous_three_tones_2
( self, seg: List[Tuple[str, str]] )
sovits/text/tone_sandhi.py:735
↓ 1 callersMethod_merge_er
(self, seg: List[Tuple[str, str]])
sovits/text/tone_sandhi.py:765
↓ 1 callersMethod_merge_reduplication
(self, seg: List[Tuple[str, str]])
sovits/text/tone_sandhi.py:774
↓ 1 callersMethod_merge_yi
(self, seg: List[Tuple[str, str]])
sovits/text/tone_sandhi.py:665
↓ 1 callersMethod_neural_sandhi
(self, word: str, pos: str, finals: List[str])
sovits/text/tone_sandhi.py:495
↓ 1 callersMethod_parse_text
(text: str)
sovits/LangSegment.py:29
↓ 1 callersMethod_post_replace
(self, sentence: str)
sovits/text/zh_normalization/text_normlization.py:80
↓ 1 callersMethod_prepare_data
( self, sentences: List[str] )
sovits/text/g2pw/onnx_api.py:216
↓ 1 callersMethod_process_prompt
(self, ref_wav_path, prompt_text, text)
inference/inference.py:47
↓ 1 callersMethod_process_tags
(words: list, text: str)
sovits/LangSegment.py:56
↓ 1 callersMethod_relative_position_to_absolute_position
x: [b, h, l, 2*l-1] ret: [b, h, l, l]
sovits/module/attentions.py:328
↓ 1 callersFunction_remove_dup_and_empty
(lst_list)
sovits/text/g2pw/g2pw.py:100
↓ 1 callersFunction_remove_dup_items
(lst, remove_empty=False)
sovits/text/g2pw/g2pw.py:90
↓ 1 callersMethod_replace_patterns
(text: str, tag: str, pattern, process)
sovits/LangSegment.py:44
↓ 1 callersMethod_split
Split long text into sentences with sentence-splitting punctuations. Args: text (str): The input text. Returns:
sovits/text/zh_normalization/text_normlization.py:63
↓ 1 callersMethod_three_sandhi
(self, word: str, finals: List[str])
sovits/text/tone_sandhi.py:600
↓ 1 callersMethod_to_pinyin
(self, han, style, heteronym, errors, strict, **kwargs)
sovits/text/g2pw/g2pw.py:70
↓ 1 callersFunction_truncate
(max_len: int, text: str, query_id: int, tokens: List[str],
sovits/text/g2pw/dataset.py:114
↓ 1 callersFunction_truncate_texts
(window_size: int, texts: List[str], query_ids: List[int])
sovits/text/g2pw/dataset.py:99
↓ 1 callersMethod_wait_for_service
(self, port, timeout)
inference/inference_llama.py:113
↓ 1 callersMethod_yi_sandhi
(self, word: str, finals: List[str])
sovits/text/tone_sandhi.py:562
↓ 1 callersFunctioncache_dict
(g2p_dict, file_path)
sovits/text/english.py:198
↓ 1 callersFunctioncache_dict
(polyphonic_dict, file_path)
sovits/text/g2pw/g2pw.py:112
↓ 1 callersMethodcal_tts
(self, batch_prompts, temperature=1.0, repetition_penalty=1.0)
inference/inference_llama.py:148
↓ 1 callersMethodcalculate_channels
(self, L, kernel_size, stride, pad, n_convs)
sovits/models.py:680
↓ 1 callersFunctionclean_and_split_text
(text)
sovits/utils.py:223
↓ 1 callersFunctionclean_special
(text, language, special_s, target_symbol, version=None)
sovits/text/cleaner.py:47
↓ 1 callersFunctionclean_text_inf_phone
(text, language, version)
sovits/utils.py:22
next →1–100 of 387, ranked by callers