-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBITSHIFT_PATTERNZ
60 lines (38 loc) · 941 Bytes
/
BITSHIFT_PATTERNZ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// glitchy noise
(t & ((t%(t>>1&t))|t>>3^t>>4)>>7)-1
(t & ((t%(t>>1&t))|t>>13^t>>5)>>7)-1
// spackley
((t/1000)^(t/1001))*t
// low noise melody
t/((t%(t>>13&t)))
// revers0r
t>>(8/((t/32)%3))
// ufo
((t/4)>>(t/4))>>(t>>(t/8))|t>>2
// digeridoo
((t/4)>>t/4)|(t>>2)
// noisey
( ( ( t >> 6 | t | t >> ( t >> 16 ) ) * 10 + ( ( t >> 11 ) & 7 ) ) & 255 ) / 127 - 1
// high glitch melody
(( ((t*5)&(t>>7)) | ((t*3)&(t>>10)) ) & 255) / 127 - 1
// dark
(t&t>>4)-(t>>13&t)
((2*(t&1)-1)*t)-(t>>8) // deep low bass
(((t/91)&t)^((t/90)&t))-1 // nutty
// sci-fi
(t*t)/(t>>13 ^ t>>8)
// hi-wire
t<<((t>>8&t)|(t>>14&t))
// movement
t<<((t>>1|t>>8)^(t>>13))
// dialtones
(t>>4 & t>>8)/(t>>16&t)
(t & (t>>15+(t>>8&t)))*t
(t*t)/(t>>8&t)
// mario GOOD
t%(t>>10&t)
https://www.reddit.com/r/bytebeat/comments/20km9l/cool_equations/
74 * ( t | ( t >> 2 | t >> 16 ) )
^ THIS WITH
notes/2stepbass.aiff
new bitshift (t >> 3 & t << 7) | t & 3*t