Skip to content

ソング:MusicXMLをインポートし保存して生成したvvprojファイルを読み込もうとするとエラーになる #2952

@madosuki

Description

@madosuki

不具合の内容

MusicXMLをインポートした後「プロジェクトを名前を付けて保存」で作成したvvprojファイルを「プロジェクトを読み込む」とThe time signatures are invalidというエラーが発生する。

https://github.com/VOICEVOX/voicevox/blob/main/src/sing/utaformatixProject/toVoicevox.ts#L109 でインクリメントされていますが https://github.com/sdercolin/utaformatix3/blob/f3c83354f57894492410bbc5ba03f7e97169c92c/core/src/main/resources/format_templates/template.musicxml を読むとUtaformatixが作成するMusicXMLはmeasureNumberは1でこれがインクリメントされて2になってしまうので読み込み時にエラーになると思われます。
実際にvvproj側のmeasureNumberを2から1に書き換えてみたら読み込めました。

Image

現象・ログ

再現手順

ソングエディタでMusicXMLをエクスポートし、新規プロジェクトにして作成しておいたMusicXMLファイルをインポートして名前を付けて保存でvvprojを保存し再度新規プロジェクトにして先ほど作成したvvprojファイルを読み込む。

期待動作

VOICEVOXのバージョン

0.25.1

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

  • Windows
  • macOS
  • Linux

その他

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions