(t*5&t>>7)|(t*3&t>>10)
Mode info:
• Classic: Output % 256 / 127 - 1
• Signed: Signed 16-bit integer audio processing with bitwise operations
• Float: Direct output (should be between -1 and 1)
• Signed Float: Float output with signed byte conversion
• Glitchbeat: Randomly glitches time and bit operations for chaotic effects
• Extended: Enhanced bytebeat with pitch() access, harmonic layers, and rhythm processing
• Shinewave: Smooth, shiny sounds with low echoes and filtered harmonics
• Nerofunk: Salinewin.exe-style drum & bass at original 8000Hz bytebeat tempo with complex layered patterns
• Sinebeat: Sine wave transformation applied to floatbeat formulas with normalized output between -1 and 1
• Funcbeat: Create simple melodies with `toMelody([note1, note2, ...], speed)`. Notes are MIDI numbers.
Hints: Use 't' for time, '&' for AND, '|' for OR, '>>' for right shift, '<<' for left shift. Try sin(), cos(), tan() for smooth waves, PI for π constant, E for Euler's number, charCodeAt("text", index) for character codes. Higher sample rates = clearer sound.
Functions: min(a,b) and max(a,b) for clipping, random() for noise, floor() for stepping, pow(a,b) for exponents, int() for integer conversion, abs() for absolute value, asin(), acos(), atan(), atan2(), sqrt() for square root, cbrt() for cube root, exp(x) for exponential function, log(x) for natural logarithm, expm1(x) for `e^x - 1`.
Visually interesting pattern
Absolute value wave
Basic signed wave
Complex signed melody
Signed bitshift pattern
Classic bytebeat
Pure sine (float)
Signed melody
Complex pattern
Sine modulation
Sinebeat pattern
Text-based melody
Harmonic sine + cosine
Square wave mix
Simple floor pattern
Layered floor pattern
Floor bit pattern
Random white noise
Random binary
Random modulated sine
Cube root modulated sine
Exponential decay sine
Error Throwing Example
Funcbeat Melody (C Major Arp)
Phonk Melody (Funcbeat - Phonk Arp)
Statement-based Funcbeat
Complex Expm1 Melody
E Formula (Speech Synthesis)