Skip to content

旧Siv3DのMIDI機能でCH10を指定してもパーカッションがならない件 #548

Answered by Reputeless
kestrel-90r asked this question in Q&A
Discussion options

You must be logged in to vote

🎉 OpenSiv3D GitHub Discussion 初質問 🎉

Siv3D の API が少し紛らわしくて申し訳ないのですが、
MidiMessage::SetInstrument() で指定するチャンネルは CH1 = 0, CH2 = 1, のゼロオリジンです。
CH10 の場合は MidiMessage::SetInstrument() の第一引数を 9 にします。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Reputeless
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants