Skip to content

Instantly share code, notes, and snippets.

View CodyJung's full-sized avatar

Cody Jung CodyJung

  • Garmin International
  • Olathe, KS
View GitHub Profile
@CodyJung
CodyJung / NA_HW4_RandomNumbers.txt
Created December 6, 2012 00:49
Random Numbers
1
0
0
1
0
1
0
1
1
1
@CodyJung
CodyJung / gist:2315618
Created April 6, 2012 00:59
Super Mario Brothers sheet music using MIDI values
// Notes come in byte-pairs.
// Even numbers (0th, 2nd, 4th...) are note numbers (based on MIDI notes)
// Odd numbers (1st, 3rd, 5th...) are duration. 12 is a quarter note
// The music is divided into sections because the Roomba can't store the whole song.
// Part 1 is played once.
// Part 2 is played twice.
// Parts 3 and 4 are played together, twice.
// Part 5 is played once.
// Part 2 is played twice again.