This is the code for the talk I gave at FITC entitled Musical Machines and Flapping Phones.