>>8834
you know what the definition of insanity is? to
quote wiktionary, insanity is "The state of being insane; madness."
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
this is part 2/2.
song chooser:
sr=44100,t||(oldt=0,realt=0,olddiff=0,song=0),songNames=["42 melody","sierpenski harmony","street surfer"],songCode=[(t)=>(t*(42&t>>10)),(t)=>(t&t>>8),(t)=>(t&4096?t/2*(t^t%255)|t>>5:t/8|(t&8192?4*t:t))],difference=t-oldt,oldt=t,difference,realt++,sign(difference)!=sign(olddiff)?(song+=sign(difference),realt=0):difference/olddiff==2?(song+=sign(difference),realt=0):0,olddiff=difference,song=min(songCode.length-1,max(0,song)),realt%1024?songCode[song](floor(realt*8000/sr)):(()=>{throw songNames.map((a,b)=>((b==song?"\n>\xa0":"\n\xa0\xa0")+a)).join("")})()
from original: "detect your samplerate [link to "unnamed, for song chooser (detect your samplerate)"], then put it into sr and the sample rate part (important! it will not work otherwise)
use the play buttons to select the song"
released january 1, 2024. bytebeat, 44100hz.
remix of (just includes) stephanshi's minification of a beat by skurk & raer, erroneously referred to as "street surfer". original skurk beat at https://www.pouet.net/topic.php?post=388479 , raer's modification at https://www.pouet.net/topic.php?post=388494 , and stephanshi's minification at https://dollchan.net/bytebeat
unnamed, for song chooser (detect your samplerate):
sr=100000,
t||(realt=0),realt++,(()=>{throw floor(sr*realt/t)})()
released january 1, 2024. bytebeat, 100000hz.
original.
uwa!!:
old version: sr=48000,tempo=280,
t?0:(R=new Array(RL=floor(sr*0.3)),RI=0,N1={N:0,D:0,L:0,wave:(p)=>(4*((p%1)-(p%0.5))-1),l:0.1,d:.4},N2={N:0,D:0,L:0,wave:(p)=>(4*((p%1)-(p%0.5))-1),l:.05,d:.5},D={N:0,D:0,L:0,wave:random,l:0,d:.1,p:1}),nl=(sr*60)/tempo,ni=floor(t/nl)%32,pt=floor(t/(nl*32)),n1=[22,,20,22,15,,13,15,10,,8,10,5,,,,8,,6,8,13,,,,8,,6,8,16,,,],n2=!(pt&1)?[-4,,-2,,0,,,,-4,,-2,,0,,,,-5,,-3,,-1,,,,-7,,-5,,-3]:[-4,,-2,,0,,,,-4,,-2,,0,,,,-3,,-1,,1,,,,-7,,-5,,-3],DA={l:.05,d:.1},DB={l:.2,d:.1},DC={l:.4,d:.04},d=[DA,,DC,DA,DB,,,DC,DA,,DC,DA,DB,,,,DA,,DC,DA,DB,,,DC,DA,,DC,DA,DB,,,,DA],U=(N,n)=>(floor(t%nl)==0?(N.p?(N.l=n[ni]?.l||N.l,N.d=n[ni]?.d||N.d):(N.N=2**(n[ni]/12)||N.N),N.D=typeof n[ni]=="undefined"?N.D:sr*N.d):(N.D--)),P=(N)=>(l=N.l**(sr/48000),N.L=(1-l)*N.L+l*N.wave(t*(440/sr)*N.N)*max(0.,N.D/sr/N.d)),U(N1,pt<4?n1:pt<6?[]:pt<8?n1:[]),U(N2,pt<8?n2:[]),U(D,pt<4?[]:pt<8?d:[]),RI=++RI%RL,R[RI]=0.3*(R[RI]||0)+P(N1)*.4+P(N2)*.2+P(D)*.9
new version: sr=48000,tempo=280,
t?0:(R=new Array(RL=floor(sr*0.3)),RI=0,N1={N:0,D:0,L:0,wave:(p)=>(4*((p%1)-(p%0.5))-1),l:0.1,d:.4},N2={N:0,D:0,L:0,wave:(p)=>(4*((p%1)-(p%0.5))-1),l:.05,d:.5},D={N:0,D:0,L:0,wave:(()=>(random()-0.5)),l:0,d:.1,p:1}),nl=(sr*60)/tempo,ni=floor(t/nl)%32,pt=floor(t/(nl*32)),n1=[22,,20,22,15,,13,15,10,,8,10,3,,,,8,,6,8,13,,,,8,,6,8,16,,,],n2=!(pt&1)?[-13,,-9,,-2,,,,-13,,-9,,-2,,,,-15,,-11,,-4,,,,-15,,-11,,-7]:[-13,,-9,,-2,,,,-13,,-9,,-2,,,,-10,,-6,,1,,,,-10,,-6,,-3],DA={l:.05,d:.1},DB={l:.2,d:.1},DC={l:.4,d:.04},d=[DA,,DC,DA,DB,,DC,DA,,,DC,DA,DB,,,,DA,,DC,DA,DB,,DC,DA,,,DC,DA,DB,,,,DA],U=(N,n)=>(floor(t%nl)==0?(N.p?(N.l=n[ni]?.l||N.l,N.d=n[ni]?.d||N.d):(N.N=2**(n[ni]/12)||N.N),N.D=typeof n[ni]=="undefined"?N.D:sr*N.d):(N.D--)),P=(N)=>(l=N.l,N.L=(1-l)*N.L+l*N.wave(t*(440/sr)*N.N)*max(0.,N.D/sr/N.d)),U(N1,pt<4?n1:pt<6?[]:pt<8?n1:[]),U(N2,pt<8?n2:[]),U(D,pt<4?[]:pt<8?d:[]),RI=++RI%RL,R[RI]=0.3*(R[RI]||0)+P(N1)*.4+P(N2)*.2+P(D)*.9
released january 1, 2024. floatbeat, 48000hz.
cover of "Uwa!! So Temperate♫" from the undertale ost, by toby fox
cover of Uwa!! So HEATS!!♫:
pwm: sr=48000,tempo=226,
t?0:(R=new Array(RL=floor(sr*120/tempo)),RI=0,RLP1=0,RLP2=0,N1={N:0,D:0,L:0,wave:(p,d)=>(4*((p%1)-((p+0.5*(1-d))%1))),l:0.1,d:.2,c:0},D={N:0,D:0,L:0,wave:(p)=>((p%2)-1),l:0.2,d:.5,p:1,c:0.5}),nl=(sr*60)/tempo,ni=floor(t/nl)%32,pt=floor(t/(nl*32)),n1=!(pt&2)?[4,,2,4,-3,,-5,-3,-8,,-10,-8,-12]:[1,,-1,1,-4,,-6,-4,-9,,-11,-9,-13],n2=[0,,,0.5,,,,,,,,,0.9,0,,,0,,,0.5,,,,,,,,,0.9,0,,,],U=(N,n)=>(floor(t%nl)==0?(N.p?(N.N=2**((pt&2?-20:-19)/12),N.c=n[ni]??N.c):(N.N=2**(n[ni]/12)||N.N),N.D=typeof n[ni]=="undefined"?N.D:sr*N.d):(N.D--)),P=(N)=>(d=max(0.,N.D/sr/N.d),l=N.l**(sr/48000),N.L=(1-l)*N.L+l*N.wave(t*(440/sr)*N.N,d)*d*(d>N.c)),U(N1,n1),U(D,n2),RI=++RI%RL,(R[RI]=1*(l=0.02**(sr/48000),l2=0.02**(sr/48000),RLP1=(1-l)*RLP1+l*(R[RI]||0),RLP2=(1-l2)*RLP2+l2*RLP1,RLP1-RLP2)+P(N1)*.4+P(D)*.2)
fm: sr=48000,tempo=226,
t?0:(R=new Array(RL=floor(sr*120/tempo)),RI=0,RLP1=0,RLP2=0,N1={N:0,D:0,L:0,wave:(p,d)=>(sin(2*PI*p+9*d*sin(2*PI*p))),l:0.05,d:.2,c:0},D={N:0,D:0,L:0,wave:(p)=>((p%2)-1),l:0.2,d:.5,p:1,c:0.5}),nl=(sr*60)/tempo,ni=floor(t/nl)%32,pt=floor(t/(nl*32)),n1=!(pt&2)?[4,,2,4,-3,,-5,-3,-8,,-10,-8,-12]:[1,,-1,1,-4,,-6,-4,-9,,-11,-9,-13],n2=[0,,,0.5,,,,,,,,,0.9,0,,,0,,,0.5,,,,,,,,,0.9,0,,,],U=(N,n)=>(floor(t%nl)==0?(N.p?(N.N=2**((pt&2?-20:-19)/12),N.c=n[ni]??N.c):(N.N=2**(n[ni]/12)||N.N),N.D=typeof n[ni]=="undefined"?N.D:sr*N.d):(N.D--)),P=(N)=>(d=max(0.,N.D/sr/N.d),l=N.l**(sr/48000),N.L=(1-l)*N.L+l*N.wave(t*(440/sr)*N.N,d)*d*(d>N.c)),U(N1,n1),U(D,n2),RI=++RI%RL,(R[RI]=1*(l=0.02**(sr/48000),l2=0.02**(sr/48000),RLP1=(1-l)*RLP1+l*(R[RI]||0),RLP2=(1-l2)*RLP2+l2*RLP1,RLP1-RLP2)+P(N1)*.8+P(D)*.2)
released january 12, 2024. floatbeat, 48000hz.
cover of "Uwa!! So HEATS!!♫" from the undertale ost, by toby fox
unnamed, for cover of Uwa!! So HEATS!!♫ (with square waves):
pwm: sr=48000,tempo=226,
t?0:(R=new Array(RL=floor(sr*120/tempo)),RI=0,RLP1=0,RLP2=0,N1={N:0,D:0,L:0,wave:(p,d)=>(4*((p%1)-((p+0.5*(1-d))%1))),l:0.1,d:.2,c:0},D={N:0,D:0,L:0,wave:(p)=>((p%2)-((p+1)%2)),l:0.3,d:.4,p:1,c:0.5}),nl=(sr*60)/tempo,ni=floor(t/nl)%32,pt=floor(t/(nl*32)),n1=!(pt&2)?[4,,2,4,-3,,-5,-3,-8,,-10,-8,-12]:[1,,-1,1,-4,,-6,-4,-9,,-11,-9,-13],n2=[0,,,0.5,,,,,,,,,0.9,0,,,0,,,0.5,,,,,,,,,0.9,0,,,],U=(N,n)=>(floor(t%nl)==0?(N.p?(N.N=2**((pt&2?-20:-19)/12),N.c=n[ni]??N.c):(N.N=2**(n[ni]/12)||N.N),N.D=typeof n[ni]=="undefined"?N.D:sr*N.d):(N.D--)),P=(N)=>(d=max(0.,N.D/sr/N.d),l=N.l**(sr/48000),N.L=(1-l)*N.L+l*N.wave(t*(440/sr)*N.N,d)*d*(d>N.c)),U(N1,n1),U(D,n2),RI=++RI%RL,(R[RI]=1*(l=0.02**(sr/48000),l2=0.02**(sr/48000),RLP1=(1-l)*RLP1+l*(R[RI]||0),RLP2=(1-l2)*RLP2+l2*RLP1,RLP1-RLP2)+P(N1)*.4+P(D)*.1)
fm: sr=48000,tempo=226,
t?0:(R=new Array(RL=floor(sr*120/tempo)),RI=0,RLP1=0,RLP2=0,N1={N:0,D:0,L:0,wave:(p,d)=>(sin(2*PI*p+9*d*sin(2*PI*p))),l:0.05,d:.2,c:0},D={N:0,D:0,L:0,wave:(p)=>((p%2)-((p+1)%2)),l:0.3,d:.4,p:1,c:0.5}),nl=(sr*60)/tempo,ni=floor(t/nl)%32,pt=floor(t/(nl*32)),n1=!(pt&2)?[4,,2,4,-3,,-5,-3,-8,,-10,-8,-12]:[1,,-1,1,-4,,-6,-4,-9,,-11,-9,-13],n2=[0,,,0.5,,,,,,,,,0.9,0,,,0,,,0.5,,,,,,,,,0.9,0,,,],U=(N,n)=>(floor(t%nl)==0?(N.p?(N.N=2**((pt&2?-20:-19)/12),N.c=n[ni]??N.c):(N.N=2**(n[ni]/12)||N.N),N.D=typeof n[ni]=="undefined"?N.D:sr*N.d):(N.D--)),P=(N)=>(d=max(0.,N.D/sr/N.d),l=N.l**(sr/48000),N.L=(1-l)*N.L+l*N.wave(t*(440/sr)*N.N,d)*d*(d>N.c)),U(N1,n1),U(D,n2),RI=++RI%RL,(R[RI]=1*(l=0.02**(sr/48000),l2=0.02**(sr/48000),RLP1=(1-l)*RLP1+l*(R[RI]||0),RLP2=(1-l2)*RLP2+l2*RLP1,RLP1-RLP2)+P(N1)*.9+P(D)*.2)
released january 12, 2024. floatbeat, 48000hz.
cover of "Uwa!! So HEATS!!♫" from the undertale ost, by toby fox
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQSWASJkDlmr1UOJ6N7cbjIx2UOB0QUCaJ/u0gAKCRDcbjIx2UOB
0eKdAQC5eKLvxuhXk3hFfjiP9b6nCdg3QxzDcFlDVYP8DZiQtwD8DWx9+TIrkdob
u4nfP5xJx8nklrnfzx23EFk02bd4RAE=
=0+Gb
-----END PGP SIGNATURE-----