看板 C_and_CPP 關於我們 聯絡資訊
※ 引述《kasase (King)》之銘言: : MIDI event的control change後接的參數似乎超過規定的2byte : 如下 : 4d 54 72 6b 00 00 00 d3 00 ff 03 07 54 72 61 63 6b 20 31 : 00 b1 64 00 00 65 00 00 06 0c 00 e1 00 40 : ^^^^^^^^^^^^^^^^^^^^^^^ : 這個網站 http://www.sonicspot.com/guide/midifiles.html : 對control change的解說是 (event,channel) controller_type value : 0xB 0 - 15 0 - 127 0 - 127 : 應該是只有2byte才對? : 照我的切法會有6byte : 這其中是不是有我疏忽的地方呢? : 謝謝 event+channel這個byte合起來稱為status byte 為了增加midi的傳輸效率, 如果下一個event的status跟目前是一樣的, 那status可省略 這個偷吃步稱為running status 所以可以這樣切: 00 b1 64 00 00 65 00 00 06 0c 00 e1 00 40 你會發現parameter都是0x00-0x7f, 但是status都是0x80起跳 可以用來檢查是否有running status -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.59.0.65
kasase:感謝!原來還有這樣的情況 12/28 00:26
LPH66:推一個專業 ID XD 12/28 09:53
soniclin:ID專業XDDD 12/28 13:25