MCPcopy Create free account

hub / github.com/OHF-Voice/piper1-gpl / functions

Functions629 in github.com/OHF-Voice/piper1-gpl

↓ 2 callersFunctionerase_internal
libpiper/include/json.hpp:21733
↓ 2 callersFunctionfile_input_adapter
libpiper/include/json.hpp:6120
↓ 2 callersFunctionflatten
@brief return flattened JSON value @sa https://json.nlohmann.me/api/basic_json/flatten/
libpiper/include/json.hpp:23821
↓ 2 callersMethodfrom_dict
Load configuration from a dictionary.
src/piper/config.py:55
↓ 2 callersFunctionfrom_json_array_impl
libpiper/include/json.hpp:4750
↓ 2 callersFunctionfrom_json_inplace_array_impl
libpiper/include/json.hpp:4833
↓ 2 callersFunctionfrom_json_tuple_impl
libpiper/include/json.hpp:4939
↓ 2 callersFunctionget_cache_id
( row_number: int, text: str, max_length: int = 50, speaker_id: Optional[int] = None )
src/piper/train/vits/utils.py:59
↓ 2 callersFunctionget_timing_signal_1d
(length, channels, min_timescale=1.0, max_timescale=1.0e4)
src/piper/train/vits/commons.py:66
↓ 2 callersFunctiongrisu2
libpiper/include/json.hpp:17611
↓ 2 callersFunctiongrisu2_round
libpiper/include/json.hpp:17329
↓ 2 callersFunctionhex_bytes
! * @brief convert a byte to a uppercase hex representation * @param[in] byte byte to represent * @return representation ("00".."FF")
libpiper/include/json.hpp:18561
↓ 2 callersMethodinfer
( self, x, x_lengths, sid=None, noise_scale=0.667, length_scal
src/piper/train/vits/models.py:683
↓ 2 callersMethodis_end
return whether the iterator is at end
libpiper/include/json.hpp:12686
↓ 2 callersMethodis_errored
libpiper/include/json.hpp:7114
↓ 2 callersFunctionis_number_unsigned
@brief return whether value is an unsigned integer number @sa https://json.nlohmann.me/api/basic_json/is_number_unsigned/
libpiper/include/json.hpp:20508
↓ 2 callersFunctionlines_to_wav
()
src/piper/__main__.py:166
↓ 2 callersFunctionlittle_endianness
! @brief determine system byte order @return true if and only if system's byte order is little endian @note from https://stackoverflow.com/a/1001328
libpiper/include/json.hpp:9127
↓ 2 callersFunctionoperator++
! @brief post-increment (it++) @pre The iterator is initialized; i.e. `m_object != nullptr`. */
libpiper/include/json.hpp:13152
↓ 2 callersFunctionoperator--
! @brief post-decrement (it--) @pre The iterator is initialized; i.e. `m_object != nullptr`. */
libpiper/include/json.hpp:13203
↓ 2 callersFunctionparse
libpiper/include/json.hpp:23213
↓ 2 callersMethodphoneme_ids_to_audio
Synthesize raw audio from phoneme ids. :param phoneme_ids: List of phoneme ids. :param syn_config: Synthesis configuration.
src/piper/voice.py:423
↓ 2 callersFunctionphonemes_to_ids
Phonemes to ids.
src/piper/phoneme_ids.py:176
↓ 2 callersMethodphonemes_to_ids
Phonemes to ids. :param phonemes: List of phonemes. :return: List of phoneme ids.
src/piper/voice.py:254
↓ 2 callersMethodplay
Plays raw audio using ffplay.
src/piper/audio_playback.py:47
↓ 2 callersFunctionpop_back
@brief remove last reference token @sa https://json.nlohmann.me/api/json_pointer/pop_back/
libpiper/include/json.hpp:13840
↓ 2 callersMethodremove_weight_norm
(self)
src/piper/train/vits/modules.py:211
↓ 2 callersFunctionreset
reset token_buffer; current character is beginning of token
libpiper/include/json.hpp:8621
↓ 2 callersFunctionsearchsorted
(bin_locations, inputs, eps=1e-6)
src/piper/train/vits/transforms.py:44
↓ 2 callersFunctionsize
@brief returns the number of elements @sa https://json.nlohmann.me/api/basic_json/size/
libpiper/include/json.hpp:22114
↓ 2 callersFunctionskip_whitespace
libpiper/include/json.hpp:8801
↓ 2 callersFunctionspectral_normalize_torch
(magnitudes)
src/piper/train/vits/mel_processing.py:26
↓ 2 callersFunctionswap
@brief exchanges the values @sa https://json.nlohmann.me/api/basic_json/swap/
libpiper/include/json.hpp:22632
↓ 2 callersMethodwrite_bson
! @param[in] j JSON value to serialize @pre j.type() == value_t::object */
libpiper/include/json.hpp:14975
↓ 2 callersMethodwrite_cbor
! @param[in] j JSON value to serialize */
libpiper/include/json.hpp:15004
↓ 2 callersMethodwrite_msgpack
! @param[in] j JSON value to serialize */
libpiper/include/json.hpp:15328
↓ 1 callersMethod__init__
(self, utts: list[CachedUtterance])
src/piper/train/vits/dataset.py:579
↓ 1 callersMethod_absolute_position_to_relative_position
x: [b, h, l, l] ret: [b, h, l, 2*l-1]
src/piper/train/vits/attentions.py:333
↓ 1 callersMethod_annotate_text_with_diacritics
( self, input_text: str, diacritics: list[str], removed_chars: set[str] )
src/piper/tashkeel/__init__.py:115
↓ 1 callersMethod_annotate_text_with_diacritics_taskeen
( self, input_text: str, diacritics: list[str], removed_chars: set[str],
src/piper/tashkeel/__init__.py:132
↓ 1 callersMethod_attention_bias_proximal
Bias for self-attention to encourage attention to close positions. Args: length: an integer scalar. Returns: a Ten
src/piper/train/vits/attentions.py:350
↓ 1 callersMethod_extract_chars_and_diacritics
( self, text: str, normalize_diacritics: bool = True )
src/piper/tashkeel/__init__.py:160
↓ 1 callersMethod_hint_to_ids
(self, diacritics: list[str])
src/piper/tashkeel/__init__.py:204
↓ 1 callersMethod_infer
Infer target ids and logits.
src/piper/tashkeel/__init__.py:92
↓ 1 callersMethod_input_to_ids
(self, text: str)
src/piper/tashkeel/__init__.py:201
↓ 1 callersMethod_matmul_with_relative_keys
x: [b, h, l, d] y: [h or 1, m, d] ret: [b, h, l, m]
src/piper/train/vits/attentions.py:283
↓ 1 callersMethod_matmul_with_relative_values
x: [b, h, l, m] y: [h or 1, m, d] ret: [b, h, l, d]
src/piper/train/vits/attentions.py:274
↓ 1 callersFunction_normalize_g2pw_syllable
- Keep only syllables like [a-züv:]+[1-5] - Convert g2pW's 'u:' and 'ü' -> 'v' (ü-family) nu:3 -> nv3 (n + v) lu:e4 ->
src/piper/phonemize_chinese.py:327
↓ 1 callersMethod_numbers_to_words
(self, text: str)
src/piper/phonemize_chinese.py:255
↓ 1 callersMethod_relative_position_to_absolute_position
x: [b, h, l, 2*l-1] ret: [b, h, l, l]
src/piper/train/vits/attentions.py:311
↓ 1 callersFunction_split_initial_final_tone
'hang2' -> ('h', 'ang', '2') 'ai3' -> ('', 'ai', '3')
src/piper/phonemize_chinese.py:348
↓ 1 callersMethod_target_to_diacritics
(self, target_ids: list[int])
src/piper/tashkeel/__init__.py:207
↓ 1 callersMethod_to_valid_chars
(self, text: str)
src/piper/tashkeel/__init__.py:189
↓ 1 callersMethod_trim_silence
Trims silence from original array.
src/piper/train/vits/dataset.py:495
↓ 1 callersMethod_warmstart_vocoder_from_ckpt
(self, ckpt_path: str)
src/piper/train/vits/lightning.py:319
↓ 1 callersFunctionappend_exponent
libpiper/include/json.hpp:17711
↓ 1 callersMethodattention
(self, query, key, value, mask=None)
src/piper/train/vits/attentions.py:225
↓ 1 callersFunctionconcat_into
libpiper/include/json.hpp:4193
↓ 1 callersFunctionconcat_length
libpiper/include/json.hpp:4162
↓ 1 callersFunctioncrbegin
@brief returns a const reverse iterator to the last element @sa https://json.nlohmann.me/api/basic_json/crbegin/
libpiper/include/json.hpp:22014
↓ 1 callersFunctioncrend
@brief returns a const reverse iterator to one before the first @sa https://json.nlohmann.me/api/basic_json/crend/
libpiper/include/json.hpp:22021
↓ 1 callersMethoddiacritize
Add diacritics using libtashkeel.
src/piper/tashkeel/__init__.py:63
↓ 1 callersFunctiondiscriminator_loss
(disc_real_outputs, disc_generated_outputs)
src/piper/train/vits/losses.py:15
↓ 1 callersFunctiondownload_model
Ensure g2pW model is downloaded.
src/piper/phonemize_chinese.py:369
↓ 1 callersFunctiondump_float
! @brief dump a floating-point number Dump a given floating-point number to output stream @a o. Works internally with @a number_buffer.
libpiper/include/json.hpp:18683
↓ 1 callersFunctiondynamic_range_compression_torch
PARAMS ------ C: compression factor
src/piper/train/vits/mel_processing.py:8
↓ 1 callersFunctiondynamic_range_decompression_torch
PARAMS ------ C: compression factor used to compress
src/piper/train/vits/mel_processing.py:17
↓ 1 callersFunctionerase
libpiper/include/json.hpp:19042
↓ 1 callersFunctionfeature_loss
(fmap_r, fmap_g)
src/piper/train/vits/losses.py:4
↓ 1 callersFunctionfind_largest_pow10
! For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k. For n == 0, returns 1 and sets pow10 := 1. */
libpiper/include/json.hpp:17275
↓ 1 callersFunctionformat_buffer
libpiper/include/json.hpp:17763
↓ 1 callersFunctionfused_add_tanh_sigmoid_multiply
(input_a, input_b, n_channels)
src/piper/train/vits/commons.py:100
↓ 1 callersFunctiongenerator_loss
(disc_outputs)
src/piper/train/vits/losses.py:31
↓ 1 callersFunctionget_cached_power_for_binary_exponent
! For a normalized diyfp w = f * 2^e, this function returns a (normalized) cached power-of-ten c = f_c * 2^e_c, such that the exponent of the product
libpiper/include/json.hpp:17111
↓ 1 callersFunctionget_impl_ptr
libpiper/include/json.hpp:20581
↓ 1 callersFunctionget_ptr
libpiper/include/json.hpp:20721
↓ 1 callersMethodget_value
libpiper/include/json.hpp:12662
↓ 1 callersFunctiongrisu2_digit_gen
! Generates V = buffer * 10^decimal_exponent, such that M- <= V <= M+. M- and M+ must be normalized and share the same exponent -60 <= e <= -32. */
libpiper/include/json.hpp:17370
↓ 1 callersFunctionhash
libpiper/include/json.hpp:5951
↓ 1 callersFunctionint_to_string
libpiper/include/json.hpp:5108
↓ 1 callersMethodis_available
Returns true if ffplay is available.
src/piper/audio_playback.py:56
↓ 1 callersFunctionis_negative_number
libpiper/include/json.hpp:18572
↓ 1 callersFunctionis_number
@brief return whether value is a number @sa https://json.nlohmann.me/api/basic_json/is_number/
libpiper/include/json.hpp:20494
↓ 1 callersFunctionis_structured
@brief return whether type is structured @sa https://json.nlohmann.me/api/basic_json/is_structured/
libpiper/include/json.hpp:20473
↓ 1 callersFunctionkl_loss
z_p, logs_q: [b, h, t_t] m_p, logs_p: [b, h, t_t]
src/piper/train/vits/losses.py:43
↓ 1 callersFunctionlist_voices
List available voices and exit.
src/piper/download_voices.py:66
↓ 1 callersFunctionmain
Main entry point.
src/piper/patch_voice_with_alignment.py:15
↓ 1 callersFunctionmain
Run piper text-to-speech engine.
src/piper/__main__.py:22
↓ 1 callersFunctionmain
Download Piper voices.
src/piper/download_voices.py:22
↓ 1 callersFunctionmain
Run HTTP server.
src/piper/http_server.py:20
↓ 1 callersFunctionmain
()
src/piper/train/__main__.py:24
↓ 1 callersFunctionmain
Main entry point
src/piper/train/export_onnx.py:16
↓ 1 callersFunctionmain
Main entry point
src/piper/train/export_generator.py:14
↓ 1 callersFunctionmain
Export test voice.
tests/generate_test_voice.py:49
↓ 1 callersFunctionmel_spectrogram_torch
( y, n_fft, num_mels, sampling_rate, hop_size, win_size, fmin, fmax, center=False )
src/piper/train/vits/mel_processing.py:93
↓ 1 callersFunctionoperator+
! @brief add to iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
libpiper/include/json.hpp:13408
↓ 1 callersMethodoperator+
add to iterator
libpiper/include/json.hpp:13633
↓ 1 callersFunctionoperator+=
@brief add an object to an array @sa https://json.nlohmann.me/api/basic_json/operator+=/
libpiper/include/json.hpp:22283
↓ 1 callersFunctionoperator-
! @brief subtract from iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
libpiper/include/json.hpp:13430
↓ 1 callersFunctionoperator<
libpiper/include/json.hpp:2886
← previousnext →101–200 of 629, ranked by callers