Glitch: a noisy fusion of math and music

Audio engine

Glitch: the saw-tooth wave of “byte(t)”
Glitch: the sawtooth wave of “byte(t*8)”

Bitwise magic

main(t) {
for(t=0;;t++)
putchar(t*(((t>>12)|(t>>8))&(63&(t>>4))));
}
Glitch: almost a major chord arpeggio

Sequencer

Glitch: Fast arpeggios in C major

Synthesizers

FM synth playing along with the main melody

Glitch expression language

  • Basic math: +, -, *, /, % (modulo) and ** (power)
  • Bitwise math: &, |, ^ (XOR or unary negation), <<, >>
  • Logical operations: <, >, <=, >=, ==, !=, &&, ||
  • Others: comma to separate expressions, assignment to modify the value of the variables, parenthesis to group subexpressions.
Glitch: library of Bytebeat songs

Future of Glitch

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
naivesound

naivesound

More from Medium

My music dictionary

5 Revealing Ways to Spot Bad Beginner Fixed Gear Bikes

Don’t Pop My Bubble

What to learn from Japan in 1945?