VoicevoxCore
Loading...
Searching...
No Matches
voicevox_core.h
Go to the documentation of this file.
1
70#ifndef VOICEVOX_CORE_INCLUDE_GUARD
71#define VOICEVOX_CORE_INCLUDE_GUARD
72
73/* Generated with cbindgen:0.28.0 */
74
75#ifdef __cplusplus
76#include <cstdint>
77#else // __cplusplus
78#include <stdbool.h>
79#include <stdint.h>
80#endif // __cplusplus
81
82//#define VOICEVOX_LINK_ONNXRUNTIME
83//#define VOICEVOX_LOAD_ONNXRUNTIME
84
85#if !(defined(VOICEVOX_LINK_ONNXRUNTIME) || defined(VOICEVOX_LOAD_ONNXRUNTIME))
86#error "either `VOICEVOX_LINK_ONNXRUNTIME` or `VOICEVOX_LOAD_ONNXRUNTIME` must be enabled"
87#endif
88
89#if defined(VOICEVOX_LINK_ONNXRUNTIME) && defined(VOICEVOX_LOAD_ONNXRUNTIME)
90#error "`VOICEVOX_LINK_ONNXRUNTIME` or `VOICEVOX_LOAD_ONNXRUNTIME` cannot be enabled at the same time"
91#endif
92
99#ifdef __cplusplus
100 : int32_t
101#endif // __cplusplus
102 {
115};
116#ifndef __cplusplus
117typedef int32_t VoicevoxAccelerationMode;
118#endif // __cplusplus
119
126#ifdef __cplusplus
127 : int32_t
128#endif // __cplusplus
129 {
254};
255#ifndef __cplusplus
256typedef int32_t VoicevoxResultCode;
257#endif // __cplusplus
258
290#ifndef __cplusplus
291typedef int32_t VoicevoxUserDictWordType;
292#endif // __cplusplus
293
314
331
340
347
357
358#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
376#endif
377
394
412typedef const uint8_t (*VoicevoxVoiceModelId)[16];
413
421typedef uint32_t VoicevoxStyleId;
422
434
446
474
475#ifdef __cplusplus
476extern "C" {
477#endif // __cplusplus
478
479#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
491#ifdef _WIN32
492__declspec(dllimport)
493#endif
495#endif
496
497#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
507#ifdef _WIN32
508__declspec(dllimport)
509#endif
511#endif
512
513#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
525#ifdef _WIN32
526__declspec(dllimport)
527#endif
529#endif
530
540#ifdef _WIN32
541__declspec(dllimport)
542#endif
544
545#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
567#ifdef _WIN32
568__declspec(dllimport)
569#endif
571 const struct VoicevoxOnnxruntime **out_onnxruntime);
572#endif
573
574#if defined(VOICEVOX_LINK_ONNXRUNTIME)
594#ifdef _WIN32
595__declspec(dllimport)
596#endif
598#endif
599
624#ifdef _WIN32
625__declspec(dllimport)
626#endif
627VoicevoxResultCode voicevox_open_jtalk_rc_new(const char *open_jtalk_dic_dir,
628 struct OpenJtalkRc **out_open_jtalk);
629
640#ifdef _WIN32
641__declspec(dllimport)
642#endif
644 const struct VoicevoxUserDict *user_dict);
645
657#ifdef _WIN32
658__declspec(dllimport)
659#endif
661 const char *text,
662 char **output_accent_phrases_json);
663
681#ifdef _WIN32
682__declspec(dllimport)
683#endif
685
692#ifdef _WIN32
693__declspec(dllimport)
694#endif
696
703#ifdef _WIN32
704__declspec(dllimport)
705#endif
706const char *voicevox_get_version(void);
707
723#ifdef _WIN32
724__declspec(dllimport)
725#endif
727 char **output_audio_query_json);
728
760#ifdef _WIN32
761__declspec(dllimport)
762#endif
764
791#ifdef _WIN32
792__declspec(dllimport)
793#endif
795
823#ifdef _WIN32
824__declspec(dllimport)
825#endif
827
849#ifdef _WIN32
850__declspec(dllimport)
851#endif
853
875#ifdef _WIN32
876__declspec(dllimport)
877#endif
879
903#ifdef _WIN32
904__declspec(dllimport)
905#endif
906VoicevoxResultCode voicevox_frame_audio_query_validate(const char *frame_audio_query_json);
907
927#ifdef _WIN32
928__declspec(dllimport)
929#endif
931
951#ifdef _WIN32
952__declspec(dllimport)
953#endif
955 const char *frame_audio_query_json);
956
972#ifdef _WIN32
973__declspec(dllimport)
974#endif
976 struct VoicevoxVoiceModelFile **out_model);
977
990#ifdef _WIN32
991__declspec(dllimport)
992#endif
994 uint8_t (*output_voice_model_id)[16]);
995
1007#ifdef _WIN32
1008__declspec(dllimport)
1009#endif
1011
1023#ifdef _WIN32
1024__declspec(dllimport)
1025#endif
1027
1045#ifdef _WIN32
1046__declspec(dllimport)
1047#endif
1049 const struct OpenJtalkRc *open_jtalk,
1050 struct VoicevoxInitializeOptions options,
1051 struct VoicevoxSynthesizer **out_synthesizer);
1052
1064#ifdef _WIN32
1065__declspec(dllimport)
1066#endif
1068
1079#ifdef _WIN32
1080__declspec(dllimport)
1081#endif
1083 const struct VoicevoxVoiceModelFile *model);
1084
1099#ifdef _WIN32
1100__declspec(dllimport)
1101#endif
1103 VoicevoxVoiceModelId model_id);
1104
1114#ifdef _WIN32
1115__declspec(dllimport)
1116#endif
1118
1128#ifdef _WIN32
1129__declspec(dllimport)
1130#endif
1132
1147#ifdef _WIN32
1148__declspec(dllimport)
1149#endif
1151 VoicevoxVoiceModelId model_id);
1152
1164#ifdef _WIN32
1165__declspec(dllimport)
1166#endif
1168
1195#ifdef _WIN32
1196__declspec(dllimport)
1197#endif
1199 char **output_supported_devices_json);
1200
1229#ifdef _WIN32
1230__declspec(dllimport)
1231#endif
1233 const char *kana,
1234 VoicevoxStyleId style_id,
1235 char **output_audio_query_json);
1236
1270#ifdef _WIN32
1271__declspec(dllimport)
1272#endif
1274 const char *text,
1275 VoicevoxStyleId style_id,
1276 char **output_audio_query_json);
1277
1307#ifdef _WIN32
1308__declspec(dllimport)
1309#endif
1311 const char *kana,
1312 VoicevoxStyleId style_id,
1313 char **output_accent_phrases_json);
1314
1348#ifdef _WIN32
1349__declspec(dllimport)
1350#endif
1352 const char *text,
1353 VoicevoxStyleId style_id,
1354 char **output_accent_phrases_json);
1355
1380#ifdef _WIN32
1381__declspec(dllimport)
1382#endif
1384 const char *accent_phrases_json,
1385 VoicevoxStyleId style_id,
1386 char **output_accent_phrases_json);
1387
1407#ifdef _WIN32
1408__declspec(dllimport)
1409#endif
1411 const char *accent_phrases_json,
1412 VoicevoxStyleId style_id,
1413 char **output_accent_phrases_json);
1414
1434#ifdef _WIN32
1435__declspec(dllimport)
1436#endif
1438 const char *accent_phrases_json,
1439 VoicevoxStyleId style_id,
1440 char **output_accent_phrases_json);
1441
1448#ifdef _WIN32
1449__declspec(dllimport)
1450#endif
1452
1475#ifdef _WIN32
1476__declspec(dllimport)
1477#endif
1479 const char *audio_query_json,
1480 VoicevoxStyleId style_id,
1481 struct VoicevoxSynthesisOptions options,
1482 uintptr_t *output_wav_length,
1483 uint8_t **output_wav);
1484
1491#ifdef _WIN32
1492__declspec(dllimport)
1493#endif
1495
1518#ifdef _WIN32
1519__declspec(dllimport)
1520#endif
1522 const char *kana,
1523 VoicevoxStyleId style_id,
1524 struct VoicevoxTtsOptions options,
1525 uintptr_t *output_wav_length,
1526 uint8_t **output_wav);
1527
1555#ifdef _WIN32
1556__declspec(dllimport)
1557#endif
1559 const char *text,
1560 VoicevoxStyleId style_id,
1561 struct VoicevoxTtsOptions options,
1562 uintptr_t *output_wav_length,
1563 uint8_t **output_wav);
1564
1611#ifdef _WIN32
1612__declspec(dllimport)
1613#endif
1615 const char *score_json,
1616 VoicevoxStyleId style_id,
1617 char **output_frame_audio_query_json);
1618
1646#ifdef _WIN32
1647__declspec(dllimport)
1648#endif
1650 const char *score_json,
1651 const char *frame_audio_query_json,
1652 VoicevoxStyleId style_id,
1653 char **output_f0_json);
1654
1682#ifdef _WIN32
1683__declspec(dllimport)
1684#endif
1686 const char *score_json,
1687 const char *frame_audio_query_json,
1688 VoicevoxStyleId style_id,
1689 char **output_volume_json);
1690
1729#ifdef _WIN32
1730__declspec(dllimport)
1731#endif
1733 const char *frame_audio_query_json,
1734 VoicevoxStyleId style_id,
1735 uintptr_t *output_wav_length,
1736 uint8_t **output_wav);
1737
1768#ifdef _WIN32
1769__declspec(dllimport)
1770#endif
1771void voicevox_json_free(char *json);
1772
1790#ifdef _WIN32
1791__declspec(dllimport)
1792#endif
1793void voicevox_wav_free(uint8_t *wav);
1794
1819#ifdef _WIN32
1820__declspec(dllimport)
1821#endif
1823
1834#ifdef _WIN32
1835__declspec(dllimport)
1836#endif
1838 const char *pronunciation,
1839 uintptr_t accent_type);
1840
1848#ifdef _WIN32
1849__declspec(dllimport)
1850#endif
1852
1866#ifdef _WIN32
1867__declspec(dllimport)
1868#endif
1870 const char *dict_path);
1871
1890#ifdef _WIN32
1891__declspec(dllimport)
1892#endif
1894 const struct VoicevoxUserDictWord *word,
1895 uint8_t (*output_word_uuid)[16]);
1896
1912#ifdef _WIN32
1913__declspec(dllimport)
1914#endif
1916 const uint8_t (*word_uuid)[16],
1917 const struct VoicevoxUserDictWord *word);
1918
1932#ifdef _WIN32
1933__declspec(dllimport)
1934#endif
1936 const uint8_t (*word_uuid)[16]);
1937
1953#ifdef _WIN32
1954__declspec(dllimport)
1955#endif
1957 char **output_json);
1958
1968#ifdef _WIN32
1969__declspec(dllimport)
1970#endif
1972 const struct VoicevoxUserDict *other_dict);
1973
1986#ifdef _WIN32
1987__declspec(dllimport)
1988#endif
1990 const char *path);
1991
2003#ifdef _WIN32
2004__declspec(dllimport)
2005#endif
2007
2008#ifdef __cplusplus
2009} // extern "C"
2010#endif // __cplusplus
2011
2012#endif /* VOICEVOX_CORE_INCLUDE_GUARD */
Definition voicevox_core.h:383
uint16_t cpu_num_threads
Definition voicevox_core.h:392
VoicevoxAccelerationMode acceleration_mode
Definition voicevox_core.h:387
Definition voicevox_core.h:368
const char * filename
Definition voicevox_core.h:374
Definition voicevox_core.h:428
bool enable_interrogative_upspeak
Definition voicevox_core.h:432
Definition voicevox_core.h:440
bool enable_interrogative_upspeak
Definition voicevox_core.h:444
Definition voicevox_core.h:452
VoicevoxUserDictWordType word_type
Definition voicevox_core.h:468
uint32_t priority
Definition voicevox_core.h:472
const char * surface
Definition voicevox_core.h:456
uintptr_t accent_type
Definition voicevox_core.h:464
const char * pronunciation
Definition voicevox_core.h:460
void voicevox_open_jtalk_rc_delete(struct OpenJtalkRc *open_jtalk)
VoicevoxResultCode voicevox_synthesizer_create_accent_phrases(const struct VoicevoxSynthesizer *synthesizer, const char *text, VoicevoxStyleId style_id, char **output_accent_phrases_json)
VoicevoxResultCode voicevox_synthesizer_create_sing_frame_f0(const struct VoicevoxSynthesizer *synthesizer, const char *score_json, const char *frame_audio_query_json, VoicevoxStyleId style_id, char **output_f0_json)
struct VoicevoxSynthesisOptions VoicevoxSynthesisOptions
VoicevoxResultCode voicevox_synthesizer_replace_mora_data(const struct VoicevoxSynthesizer *synthesizer, const char *accent_phrases_json, VoicevoxStyleId style_id, char **output_accent_phrases_json)
VoicevoxResultCode voicevox_synthesizer_create_audio_query(const struct VoicevoxSynthesizer *synthesizer, const char *text, VoicevoxStyleId style_id, char **output_audio_query_json)
uint32_t VoicevoxStyleId
Definition voicevox_core.h:421
VoicevoxResultCode voicevox_user_dict_save(const struct VoicevoxUserDict *user_dict, const char *path)
void voicevox_voice_model_file_id(const struct VoicevoxVoiceModelFile *model, uint8_t(*output_voice_model_id)[16])
struct OpenJtalkRc OpenJtalkRc
Definition voicevox_core.h:313
VoicevoxResultCode voicevox_synthesizer_create_sing_frame_volume(const struct VoicevoxSynthesizer *synthesizer, const char *score_json, const char *frame_audio_query_json, VoicevoxStyleId style_id, char **output_volume_json)
VoicevoxUserDictWordType
Definition voicevox_core.h:268
@ VOICEVOX_USER_DICT_WORD_TYPE_ADJECTIVE
Definition voicevox_core.h:284
@ VOICEVOX_USER_DICT_WORD_TYPE_SUFFIX
Definition voicevox_core.h:288
@ VOICEVOX_USER_DICT_WORD_TYPE_PROPER_NOUN
Definition voicevox_core.h:272
@ VOICEVOX_USER_DICT_WORD_TYPE_VERB
Definition voicevox_core.h:280
@ VOICEVOX_USER_DICT_WORD_TYPE_COMMON_NOUN
Definition voicevox_core.h:276
VoicevoxResultCode voicevox_onnxruntime_create_supported_devices_json(const struct VoicevoxOnnxruntime *onnxruntime, char **output_supported_devices_json)
VoicevoxResultCode voicevox_score_validate(const char *score_json)
VoicevoxResultCode voicevox_synthesizer_unload_voice_model(const struct VoicevoxSynthesizer *synthesizer, VoicevoxVoiceModelId model_id)
char * voicevox_synthesizer_create_metas_json(const struct VoicevoxSynthesizer *synthesizer)
VoicevoxResultCode voicevox_frame_phoneme_validate(const char *frame_phoneme_json)
VoicevoxResultCode voicevox_audio_query_create_from_accent_phrases(const char *accent_phrases_json, char **output_audio_query_json)
VoicevoxResultCode voicevox_synthesizer_load_voice_model(const struct VoicevoxSynthesizer *synthesizer, const struct VoicevoxVoiceModelFile *model)
VoicevoxResultCode voicevox_synthesizer_tts(const struct VoicevoxSynthesizer *synthesizer, const char *text, VoicevoxStyleId style_id, struct VoicevoxTtsOptions options, uintptr_t *output_wav_length, uint8_t **output_wav)
VoicevoxResultCode voicevox_open_jtalk_rc_new(const char *open_jtalk_dic_dir, struct OpenJtalkRc **out_open_jtalk)
const uint8_t(* VoicevoxVoiceModelId)[16]
Definition voicevox_core.h:412
VoicevoxResultCode voicevox_synthesizer_create_accent_phrases_from_kana(const struct VoicevoxSynthesizer *synthesizer, const char *kana, VoicevoxStyleId style_id, char **output_accent_phrases_json)
VoicevoxResultCode voicevox_audio_query_validate(const char *audio_query_json)
VoicevoxResultCode voicevox_synthesizer_new(const struct VoicevoxOnnxruntime *onnxruntime, const struct OpenJtalkRc *open_jtalk, struct VoicevoxInitializeOptions options, struct VoicevoxSynthesizer **out_synthesizer)
void voicevox_voice_model_file_delete(struct VoicevoxVoiceModelFile *model)
void voicevox_json_free(char *json)
struct VoicevoxSynthesisOptions voicevox_make_default_synthesis_options(void)
struct VoicevoxInitializeOptions VoicevoxInitializeOptions
VoicevoxResultCode voicevox_onnxruntime_load_once(struct VoicevoxLoadOnnxruntimeOptions options, const struct VoicevoxOnnxruntime **out_onnxruntime)
struct VoicevoxVoiceModelFile VoicevoxVoiceModelFile
Definition voicevox_core.h:356
const struct VoicevoxOnnxruntime * voicevox_onnxruntime_get(void)
VoicevoxResultCode voicevox_synthesizer_synthesis(const struct VoicevoxSynthesizer *synthesizer, const char *audio_query_json, VoicevoxStyleId style_id, struct VoicevoxSynthesisOptions options, uintptr_t *output_wav_length, uint8_t **output_wav)
const char * voicevox_get_onnxruntime_lib_unversioned_filename(void)
VoicevoxResultCode
Definition voicevox_core.h:129
@ VOICEVOX_RESULT_INVALID_FRAME_PHONEME_ERROR
Definition voicevox_core.h:249
@ VOICEVOX_RESULT_RUN_MODEL_ERROR
Definition voicevox_core.h:161
@ VOICEVOX_RESULT_USER_DICT_WORD_NOT_FOUND_ERROR
Definition voicevox_core.h:217
@ VOICEVOX_RESULT_USE_USER_DICT_ERROR
Definition voicevox_core.h:221
@ VOICEVOX_RESULT_GPU_SUPPORT_ERROR
Definition voicevox_core.h:145
@ VOICEVOX_RESULT_INVALID_USER_DICT_WORD_ERROR
Definition voicevox_core.h:225
@ VOICEVOX_RESULT_INVALID_UUID_ERROR
Definition voicevox_core.h:229
@ VOICEVOX_RESULT_INVALID_ACCENT_PHRASE_ERROR
Definition voicevox_core.h:181
@ VOICEVOX_RESULT_ANALYZE_TEXT_ERROR
Definition voicevox_core.h:165
@ VOICEVOX_RESULT_MODEL_ALREADY_LOADED_ERROR
Definition voicevox_core.h:197
@ VOICEVOX_RESULT_INIT_INFERENCE_RUNTIME_ERROR
Definition voicevox_core.h:149
@ VOICEVOX_RESULT_NOT_LOADED_OPENJTALK_DICT_ERROR
Definition voicevox_core.h:137
@ VOICEVOX_RESULT_INVALID_AUDIO_QUERY_ERROR
Definition voicevox_core.h:177
@ VOICEVOX_RESULT_SAVE_USER_DICT_ERROR
Definition voicevox_core.h:213
@ VOICEVOX_RESULT_INVALID_MODEL_DATA_ERROR
Definition voicevox_core.h:205
@ VOICEVOX_RESULT_OPEN_ZIP_FILE_ERROR
Definition voicevox_core.h:185
@ VOICEVOX_RESULT_OK
Definition voicevox_core.h:133
@ VOICEVOX_RESULT_PARSE_KANA_ERROR
Definition voicevox_core.h:173
@ VOICEVOX_RESULT_STYLE_NOT_FOUND_ERROR
Definition voicevox_core.h:153
@ VOICEVOX_RESULT_INVALID_FRAME_AUDIO_QUERY_ERROR
Definition voicevox_core.h:245
@ VOICEVOX_RESULT_GET_SUPPORTED_DEVICES_ERROR
Definition voicevox_core.h:141
@ VOICEVOX_RESULT_INCOMPATIBLE_QUERIES_ERROR
Definition voicevox_core.h:253
@ VOICEVOX_RESULT_STYLE_ALREADY_LOADED_ERROR
Definition voicevox_core.h:201
@ VOICEVOX_RESULT_LOAD_USER_DICT_ERROR
Definition voicevox_core.h:209
@ VOICEVOX_RESULT_MODEL_NOT_FOUND_ERROR
Definition voicevox_core.h:157
@ VOICEVOX_RESULT_READ_ZIP_ENTRY_ERROR
Definition voicevox_core.h:189
@ VOICEVOX_RESULT_INVALID_NOTE_ERROR
Definition voicevox_core.h:241
@ VOICEVOX_RESULT_INVALID_MODEL_HEADER_ERROR
Definition voicevox_core.h:193
@ VOICEVOX_RESULT_INVALID_SCORE_ERROR
Definition voicevox_core.h:237
@ VOICEVOX_RESULT_INVALID_UTF8_INPUT_ERROR
Definition voicevox_core.h:169
@ VOICEVOX_RESULT_INVALID_MORA_ERROR
Definition voicevox_core.h:233
struct VoicevoxTtsOptions voicevox_make_default_tts_options(void)
VoicevoxResultCode voicevox_user_dict_to_json(const struct VoicevoxUserDict *user_dict, char **output_json)
VoicevoxAccelerationMode
Definition voicevox_core.h:102
@ VOICEVOX_ACCELERATION_MODE_GPU
Definition voicevox_core.h:114
@ VOICEVOX_ACCELERATION_MODE_AUTO
Definition voicevox_core.h:106
@ VOICEVOX_ACCELERATION_MODE_CPU
Definition voicevox_core.h:110
VoicevoxResultCode voicevox_accent_phrase_validate(const char *accent_phrase_json)
const char * voicevox_error_result_to_message(VoicevoxResultCode result_code)
VoicevoxResultCode voicevox_open_jtalk_rc_use_user_dict(const struct OpenJtalkRc *open_jtalk, const struct VoicevoxUserDict *user_dict)
bool voicevox_synthesizer_is_loaded_voice_model(const struct VoicevoxSynthesizer *synthesizer, VoicevoxVoiceModelId model_id)
VoicevoxResultCode voicevox_synthesizer_frame_synthesis(const struct VoicevoxSynthesizer *synthesizer, const char *frame_audio_query_json, VoicevoxStyleId style_id, uintptr_t *output_wav_length, uint8_t **output_wav)
VoicevoxResultCode voicevox_synthesizer_tts_from_kana(const struct VoicevoxSynthesizer *synthesizer, const char *kana, VoicevoxStyleId style_id, struct VoicevoxTtsOptions options, uintptr_t *output_wav_length, uint8_t **output_wav)
VoicevoxResultCode voicevox_user_dict_update_word(const struct VoicevoxUserDict *user_dict, const uint8_t(*word_uuid)[16], const struct VoicevoxUserDictWord *word)
VoicevoxResultCode voicevox_ensure_compatible(const char *score_json, const char *frame_audio_query_json)
struct VoicevoxSynthesizer VoicevoxSynthesizer
Definition voicevox_core.h:339
VoicevoxResultCode voicevox_mora_validate(const char *mora_json)
bool voicevox_synthesizer_is_gpu_mode(const struct VoicevoxSynthesizer *synthesizer)
char * voicevox_voice_model_file_create_metas_json(const struct VoicevoxVoiceModelFile *model)
VoicevoxResultCode voicevox_open_jtalk_rc_analyze(const struct OpenJtalkRc *open_jtalk, const char *text, char **output_accent_phrases_json)
VoicevoxResultCode voicevox_synthesizer_create_sing_frame_audio_query(const struct VoicevoxSynthesizer *synthesizer, const char *score_json, VoicevoxStyleId style_id, char **output_frame_audio_query_json)
struct VoicevoxTtsOptions VoicevoxTtsOptions
struct VoicevoxUserDict VoicevoxUserDict
Definition voicevox_core.h:346
void voicevox_synthesizer_delete(struct VoicevoxSynthesizer *synthesizer)
VoicevoxResultCode voicevox_synthesizer_create_audio_query_from_kana(const struct VoicevoxSynthesizer *synthesizer, const char *kana, VoicevoxStyleId style_id, char **output_audio_query_json)
void voicevox_wav_free(uint8_t *wav)
VoicevoxResultCode voicevox_note_validate(const char *note_json)
const char * voicevox_get_version(void)
struct VoicevoxUserDict * voicevox_user_dict_new(void)
struct VoicevoxLoadOnnxruntimeOptions VoicevoxLoadOnnxruntimeOptions
VoicevoxResultCode voicevox_user_dict_remove_word(const struct VoicevoxUserDict *user_dict, const uint8_t(*word_uuid)[16])
const struct VoicevoxOnnxruntime * voicevox_synthesizer_get_onnxruntime(const struct VoicevoxSynthesizer *synthesizer)
VoicevoxResultCode voicevox_frame_audio_query_validate(const char *frame_audio_query_json)
struct VoicevoxOnnxruntime VoicevoxOnnxruntime
Definition voicevox_core.h:330
const char * voicevox_get_onnxruntime_lib_versioned_filename(void)
struct VoicevoxUserDictWord voicevox_user_dict_word_make(const char *surface, const char *pronunciation, uintptr_t accent_type)
VoicevoxResultCode voicevox_onnxruntime_init_once(const struct VoicevoxOnnxruntime **out_onnxruntime)
VoicevoxResultCode voicevox_voice_model_file_open(const char *path, struct VoicevoxVoiceModelFile **out_model)
VoicevoxResultCode voicevox_user_dict_add_word(const struct VoicevoxUserDict *user_dict, const struct VoicevoxUserDictWord *word, uint8_t(*output_word_uuid)[16])
VoicevoxResultCode voicevox_user_dict_load(const struct VoicevoxUserDict *user_dict, const char *dict_path)
VoicevoxResultCode voicevox_user_dict_import(const struct VoicevoxUserDict *user_dict, const struct VoicevoxUserDict *other_dict)
struct VoicevoxUserDictWord VoicevoxUserDictWord
void voicevox_user_dict_delete(struct VoicevoxUserDict *user_dict)
struct VoicevoxInitializeOptions voicevox_make_default_initialize_options(void)
VoicevoxResultCode voicevox_synthesizer_replace_mora_pitch(const struct VoicevoxSynthesizer *synthesizer, const char *accent_phrases_json, VoicevoxStyleId style_id, char **output_accent_phrases_json)
struct VoicevoxLoadOnnxruntimeOptions voicevox_make_default_load_onnxruntime_options(void)
VoicevoxResultCode voicevox_synthesizer_replace_phoneme_length(const struct VoicevoxSynthesizer *synthesizer, const char *accent_phrases_json, VoicevoxStyleId style_id, char **output_accent_phrases_json)