hz
[info] - About bytebeat
Bytebeat music was invented in September 2011. Classic simple bytebeats are generally a piece of rhythmic and somewhat melodic music with no score, no instruments, and no real oscillators. It's simply an expression that defines a waveform as a function of time, processed (usually) 8000 times per second, resulting in an audible waveform with a 256-step resolution from silence (0) to full amplitude (256). If you put that expression into a program with a loop that increments time variable (t), you can generate the headerless unsigned 8 bit mono 8kHz audio stream on output, like in this application. Since these directly output a waveform, they have great performance in compiled languages and can often be ran on even the weakest embedded devices. Initially, expressions were typically written in C or were C-compatible, written in JavaScript. But bytebeat music has evolved over the years, and modern songs with complex JavaScript code are now popular. You'll find examples in the library on this site.
[library] - used songs (3) & unused songs (4) used songs
only bytebeat mode, modes is for version 3

ilovemykids26 sparta remix 16000Hz

q=t/2*pow(2,[27,28,25,28][t>>14&3]/12)*(-t/2&32768?1:[1,2][t>>12&1]),(3*q/2^t>>6|q/2)&255

werid thingy music url encoding 32000Hz

eval(unescape('%28t%26t%3E%3E6%29%2B%28t%7Ct%3E%3E8%29%2B%28t%7Ct%3E%3E7%29%2B%28t%7Ct%3E%3E9%29'))

what did I make 11200Hz/11025Hz

only for v3.0
unused songs

nahh 30 song had 32000Hz

(t*16/(t&t>>12)|t>>6)%256/2+30+30*sin(t/16383)

london bridge is saving up 48000Hz

london_bridge_is_falling_down=t*2**(parseInt('KKKMKKIIHHIIKKKKFFHHIIIIHHIIKKKKKKKMKKIIHHIIKKKKFFFFKKKKHHDDDDDD'[63&t/1.45>>12],36)/12)*1.31,(london_bridge_is_falling_down&255)/2+(london_bridge_is_falling_down/4&128)

default code 8000Hz

(t*(2&t>>10|(t>>10&18)-8)&255)*(-t&1023)>>10

my old song 8000Hz

t*t%(t|t>>8)