GitHub PushEvent at 2014-05-21 10:05:43
Repository: jquery-turtle
Actor: davidbau
Payload: {"shas":[["804d3630969dc2c57bfc96c8019a22d0b67aa848","1791bd619f7bd1005a29c3d4c45fce0630a0d264@gmail.com","Fix fern test.","David Bau",true],["beb8132819779f17aa1df5759d17bd267191dfaf","1791bd619f7bd1005a29c3d4c45fce0630a0d264@gmail.com","Draft of instrument support.\n\nThis adds an instrument class for audio support along with a\nsyntax for specifying timbre.\n\nAn instrument is basically a tone generator that can also do\nsequencing.  It is possible to make a immediate-mode piano using the\nturtle.tone(freq) command.  turtle.tone(freq, false) stops the sound.\nThe old method turtle.play(song) is still there, and it now works\nby schedules a bunch of tone() over time.\n\nAn instrument cannot play more than one tone with the same frequency\n(it will end the earlier one when another one starts), and it also\nonly sends a few seconds of tones to WebAudio at a time.  This\narchitecture keeps the load on WebAudio light, and helps solve the\n\"too many oscillators\" problem.","David Bau",true],["0d0661f11252188583b8c46646cf8e3ce173a898","1791bd619f7bd1005a29c3d4c45fce0630a0d264@gmail.com","Add a Piano sprite.\n\nThis sprite sounds like a piano instead of a square wave when played,\nand it also looks like a piano, lighting up keys when notes are played.\nThings interact fine with both play() and tone().\n\nThe default turtle sounds is still a square wave: to get a piano, you\nneed to say p = new Piano, then p.play 'edc'.\n\nThis commit also adds some unit tests for Instrument.","David Bau",true],["8cf1a0367e97c59f0d0316b7d40cc69fbb2febad","1791bd619f7bd1005a29c3d4c45fce0630a0d264@gmail.com","More exhaustive ABC notation tests.\n\nThis commit adds more exhaustive ABC notation tests and fixes a bunch\nof bugs expoesed by the tests.  It also reorganizes and adds comments\nto instrument support.","David Bau",true]],"size":4,"ref":"refs/heads/instrument","head":"8cf1a0367e97c59f0d0316b7d40cc69fbb2febad"}