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

CoeAvatar対応 #69

Open
1 of 3 tasks
o108minmin opened this issue Nov 4, 2022 · 6 comments
Open
1 of 3 tasks

CoeAvatar対応 #69

o108minmin opened this issue Nov 4, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@o108minmin
Copy link
Owner

o108minmin commented Nov 4, 2022

課題 or やりたいこと

やること

  • before_serif 実装
  • coe_avatar対応
  • ドキュメント整理
@o108minmin o108minmin added the enhancement New feature or request label Nov 4, 2022
@o108minmin o108minmin self-assigned this Nov 4, 2022
@o108minmin
Copy link
Owner Author

コエID,入力テキスト,読み調整テキスト,出力ファイル名,備考
,こんにちは、サンプルです,,,
,これからよろしくお願いします,,,

出力はcsvで出てくる(utf-8)
ディレクトリ構成はこんな感じか???

{project名}.csv
0001.wav
0002.wav

@o108minmin
Copy link
Owner Author

https://github.com/o108minmin/halberd/blob/main/halberd_core/src/lib.rs

csv出力をtxtにバラして読ませる方が楽か???
before_serifを書けばまあいける

pub trait TTS {
    // セリフ生成前に使う関数
    fn before_serif(&self, path: PathBuf) -> Result<(), Box<dyn Error>>;
    // セリフの生成に使う関数
    fn serif_generator(&self, path: PathBuf) -> Result<String, Box<dyn Error>>;
    // wavファイルの秒数計算に使う関数
    fn wave_time_generator(&self, path: PathBuf) -> Result<f64, Box<dyn Error>>;
    // TTSの名前
    fn get_profile_name(&self) -> &'static str;
}

@o108minmin
Copy link
Owner Author

(抽象化が雑でtxtとwavが1:1対応することを前提としたロジックが走っているのもイケてない)

@o108minmin
Copy link
Owner Author

とりあえずbefore_serifくっつける形でいこうか

@o108minmin
Copy link
Owner Author

o108minmin commented Nov 9, 2022

やるとしたら 3.1 2.1で

@o108minmin o108minmin added this to the 2.1.0 milestone Dec 3, 2022
@o108minmin
Copy link
Owner Author

CSV出力ができるのでそっち方面で考えてみる

@o108minmin o108minmin modified the milestones: 2.1.0, 2.2.0 Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant