Hello again.
I have been trying to find some MIDIs with GM2 drums on channel 11.
Does anyone have such MIDIs laying around or link to such? Would be appreciated.
Regards
- Nikolai
[quotePost id=11836]Hello again.
I have been trying to find some MIDIs with GM2 drums on channel 11.
Does anyone have such MIDIs laying around or link to such? Would be appreciated.
Regards
- Nikolai[/quotePost]
I was not even aware you could change drumchannel on a device, i thought it was hardcoded midi channel 10
[quotePost id=11840]i thought it was hardcoded midi channel 10 [/quotePost]
https://www.midi.org/forum/8860-general-midi-level-2-ch-11-percussion
Why don't you make that file yourself using https://github.com/jazz-soft/test-midi-files ?
Code:
var TEST = require('..');
var JZZ = require('jzz');
require('jzz-midi-smf')(JZZ);
var smf = new JZZ.MIDI.SMF(0, 96);
var trk = new JZZ.MIDI.SMF.MTrk();
smf.push(trk);
trk.smfSeqName('GM2 Drums for Nikolai')
.sxGM(2).ch(10).bank(120, 0).program(0)
.noteOn(60, 127).tick(96).noteOff(60)
.smfText('Thank you!');
TEST.write(smf);
TEST.play(smf);
Output:
SMF:
type: 0
ppqn: 96
tracks: 1
MTrk:
0: ff03 -- Sequence Name: GM2 Drums for Nikolai
0: f0 7e 7f 09 03 f7 (GM2 System On)
0: ba 00 78 -- Bank Select MSB
0: ba 20 00 -- Bank Select LSB
0: ca 00 -- Program Change (Standard Drum Kit)
0: 9a 3c 7f -- Note On
96: 8a 3c 40 -- Note Off
96: ff01 -- Text: Thank you!
96: ff2f -- End of Track
I looked into how to use Javascript.
But thank you very much, that file just made me find and fix a bug in my program.
*haven't
You don't have to use much of JavaScript, just copy and paste! 🙂