Skip to content

Commit

Permalink
ソング: 一部のUSTが読めないのを修正 VOICEVOX#1956 (VOICEVOX#1957)
Browse files Browse the repository at this point in the history
Co-authored-by: Romot <user@USERs-MacBook-Pro.local>
  • Loading branch information
romot-co and Romot authored Mar 28, 2024
1 parent 7b72a50 commit e45ad64
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 e45ad64

Please sign in to comment.