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

ソング:MIDIインポートでトラックを選択できるようにする #1818

Closed
romot-co opened this issue Feb 1, 2024 · 1 comment · Fixed by #1892
Closed

ソング:MIDIインポートでトラックを選択できるようにする #1818

romot-co opened this issue Feb 1, 2024 · 1 comment · Fixed by #1892
Assignees
Labels
優先度:中 初心者歓迎タスク 初心者にも優しい簡単めなタスク 機能向上

Comments

@romot-co
Copy link
Contributor

romot-co commented Feb 1, 2024

内容

プロトタイプだと、MIDIインポート時にトラックを選択できない(最初のトラックを利用している)ため、
MIDIファイルによっては正常に読み込めないように見える

使い勝手の前に、まずは理由がわからないけどできない、というのを無くすのがよさそうに思えています

Pros 良くなる点

MIDIつくったのに原因不明で読み込めないというのがなくなる

Cons 悪くなる点

おそらくなし

実現方法

1. 簡単そうな方法: 警告のみ

単に読み込み時に「1つめのトラックが読み込まれます」と標準アラート表示する

2: めんどくさい方法: インポートモーダルダイアログを用意する

トラックが複数ある場合、インポート時にトラックを選択するモーダルを用意する

初期案(トラック選択だけでよさそう)
https://xd.adobe.com/view/5f744622-2dfd-4e3f-b9f0-483e9ff5587a-0a27/

Vuex周辺だと以下の部分の調整などが必要そうです
https://github.com/VOICEVOX/voicevox/blob/main/src/store/singing.ts#L1321

VOICEVOXのバージョン

0.1.6

OSの種類/ディストリ/バージョン

その他

@Hiroshiba Hiroshiba added 初心者歓迎タスク 初心者にも優しい簡単めなタスク 優先度:中 labels Feb 17, 2024
@Hiroshiba
Copy link
Member

Hiroshiba commented Feb 22, 2024

こちら、Xで数例要望を見かけたので優先度を少し上げさせて頂きました・・・!
Vueでダイアログを作り、Vuexを変えつつ、MIDI周りをどうにかすれば解決なのでわりと手を付けやすいと思います。
もしご興味あれば・・・!

romot-co pushed a commit that referenced this issue Mar 3, 2024
romot-co pushed a commit that referenced this issue Mar 3, 2024
romot-co pushed a commit that referenced this issue Mar 3, 2024
@romot-co romot-co self-assigned this Mar 3, 2024
romot-co pushed a commit that referenced this issue Mar 3, 2024
romot-co pushed a commit that referenced this issue Mar 6, 2024
romot-co pushed a commit that referenced this issue Mar 18, 2024
Hiroshiba added a commit that referenced this issue Mar 20, 2024
* #1818 MIDIトラックを選択できる ようにする

* #1818 調整

* #1818 リファクタ

* #1818 不要ファイル削除

* #1818 指摘点修正

* Update src/store/singing.ts

Co-authored-by: Hiroshiba <hihokaruta@gmail.com>

* #1818 指摘点修正

---------

Co-authored-by: Romot <user@USERs-MacBook-Pro.local>
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
優先度:中 初心者歓迎タスク 初心者にも優しい簡単めなタスク 機能向上
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@Hiroshiba @romot-co and others