MCPcopy Create free account

hub / github.com/SparkAudio/Spark-TTS / types & classes

Types & classes43 in github.com/SparkAudio/Spark-TTS

↓ 4 callersClassECAPA_TDNN
sparktts/modules/speaker/ecapa_tdnn.py:152
↓ 4 callersClassSamplingBlock
Sampling block for upsampling or downsampling
sparktts/modules/blocks/samper.py:22
↓ 4 callersClassSnake1d
sparktts/modules/blocks/layers.py:42
↓ 4 callersClassVocosBackbone
Vocos backbone module built with ConvNeXt blocks. Supports additional conditioning with Adaptive Layer Normalization Args: input_cha
sparktts/modules/blocks/vocos.py:273
↓ 3 callersClassBiCodecTokenizer
BiCodec tokenizer for handling audio input and tokenization.
sparktts/models/audio_tokenizer.py:29
↓ 3 callersClassConv1dReluBn
sparktts/modules/speaker/ecapa_tdnn.py:89
↓ 3 callersClassDecoder
Decoder module with convnext and upsampling blocks Args: sample_ratios (List[int]): sample ratios example: [2, 2] means downs
sparktts/modules/encoder_decoder/feat_decoder.py:26
↓ 3 callersClassResidualFSQ
Follows Algorithm 1. in https://arxiv.org/pdf/2107.03312.pdf
sparktts/modules/fsq/residual_fsq.py:48
↓ 3 callersClassResidualUnit
sparktts/modules/blocks/layers.py:51
↓ 3 callersClassSE_Res2Block
sparktts/modules/speaker/ecapa_tdnn.py:135
↓ 2 callersClassAdaLayerNorm
Adaptive Layer Normalization module with learnable embeddings per `num_embeddings` classes Args: condition_dim (int): Dimension of t
sparktts/modules/blocks/vocos.py:87
↓ 2 callersClassEncoder
Encoder module with convnext and downsampling blocks
sparktts/modules/encoder_decoder/feat_encoder.py:26
↓ 2 callersClassMHASTP
Multi head attentive statistics pooling Reference: Self Multi-Head Attention for Speaker Recognition https://arxiv.org/pdf/1906.0
sparktts/modules/speaker/pooling_layers.py:151
↓ 2 callersClassMQMHASTP
An attentive pooling Reference: multi query multi head attentive statistics pooling https://arxiv.org/pdf/2110.05042.pdf Args
sparktts/modules/speaker/pooling_layers.py:225
↓ 2 callersClassPerceiverResampler
sparktts/modules/speaker/perceiver_encoder.py:297
↓ 2 callersClassSparkTTS
Spark-TTS for text-to-speech generation.
cli/SparkTTS.py:27
↓ 2 callersClassSpeakerEncoder
Args: input_dim (int): acoustic feature dimension out_dim (int): output dimension of x-vector and d-vector latent_dim (i
sparktts/modules/speaker/speaker_encoder.py:29
↓ 1 callersClassAttend
sparktts/modules/speaker/perceiver_encoder.py:52
↓ 1 callersClassAttention
sparktts/modules/speaker/perceiver_encoder.py:254
↓ 1 callersClassCausalConv1d
sparktts/modules/speaker/perceiver_encoder.py:217
↓ 1 callersClassConvNeXtBlock
ConvNeXt Block adapted from https://github.com/facebookresearch/ConvNeXt to 1D audio signal. Args: dim (int): Number of input channels.
sparktts/modules/blocks/vocos.py:26
↓ 1 callersClassDecoderBlock
sparktts/modules/encoder_decoder/wave_generator.py:29
↓ 1 callersClassFSQ
sparktts/modules/fsq/finite_scalar_quantization.py:63
↓ 1 callersClassFactorizedVectorQuantize
sparktts/modules/vq/factorized_vector_quantize.py:36
↓ 1 callersClassGEGLU
sparktts/modules/speaker/perceiver_encoder.py:232
↓ 1 callersClassRMSNorm
sparktts/modules/speaker/perceiver_encoder.py:195
↓ 1 callersClassRes2Conv1dReluBn
in_channels == out_channels == channels
sparktts/modules/speaker/ecapa_tdnn.py:28
↓ 1 callersClassResBlock1
ResBlock adapted from HiFi-GAN V1 (https://github.com/jik876/hifi-gan) with dilated 1D convolutions, but without upsampling layers. Args
sparktts/modules/blocks/vocos.py:113
↓ 1 callersClassSE_Connect
sparktts/modules/speaker/ecapa_tdnn.py:115
↓ 1 callersClassUserData
runtime/triton_trtllm/client_grpc.py:65
↓ 1 callersClassWaveGenerator
sparktts/modules/encoder_decoder/wave_generator.py:56
ClassASTP
Attentive statistics pooling: Channel- and context-dependent statistics pooling, first used in ECAPA_TDNN.
sparktts/modules/speaker/pooling_layers.py:92
ClassBackbone
Base class for the generator's backbone. It preserves the same temporal resolution across all layers.
sparktts/modules/blocks/vocos.py:257
ClassBiCodec
BiCodec model for speech synthesis, incorporating a speaker encoder, feature encoder/decoder, quantizer, and wave generator.
sparktts/models/bicodec.py:31
ClassGroupedResidualFSQ
sparktts/modules/fsq/residual_fsq.py:269
ClassTAP
Temporal average pooling, only first-order mean is considered
sparktts/modules/speaker/pooling_layers.py:27
ClassTSDP
Temporal standard deviation pooling, only second-order std is considered
sparktts/modules/speaker/pooling_layers.py:47
ClassTSTP
Temporal statistics pooling, concatenate mean and std, which is used in x-vector Comment: simple concatenation can not make full use of b
sparktts/modules/speaker/pooling_layers.py:67
ClassTokenParser
Turn label to special token
sparktts/utils/token_parser.py:66
ClassTritonPythonModel
Triton Python model for Spark TTS. This model orchestrates the end-to-end TTS pipeline by coordinating between audio tokenizer, LLM, and
runtime/triton_trtllm/model_repo/spark_tts/1/model.py:101
ClassTritonPythonModel
Triton Python model for audio tokenization. This model takes reference audio input and extracts semantic and global tokens using BiCodec
runtime/triton_trtllm/model_repo/audio_tokenizer/1/model.py:37
ClassTritonPythonModel
Triton Python model for vocoder. This model takes global and semantic tokens as input and generates audio waveforms using the BiCodec voc
runtime/triton_trtllm/model_repo/vocoder/1/model.py:43
ClassVocosResNetBackbone
Vocos backbone module built with ResBlocks. Args: input_channels (int): Number of input features channels. dim (int): Hidden
sparktts/modules/blocks/vocos.py:338