正弦波を再生します。 option strict option defint var n=16384, x[n], i for i = 0 to n - 1 x[i] = sin(i * 1024 / n * 2 * pi()) * 13 + 127.5 next wavseta 224, 127, 127, 127, 127, x, 69 bgmplay "@d-24 t60 @224 o4 c&c&c&c&c&c&c&c&" ここ参照 https://miiverse.nintendo.net/posts/AYMHAAACAAADVHkP77VM1g