fbpx
Skip to main content

MIDI Forum

Example MIDIs with ...
 
Notifications
Clear all

Example MIDIs with GM2 drums on channel 11?

7 Posts
3 Users
0 Reactions
8,643 Views
Nikolai
Posts: 36
Trusted Member
Topic starter
 

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

 
Posted : 07/11/2021 4:17 am
Jonas
Posts: 207
Reputable Member
 

[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

 
Posted : 07/11/2021 5:50 am
Nikolai
Posts: 36
Trusted Member
Topic starter
 

[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

 
Posted : 07/11/2021 5:54 am
Sema
 Sema
Posts: 182
Reputable Member
 

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
 
Posted : 07/11/2021 7:51 am
Nikolai
Posts: 36
Trusted Member
Topic starter
 

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.

 
Posted : 07/11/2021 8:14 am
Nikolai
Posts: 36
Trusted Member
Topic starter
 

*haven't

 
Posted : 07/11/2021 8:14 am
Sema
 Sema
Posts: 182
Reputable Member
 

You don't have to use much of JavaScript, just copy and paste! 🙂

 
Posted : 07/11/2021 8:23 am
Share: