Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate: Java APIを使うように #37

Merged
merged 9 commits into from
Oct 28, 2023

Conversation

sevenc-nanashi
Copy link
Member

内容

Voicevox CoreのJava APIを使うようにします。
また、それに伴って、色々な部分を実際のアセットに置き換えます。

関連 Issue

スクリーンショット・動画など

(なし)

その他

(なし)

@sevenc-nanashi sevenc-nanashi requested a review from a team as a code owner October 27, 2023 14:03
@sevenc-nanashi sevenc-nanashi requested review from y-chan and removed request for a team October 27, 2023 14:03
Comment on lines -44 to -45
# generated speakerInfo.json
public/speakerInfos.json
Copy link
Member Author

@sevenc-nanashi sevenc-nanashi Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jsonファイルが大きくなりすぎて(51MB近く)大変なことになってたので分割。

README.md Outdated Show resolved Hide resolved
Comment on lines -7 to -12
externalNativeBuild {
cmake {
path file('src/main/cpp/CMakeLists.txt')
version '3.22.1'
}
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C++に勝利しました。やったぜ

android/app/build.gradle Show resolved Hide resolved
call.resolve(ret)
}

@PluginMethod
fun getSupportedDevicesJson(call: PluginCall) {
val ret = JSObject()
ret.put("value", core!!.voicevoxGetSupportedDevicesJson())
// TODO: ハードコードをやめてちゃんと取得する
ret.put("value", "{\"cpu\": true, \"cuda\": false, \"dml\": false}")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここら辺はあとでCoreにPR出します。

@Hiroshiba Hiroshiba requested review from Hiroshiba and removed request for y-chan October 27, 2023 14:10
@sevenc-nanashi sevenc-nanashi mentioned this pull request Oct 27, 2023
23 tasks
capacitor.config.ts Outdated Show resolved Hide resolved
src/browser/contract.ts Outdated Show resolved Hide resolved
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!!!

楽しみですね!!!

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!

@Hiroshiba Hiroshiba merged commit 8d2dc8f into VOICEVOX:main Oct 28, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants