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
143#ifndef __cplusplus
144typedef int32_t VoicevoxOnExistingVoiceModelId;
145#endif // __cplusplus
146
153#ifdef __cplusplus
154 : int32_t
155#endif // __cplusplus
156 {
281};
282#ifndef __cplusplus
283typedef int32_t VoicevoxResultCode;
284#endif // __cplusplus
285
317#ifndef __cplusplus
318typedef int32_t VoicevoxUserDictWordType;
319#endif // __cplusplus
320
341
358
367
374
384
385#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
403#endif
404
421
433
451typedef const uint8_t (*VoicevoxVoiceModelId)[16];
452
460typedef uint32_t VoicevoxStyleId;
461
473
485
513
514#ifdef __cplusplus
515extern "C" {
516#endif // __cplusplus
517
518#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
530#ifdef _WIN32
531__declspec(dllimport)
532#endif
534#endif
535
536#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
546#ifdef _WIN32
547__declspec(dllimport)
548#endif
550#endif
551
552#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
564#ifdef _WIN32
565__declspec(dllimport)
566#endif
568#endif
569
579#ifdef _WIN32
580__declspec(dllimport)
581#endif
583
584#if defined(VOICEVOX_LOAD_ONNXRUNTIME)
606#ifdef _WIN32
607__declspec(dllimport)
608#endif
610 const struct VoicevoxOnnxruntime **out_onnxruntime);
611#endif
612
613#if defined(VOICEVOX_LINK_ONNXRUNTIME)
633#ifdef _WIN32
634__declspec(dllimport)
635#endif
637#endif
638
663#ifdef _WIN32
664__declspec(dllimport)
665#endif
666VoicevoxResultCode voicevox_open_jtalk_rc_new(const char *open_jtalk_dic_dir,
667 struct OpenJtalkRc **out_open_jtalk);
668
679#ifdef _WIN32
680__declspec(dllimport)
681#endif
683 const struct VoicevoxUserDict *user_dict);
684
696#ifdef _WIN32
697__declspec(dllimport)
698#endif
700 const char *text,
701 char **output_accent_phrases_json);
702
720#ifdef _WIN32
721__declspec(dllimport)
722#endif
724
731#ifdef _WIN32
732__declspec(dllimport)
733#endif
735
742#ifdef _WIN32
743__declspec(dllimport)
744#endif
745const char *voicevox_get_version(void);
746
762#ifdef _WIN32
763__declspec(dllimport)
764#endif
766 char **output_audio_query_json);
767
799#ifdef _WIN32
800__declspec(dllimport)
801#endif
803
830#ifdef _WIN32
831__declspec(dllimport)
832#endif
834
862#ifdef _WIN32
863__declspec(dllimport)
864#endif
866
888#ifdef _WIN32
889__declspec(dllimport)
890#endif
892
914#ifdef _WIN32
915__declspec(dllimport)
916#endif
918
942#ifdef _WIN32
943__declspec(dllimport)
944#endif
945VoicevoxResultCode voicevox_frame_audio_query_validate(const char *frame_audio_query_json);
946
966#ifdef _WIN32
967__declspec(dllimport)
968#endif
970
990#ifdef _WIN32
991__declspec(dllimport)
992#endif
994 const char *frame_audio_query_json);
995
1011#ifdef _WIN32
1012__declspec(dllimport)
1013#endif
1015 struct VoicevoxVoiceModelFile **out_model);
1016
1029#ifdef _WIN32
1030__declspec(dllimport)
1031#endif
1033 uint8_t (*output_voice_model_id)[16]);
1034
1046#ifdef _WIN32
1047__declspec(dllimport)
1048#endif
1050
1062#ifdef _WIN32
1063__declspec(dllimport)
1064#endif
1066
1084#ifdef _WIN32
1085__declspec(dllimport)
1086#endif
1088 const struct OpenJtalkRc *open_jtalk,
1089 struct VoicevoxInitializeOptions options,
1090 struct VoicevoxSynthesizer **out_synthesizer);
1091
1103#ifdef _WIN32
1104__declspec(dllimport)
1105#endif
1107
1114#ifdef _WIN32
1115__declspec(dllimport)
1116#endif
1118
1130#ifdef _WIN32
1131__declspec(dllimport)
1132#endif
1134 const struct VoicevoxVoiceModelFile *model,
1135 struct VoicevoxLoadVoiceModelOptions options);
1136
1151#ifdef _WIN32
1152__declspec(dllimport)
1153#endif
1155 VoicevoxVoiceModelId model_id);
1156
1166#ifdef _WIN32
1167__declspec(dllimport)
1168#endif
1170
1180#ifdef _WIN32
1181__declspec(dllimport)
1182#endif
1184
1199#ifdef _WIN32
1200__declspec(dllimport)
1201#endif
1203 VoicevoxVoiceModelId model_id);
1204
1216#ifdef _WIN32
1217__declspec(dllimport)
1218#endif
1220
1247#ifdef _WIN32
1248__declspec(dllimport)
1249#endif
1251 char **output_supported_devices_json);
1252
1281#ifdef _WIN32
1282__declspec(dllimport)
1283#endif
1285 const char *kana,
1286 VoicevoxStyleId style_id,
1287 char **output_audio_query_json);
1288
1322#ifdef _WIN32
1323__declspec(dllimport)
1324#endif
1326 const char *text,
1327 VoicevoxStyleId style_id,
1328 char **output_audio_query_json);
1329
1359#ifdef _WIN32
1360__declspec(dllimport)
1361#endif
1363 const char *kana,
1364 VoicevoxStyleId style_id,
1365 char **output_accent_phrases_json);
1366
1400#ifdef _WIN32
1401__declspec(dllimport)
1402#endif
1404 const char *text,
1405 VoicevoxStyleId style_id,
1406 char **output_accent_phrases_json);
1407
1432#ifdef _WIN32
1433__declspec(dllimport)
1434#endif
1436 const char *accent_phrases_json,
1437 VoicevoxStyleId style_id,
1438 char **output_accent_phrases_json);
1439
1459#ifdef _WIN32
1460__declspec(dllimport)
1461#endif
1463 const char *accent_phrases_json,
1464 VoicevoxStyleId style_id,
1465 char **output_accent_phrases_json);
1466
1486#ifdef _WIN32
1487__declspec(dllimport)
1488#endif
1490 const char *accent_phrases_json,
1491 VoicevoxStyleId style_id,
1492 char **output_accent_phrases_json);
1493
1500#ifdef _WIN32
1501__declspec(dllimport)
1502#endif
1504
1527#ifdef _WIN32
1528__declspec(dllimport)
1529#endif
1531 const char *audio_query_json,
1532 VoicevoxStyleId style_id,
1533 struct VoicevoxSynthesisOptions options,
1534 uintptr_t *output_wav_length,
1535 uint8_t **output_wav);
1536
1543#ifdef _WIN32
1544__declspec(dllimport)
1545#endif
1547
1570#ifdef _WIN32
1571__declspec(dllimport)
1572#endif
1574 const char *kana,
1575 VoicevoxStyleId style_id,
1576 struct VoicevoxTtsOptions options,
1577 uintptr_t *output_wav_length,
1578 uint8_t **output_wav);
1579
1607#ifdef _WIN32
1608__declspec(dllimport)
1609#endif
1611 const char *text,
1612 VoicevoxStyleId style_id,
1613 struct VoicevoxTtsOptions options,
1614 uintptr_t *output_wav_length,
1615 uint8_t **output_wav);
1616
1663#ifdef _WIN32
1664__declspec(dllimport)
1665#endif
1667 const char *score_json,
1668 VoicevoxStyleId style_id,
1669 char **output_frame_audio_query_json);
1670
1698#ifdef _WIN32
1699__declspec(dllimport)
1700#endif
1702 const char *score_json,
1703 const char *frame_audio_query_json,
1704 VoicevoxStyleId style_id,
1705 char **output_f0_json);
1706
1734#ifdef _WIN32
1735__declspec(dllimport)
1736#endif
1738 const char *score_json,
1739 const char *frame_audio_query_json,
1740 VoicevoxStyleId style_id,
1741 char **output_volume_json);
1742
1781#ifdef _WIN32
1782__declspec(dllimport)
1783#endif
1785 const char *frame_audio_query_json,
1786 VoicevoxStyleId style_id,
1787 uintptr_t *output_wav_length,
1788 uint8_t **output_wav);
1789
1820#ifdef _WIN32
1821__declspec(dllimport)
1822#endif
1823void voicevox_json_free(char *json);
1824
1842#ifdef _WIN32
1843__declspec(dllimport)
1844#endif
1845void voicevox_wav_free(uint8_t *wav);
1846
1871#ifdef _WIN32
1872__declspec(dllimport)
1873#endif
1875
1886#ifdef _WIN32
1887__declspec(dllimport)
1888#endif
1890 const char *pronunciation,
1891 uintptr_t accent_type);
1892
1900#ifdef _WIN32
1901__declspec(dllimport)
1902#endif
1904
1918#ifdef _WIN32
1919__declspec(dllimport)
1920#endif
1922 const char *dict_path);
1923
1942#ifdef _WIN32
1943__declspec(dllimport)
1944#endif
1946 const struct VoicevoxUserDictWord *word,
1947 uint8_t (*output_word_uuid)[16]);
1948
1964#ifdef _WIN32
1965__declspec(dllimport)
1966#endif
1968 const uint8_t (*word_uuid)[16],
1969 const struct VoicevoxUserDictWord *word);
1970
1984#ifdef _WIN32
1985__declspec(dllimport)
1986#endif
1988 const uint8_t (*word_uuid)[16]);
1989
2005#ifdef _WIN32
2006__declspec(dllimport)
2007#endif
2009 char **output_json);
2010
2020#ifdef _WIN32
2021__declspec(dllimport)
2022#endif
2024 const struct VoicevoxUserDict *other_dict);
2025
2038#ifdef _WIN32
2039__declspec(dllimport)
2040#endif
2042 const char *path);
2043
2055#ifdef _WIN32
2056__declspec(dllimport)
2057#endif
2059
2060#ifdef __cplusplus
2061} // extern "C"
2062#endif // __cplusplus
2063
2064#endif /* VOICEVOX_CORE_INCLUDE_GUARD */
Definition voicevox_core.h:410
uint16_t cpu_num_threads
Definition voicevox_core.h:419
VoicevoxAccelerationMode acceleration_mode
Definition voicevox_core.h:414
Definition voicevox_core.h:395
const char * filename
Definition voicevox_core.h:401
Definition voicevox_core.h:427
VoicevoxOnExistingVoiceModelId on_existing
Definition voicevox_core.h:431
Definition voicevox_core.h:467
bool enable_interrogative_upspeak
Definition voicevox_core.h:471
Definition voicevox_core.h:479
bool enable_interrogative_upspeak
Definition voicevox_core.h:483
Definition voicevox_core.h:491
VoicevoxUserDictWordType word_type
Definition voicevox_core.h:507
uint32_t priority
Definition voicevox_core.h:511
const char * surface
Definition voicevox_core.h:495
uintptr_t accent_type
Definition voicevox_core.h:503
const char * pronunciation
Definition voicevox_core.h:499
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:460
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:340
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:295
@ VOICEVOX_USER_DICT_WORD_TYPE_ADJECTIVE
Definition voicevox_core.h:311
@ VOICEVOX_USER_DICT_WORD_TYPE_SUFFIX
Definition voicevox_core.h:315
@ VOICEVOX_USER_DICT_WORD_TYPE_PROPER_NOUN
Definition voicevox_core.h:299
@ VOICEVOX_USER_DICT_WORD_TYPE_VERB
Definition voicevox_core.h:307
@ VOICEVOX_USER_DICT_WORD_TYPE_COMMON_NOUN
Definition voicevox_core.h:303
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)
struct VoicevoxLoadVoiceModelOptions voicevox_make_default_load_voice_model_options(void)
VoicevoxResultCode voicevox_audio_query_create_from_accent_phrases(const char *accent_phrases_json, char **output_audio_query_json)
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:451
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)
VoicevoxOnExistingVoiceModelId
Definition voicevox_core.h:129
@ VOICEVOX_ON_EXISTING_VOICE_MODEL_ID_RELOAD
Definition voicevox_core.h:137
@ VOICEVOX_ON_EXISTING_VOICE_MODEL_ID_ERROR
Definition voicevox_core.h:133
@ VOICEVOX_ON_EXISTING_VOICE_MODEL_ID_SKIP
Definition voicevox_core.h:141
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:383
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:156
@ VOICEVOX_RESULT_INVALID_FRAME_PHONEME_ERROR
Definition voicevox_core.h:276
@ VOICEVOX_RESULT_RUN_MODEL_ERROR
Definition voicevox_core.h:188
@ VOICEVOX_RESULT_USER_DICT_WORD_NOT_FOUND_ERROR
Definition voicevox_core.h:244
@ VOICEVOX_RESULT_USE_USER_DICT_ERROR
Definition voicevox_core.h:248
@ VOICEVOX_RESULT_GPU_SUPPORT_ERROR
Definition voicevox_core.h:172
@ VOICEVOX_RESULT_INVALID_USER_DICT_WORD_ERROR
Definition voicevox_core.h:252
@ VOICEVOX_RESULT_INVALID_UUID_ERROR
Definition voicevox_core.h:256
@ VOICEVOX_RESULT_INVALID_ACCENT_PHRASE_ERROR
Definition voicevox_core.h:208
@ VOICEVOX_RESULT_ANALYZE_TEXT_ERROR
Definition voicevox_core.h:192
@ VOICEVOX_RESULT_MODEL_ALREADY_LOADED_ERROR
Definition voicevox_core.h:224
@ VOICEVOX_RESULT_INIT_INFERENCE_RUNTIME_ERROR
Definition voicevox_core.h:176
@ VOICEVOX_RESULT_NOT_LOADED_OPENJTALK_DICT_ERROR
Definition voicevox_core.h:164
@ VOICEVOX_RESULT_INVALID_AUDIO_QUERY_ERROR
Definition voicevox_core.h:204
@ VOICEVOX_RESULT_SAVE_USER_DICT_ERROR
Definition voicevox_core.h:240
@ VOICEVOX_RESULT_INVALID_MODEL_DATA_ERROR
Definition voicevox_core.h:232
@ VOICEVOX_RESULT_OPEN_ZIP_FILE_ERROR
Definition voicevox_core.h:212
@ VOICEVOX_RESULT_OK
Definition voicevox_core.h:160
@ VOICEVOX_RESULT_PARSE_KANA_ERROR
Definition voicevox_core.h:200
@ VOICEVOX_RESULT_STYLE_NOT_FOUND_ERROR
Definition voicevox_core.h:180
@ VOICEVOX_RESULT_INVALID_FRAME_AUDIO_QUERY_ERROR
Definition voicevox_core.h:272
@ VOICEVOX_RESULT_GET_SUPPORTED_DEVICES_ERROR
Definition voicevox_core.h:168
@ VOICEVOX_RESULT_INCOMPATIBLE_QUERIES_ERROR
Definition voicevox_core.h:280
@ VOICEVOX_RESULT_STYLE_ALREADY_LOADED_ERROR
Definition voicevox_core.h:228
@ VOICEVOX_RESULT_LOAD_USER_DICT_ERROR
Definition voicevox_core.h:236
@ VOICEVOX_RESULT_MODEL_NOT_FOUND_ERROR
Definition voicevox_core.h:184
@ VOICEVOX_RESULT_READ_ZIP_ENTRY_ERROR
Definition voicevox_core.h:216
@ VOICEVOX_RESULT_INVALID_NOTE_ERROR
Definition voicevox_core.h:268
@ VOICEVOX_RESULT_INVALID_MODEL_HEADER_ERROR
Definition voicevox_core.h:220
@ VOICEVOX_RESULT_INVALID_SCORE_ERROR
Definition voicevox_core.h:264
@ VOICEVOX_RESULT_INVALID_UTF8_INPUT_ERROR
Definition voicevox_core.h:196
@ VOICEVOX_RESULT_INVALID_MORA_ERROR
Definition voicevox_core.h:260
struct VoicevoxTtsOptions voicevox_make_default_tts_options(void)
VoicevoxResultCode voicevox_user_dict_to_json(const struct VoicevoxUserDict *user_dict, char **output_json)
struct VoicevoxLoadVoiceModelOptions VoicevoxLoadVoiceModelOptions
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_synthesizer_load_voice_model(const struct VoicevoxSynthesizer *synthesizer, const struct VoicevoxVoiceModelFile *model, struct VoicevoxLoadVoiceModelOptions options)
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:366
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:373
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:357
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)