Skip to content

Commit

Permalink
ソング: 一部のUSTが読めないのを修正 VOICEVOX#1956
Browse files Browse the repository at this point in the history
  • Loading branch information
Romot authored and Romot committed Mar 24, 2024
1 parent 0d96fa8 commit c90fcc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/singing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,8 @@ export const singingStore = createPartialStore<SingingStoreTypes>({
if (tempo) tempos[0].bpm = tempo;
}
// ノートセクション
if (params.sectionName.match(/^#\d{4}/)) {
// #以降に数字の場合はノートセクション ex: #0, #0000
if (params.sectionName.match(/^#\d+$/)) {
// テンポ変更があれば追加
const tempo = Number(params["Tempo"]);
if (tempo) tempos.push({ position, bpm: tempo });
Expand Down

0 comments on commit c90fcc8

Please sign in to comment.