Mathematica - 136130
r = Riffle;
s = SoundNote;
Export["m.mid",
Sound@Riffle[Flatten@Riffle[SoundNote[0Sound@
r[Flatten@
r[
s[0,.4(Boole@#+.5)]&/@
Array[#>4&@Array[#>4&,5,5-#]&/@{2,0,1,5},
(b=SoundNote[None,#]&b=None~s~#&)@.6]6
],b@.2]]2
]
]