Skip to content

Commit

Permalink
Lock phonemes for VSQ
Browse files Browse the repository at this point in the history
  • Loading branch information
sdercolin committed Feb 21, 2024
1 parent 459e630 commit fc9d765
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jsMain/kotlin/io/VsqLike.kt
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ object VsqLike {
}
lyricsLines.apply {
add("[h#${number.padStartZero(4)}]")
add("L0=\"${note.lyric}\",\"${note.phoneme ?: "a"}\",0.000000,64,0,0")
val lockPhonemes = if (note.phoneme != null) 1 else 0
add("L0=\"${note.lyric}\",\"${note.phoneme ?: "a"}\",0.000000,64,0,$lockPhonemes")
}
}

Expand Down

0 comments on commit fc9d765

Please sign in to comment.