Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 12, 2017 7:07:14 GMT
that is quite amazing, I haven't heard very much stuff like that all. Maybe I will have a go to try and put music like this in next time I make a game
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 12, 2017 11:14:03 GMT
that is quite amazing, I haven't heard very much stuff like that all. Maybe I will have a go to try and put music like this in next time I make a game this reminds me theres a pretty cool youtube channel that i think especially you would appreciate, its called Bisqwit he has a nice series on how old NES and so games did their passwords and stuff about programming, he also made a cool program just like the one posted above, sounds really nice
|
|
|
Post by nl on Jun 12, 2017 20:02:40 GMT
Lol I know it! The program creates bitwise functions of like AND and XOR and puts the data into waveform values with math functions n shit. In english: The sounds are coming from fractals! Remember that end one in the video was accidentally discovered by me by playing around with sequential pitches of sine waves by division instead of multiplication(dividing usually dont work cuz you cancel out the t)
|
|
|
Post by nl on Jun 12, 2017 20:06:58 GMT
I used to play with this program all the time back when I was in that HELLHOLE OF A CLASSROOM I wish I still had the some codes I discovered as they were lost.
|
|
|
Post by nl on Jun 12, 2017 20:15:17 GMT
Heres all the ones I spammed in the youtube comments including the steam boat.
t/6.375&t/12.75/4|((((t/25.5)|(t*6.375*3))^((t/25.5/4)^t*6.375)))*0.75/2 (t&(t*t>>7|t*t>>10))|((t^t%127.5<<(t^t&t>>8)*3)/8) v=t>>5,t^t&v+(t|t>>7|(t*t>>10))|v+((t>>7|t>>4)&127) (((t*5&t>>6)^(t>>4|t>>2&t%255.004|t*3&t>>8)-10))|(((t*5&t>>6)^(t>>4|t>>2&t%255.004|t*3&t>>8)-10)/4) t%(t-(t>>6|t>>9)/2&250&t>>10|t) v="4568"[t>>11&3],w=(t>>5|t>>v^sin(t/8/(v/(((t>>12&t>>14)&8)+((t>>14|t>>11)&1))))*29-100),w+(v*((t*v/7*4&t>>11)|w)) I got others to try and dig from my older computer.
|
|
|
Post by nl on Jun 12, 2017 20:18:11 GMT
heres some newer ones that I found
t=t/2,t*8<<((t/2.5*(((t>>10|t>>7)&90)+(t>>12|t>>10)&26))/((t/15|-t/14.9995)))/2
d=((((((((t>>10<<2)^t>>9)&20)*1e3/2048)+((((t>>15<<3)|t>>10)&24)*3e3/2048/6))))), (t*d/5*2&t>>5)|((((t*d/5|t>>4)|(t*d/5*1.5*2|t>>10)))+10)
Heres the opening to SOAD's Suite Pee (t*(((("9050"[t*1.5>>14&3])*1.26/2)+(("0606"[t*1.5>>14&3])*1.26*2.19/4))))&
(t*(("4444568888654000"[t*1.5>>10&15])/4*(((("9050"[t*1.5>>14&3])*1.26*2)+(("0606"[t*1.5>>14&3])*1.26*2.19)))))|t>>1
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 13, 2017 21:37:03 GMT
do the strings hold melodies or something?
|
|
|
Post by nl on Jun 13, 2017 22:59:17 GMT
Heres how it works. You have a function value "t" increasing after each step. There are 256 values and if it goes past 256, it moves to the bottom of the waveform(but keeps it's value). ie a sawtooth wave. the t>>x mostly serves the purpose of making the increase slower by a multiple. The thing with this program is that 2 different rates of t put into a logical will result into a fractal(^ = XOR | = OR & = AND XOR makes munching squares AND/OR makes sierpinski triangles). These fractals can be multiplied to make a tone sequence or manipulated with more logics to create a soft unique tone. The & is usually used to simplify the fractal so that the multiplying factor doesn't ear rape. the "strings" "..."[t>>x&# of values-1] playes a limited loop of tones if you multiply it. I don't really get what % does exactly. Also if you do t>>t it makes an infinite diverting buzzing sound. the v=/w= is just like a variable to simplify repeated code. Just play around with it and look at the older codes to try and learn. Viznut's countercomplex 2011 blogposts shows how everything works
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 14, 2017 8:05:37 GMT
ok cool, I will look some time when I have time. I have been using SDL lately, and I think I recall that if you don't use it's extra sound mixer module, you basically have to write the sounds it outputs like this. t % 5 would make a sawtooth wave that is 5 long and 5 tall I wonder if bitwise shifting by a variable value would sound good, probably not
|
|
|
Post by nl on Jun 14, 2017 23:55:46 GMT
GREETINGS FROM MY 2014 BROKEN-HINGE TOSHIBA Here's the original "The Ship Won" v=("46879780"[t>>11&7])-("00000006"[t>>11&7]*2),w=(t>>5|t>>v^cos(t/7/(v/1.3/(((t>>12&t>>14)&8)+ ((t/2>>14)&6))))*29-100),w&(w|w)+((3-w)|w) Here's the original "tonic clonic" (t*12-(t/6*((t/256-(t|-t))^(-t/256+(t&-t)))))/2 "chased by a truck during rush hour" (t*27|t>>1)*(t/(t>>4<<7|t>>2&t>>9&t>>6)) organ-like sound t=(t+(sin(t*3.142/32/32)*127/64-128)),(t*5&t/2>>7)&(t*3&t/2>>10) ? t=t/3*3.1415926^t/2*3.1415926,(((sin(t/64)*64)-(sin(t/32)*32)-(sin(t/16)*16)-(sin(t/8)*8)-(sin(t/4)*4)-(sin(t/2)*2)-(sin(t)))+127)
|
|