-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* C APIのテストにvoicevox_core.hを使う * `$OUT_DIR`下に`cargo:rerun-if-changed`をかけない * compatible_engine.hからvoicevox_core.hを`#include`する * compatible_engine.hから、不要かつ今存在しないはずの関数を削除 * `cargo update -p clang-sys --precise 1.6.0` * fixup! compatible_engine.hから、不要かつ今存在しないはずの関数を削除
- Loading branch information
Showing
18 changed files
with
286 additions
and
597 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#include <stdint.h> | ||
|
||
bool initialize(bool use_gpu, int cpu_num_threads, bool load_all_models); | ||
|
||
bool load_model(int64_t speaker_id); | ||
|
||
bool is_model_loaded(int64_t speaker_id); | ||
|
||
void finalize(); | ||
|
||
const char *metas(); | ||
|
||
const char *supported_devices(); | ||
|
||
bool yukarin_s_forward(int64_t length, int64_t *phoneme_list, | ||
int64_t *speaker_id, float *output); | ||
|
||
bool yukarin_sa_forward(int64_t length, int64_t *vowel_phoneme_list, | ||
int64_t *consonant_phoneme_list, | ||
int64_t *start_accent_list, int64_t *end_accent_list, | ||
int64_t *start_accent_phrase_list, | ||
int64_t *end_accent_phrase_list, int64_t *speaker_id, | ||
float *output); | ||
|
||
bool decode_forward(int64_t length, int64_t phoneme_size, float *f0, | ||
float *phoneme, int64_t *speaker_id, float *output); | ||
|
||
const char *last_error_message(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.