fbpx


The MIDI Forum

  Sunday, 07 November 2021
  6 Replies
  456 Visits
4
Votes
Undo
  Subscribe
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
2 weeks ago
·
#11843
Accepted Answer
1
Votes
Undo
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
2 weeks ago
·
#11840
0
Votes
Undo
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


I was not even aware you could change drumchannel on a device, i thought it was hardcoded midi channel 10
2 weeks ago
·
#11843
Accepted Answer
1
Votes
Undo
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
2 weeks ago
·
#11844
0
Votes
Undo
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.
2 weeks ago
·
#11845
0
Votes
Undo
*haven't
Nikolai selected the reply #11843 as the answer for this post — 2 weeks ago
2 weeks ago
·
#11846
0
Votes
Undo
You don't have to use much of JavaScript, just copy and paste! :)
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!