This talk focuses on performance issues that can’t be solved by traditional methods. This also includes some specific problems faced by a music application.
raaga.io is a web application which relies heavily on timing, performance, and modern web APIs. There should be a sync between the music and the UI, but certain limitations of the web make it hard to achieve this. Music has to be precise at the sub-millisecond level, and the UI visualizer has to match that speed while it also has to go through layout, composition, and repaint.
Few of the concepts involved will include
– Web Audio API
– High Precision Time APIs
– Offscreen Canvas
– The concept of lookahead time for scheduling music events
using setInterval and Web Audio together
What are the key takeaways from this talk?