{"push_id":742049395,"size":4,"distinct_size":4,"ref":"refs/heads/webaudio","head":"df49c2842fc37a43076c49f64315bfaa6030186d","before":"e127e478f65715cdbe8c4cb41286d89fe79af9a1","commits":[{"sha":"1875e4084e3d6ed85e881e03e59508a54af655ed","author":{"email":"c01c01413a276242cc9c30514451f41059b5b691@gmail.com","name":"Sigve Sebastian Farstad"},"message":"Change music to be webaudioapi-based\n\nThe music is no longer played by a HTML5 audio element, but rather by\nthe webaudioapi. This is done to allow more interesting music\nintegration down the line. As an implementation result, demo.music is\nnow an interface object that manipulates webaudioapi playback, rather\nthan an audio object. The interface has been changed somewhat, which is\nreflected in the usage of demo.music in this commit.\n\nThe music is loaded and played back as an AudioBuffer. This is a method\nreccomended for \"short to medium-length audio\", as it loads the entire\nbuffer into memory. An alternative to AudioBuffer would be to use a\ntraditional audio element and run it through the webaudio pipeline using\na MediaElementSourceNode, but this is not done since it allegedly has\nflaky support across browsers, and it limits some interesting webaudio\nopportunities that would otherwise be available to us, such as a\nnon-pitch-correcting playbackRate modifier.\n\nSince AudioBufferSourceNodes are designed as a cheap, one-off node for\nplaying short sound bytes (think sound effects), there are no playback\ncontrols, so these have been implemented explicitly in this commit.","distinct":true,"url":"https://api.github.com/repos/ninjadev/nin/commits/1875e4084e3d6ed85e881e03e59508a54af655ed"},{"sha":"4396abc07d083631d97c207e019abd01ed2f6e68","author":{"email":"c01c01413a276242cc9c30514451f41059b5b691@gmail.com","name":"Sigve Sebastian Farstad"},"message":"Add FFT music analysing\n\nThe current music FFT is now available at demo.music.getFFT().","distinct":true,"url":"https://api.github.com/repos/ninjadev/nin/commits/4396abc07d083631d97c207e019abd01ed2f6e68"},{"sha":"2f9c9601b85536ff9d0b41378ae115264712c29c","author":{"email":"c01c01413a276242cc9c30514451f41059b5b691@gmail.com","name":"Sigve Sebastian Farstad"},"message":"Add more explicit jumpToFrame during frontend load","distinct":true,"url":"https://api.github.com/repos/ninjadev/nin/commits/2f9c9601b85536ff9d0b41378ae115264712c29c"},{"sha":"df49c2842fc37a43076c49f64315bfaa6030186d","author":{"email":"c01c01413a276242cc9c30514451f41059b5b691@gmail.com","name":"Sigve Sebastian Farstad"},"message":"Add missing semicolon","distinct":true,"url":"https://api.github.com/repos/ninjadev/nin/commits/df49c2842fc37a43076c49f64315bfaa6030186d"}]}