Mercurial > code > home > repos > light9
diff light9/web/light9-music.coffee @ 1339:f24d4b331f15
zoom keys, with animation. timeline duration tracks ascoltami
Ignore-this: 70d99195ff0ce2da1c7d050304e1a006
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 04 Jun 2016 23:17:50 +0000 |
parents | 5ba5afe30817 |
children | e06c2c105035 |
line wrap: on
line diff
--- a/light9/web/light9-music.coffee Sat Jun 04 22:38:30 2016 +0000 +++ b/light9/web/light9-music.coffee Sat Jun 04 23:17:50 2016 +0000 @@ -24,9 +24,8 @@ @statusTitle = "GET "+req.url+ " -> " + req.status + " " + req.statusText setTimeout(@poll.bind(@), 2000) @poll() - setInterval(@estimateTimeLoop.bind(@), 50) + setInterval(@estimateTimeLoop.bind(@), 30) - estimateTimeLoop: -> if @playing @t = @remoteT + (Date.now() - @remoteAsOfMs) / 1000