1. atari thingy v2
Hertz: 48000 (Bytebeat)
n=.7,'099900900090909999099090099000000'[t*n*2**([-6,1,6,-6,1,6,-6,1,-6,1,6,-6,1,6,-6,1,-6,1,6,-6,1,6,-6,1,-3,4,9,-3,4,9,13,9,2,9,14,2,9,14,2,9,2,9,14,2,9,14,2,9,1,8,13,1,8,13,1,8,1,5,11,1,5,11,1,5,-3,6,9,-3,6,9,-3,6,-3,6,9,-3,6,9,-3,6,1,6,9,1,6,9,1,6,4,9,13,4,9,13,16,13,2,9,14,2,9,14,2,9,2,9,14,2,9,14,2,9,1,8,13,1,8,13,1,8,5,13,17,5,13,17,5,13][t>>12&127]/12)>>4&31]*8
(with kicks and hihat)
n=.7,'099900900090909999099090099000000'[t*n*2**([-6,1,6,-6,1,6,-6,1,-6,1,6,-6,1,6,-6,1,-6,1,6,-6,1,6,-6,1,-3,4,9,-3,4,9,13,9,2,9,14,2,9,14,2,9,2,9,14,2,9,14,2,9,1,8,13,1,8,13,1,8,1,5,11,1,5,11,1,5,-3,6,9,-3,6,9,-3,6,-3,6,9,-3,6,9,-3,6,1,6,9,1,6,9,1,6,4,9,13,4,9,13,16,13,2,9,14,2,9,14,2,9,2,9,14,2,9,14,2,9,1,8,13,1,8,13,1,8,5,13,17,5,13,17,5,13][t>>12&127]/12)>>4&31]*6+sin(1.7**(-t/512%32+8))*50+50+(50e2/(t&8191)&63)*1.5
2. New Friendly Melody Recreated
Hertz: 32000
v=-9e9,n=1.045,(t*n/4*2**([v,v,-11,-11,-8,v,-3,v,v,v,-8,-8,-3,v,1,v,v,v,-3,-3,1,v,4,v,v,v,1,1,4,v,9,9,9,9,6,6,2,v,-3,v,v,v,2,2,-3,v,-6,v,v,v,-3,-3,-6,v,-10,v,v,v,-6,-6,-10,v,-15,v][t>>12&63]/12)&63)+(t*n/8*2**([-3,2][t>>17&1]/12)*'1000'[t>>13&3]&63)
3. tried to replicate the sawtooth melody (Unreal Super Hero 3)
Hertz: 44100
(t/=1.25)||(d=Array(15360).fill(0),x=0),x+=2**([[0,3,7,12,15,12,7,3],[3*(t>>15&1),7,10,15,19,15,10,7],[5,9,12,17,21,17,12,9],[0,7,12,19,24,19,12,7]][t>>16&3][t>>12&7]/12+2.02),x%=512,o=(x&256?127-x/2:x/2)+d.shift(),d.push(o/3),o/3+64+t/3.17*2**('0350'[t>>16&3]/12)*((t>>13&1)+1)%256/'13'[t>>12&1]/3