News for hackers. Stuff that matters.
Re:Show HN: JavaScript Acid Techno Machine by meandave on Tuesday March 10, 2015 @04:24PM (#9180376)
I would recommend doing your scheduling in a web worker. In chrome the playback will slow to a crawl when switching tabs. This is because chrome slows down mainthread js execution for inactive tabs. I have a little module I use to get around this limitation. https://github.com/meandavejustice/audio-clock
Re:Show HN: JavaScript Acid Techno Machine by errozero on Tuesday March 10, 2015 @04:53PM (#9180542)
I'll check that out, it may help to speed things up in Firefox too which seems to slow down even with the tab in focus sometimes.
Re:Show HN: JavaScript Acid Techno Machine by jekrb on Tuesday March 10, 2015 @05:12PM (#9180644)
Weirdly enough, I like the way it slows down after switching tabs.