The following code does not play the score twice as expected. If I invoke playMusic twice instead of using the repeat(2) it still does not play music the second time. Am I doing something wrong or is this not supported by Kojo?
//music
val score2= MusicScore(
Melody("Piano", "A5h E5q E5q A5w G5h D5q D5q G5w A5w+E5w_G5w+D5w"),
Melody("Piano", "X[Volume]=15000 Rw Rw Rw Rw Rw Rw A5w+D5w")
)
repeat(2) {
playMusic(score2)
}