Commit graph

25 commits

Author SHA1 Message Date
Yotam Mann
2b33efa77f new Offline test API 2017-02-19 15:32:00 -05:00
Yotam Mann
5d15ee324f lookAhead -> latencyHint
more consistent with WAA spec
2016-12-20 22:47:37 -05:00
Yotam Mann
a0ea404745 Revert "deferred animation callback"
This reverts commit f685bcd5ae.
2016-12-18 13:43:23 -05:00
Yotam Mann
8911dce68a Clock.start with undefined arg is scheduled into the future
if there is no argument passed into the first argument of Clock.start /
Transport.start, the currentTime + Clock’s lookAhead time will be used
as the start time.
2016-12-05 20:59:39 -05:00
Yotam Mann
f685bcd5ae deferred animation callback
This is useful for synchronizing animations with scheduled audio
events.
2016-12-03 12:15:37 -05:00
Yotam Mann
b721ee8ffd API to set Transport's lookAhead to customize the balance of latency and performance 2016-11-22 10:56:47 -08:00
Yotam Mann
7565530987 start/stop/pause callbacks are invoked at the moment they occur
Previously they were invoked when the ‘start/stop/pause’ methods were
called.

Fixes #159
2016-09-24 11:48:28 -04:00
Yotam Mann
682ec0e46e get/set the progress in seconds 2016-08-15 07:28:52 -04:00
Yotam Mann
c08e16087f correctly setting PPQ
wasn’t taking into account that the returns bpm value was dependent on
the PPQ. therefore, need to read the bpm before setting the PPQ.
2016-07-06 23:23:14 -04:00
Yotam Mann
11dd12f002 changing subdivision test to use Offline testing
more reliable than setTimeout
2016-05-14 17:00:31 -04:00
Yotam Mann
7a749dee0f tests accurately reset the PPQ each time 2016-04-18 02:04:48 -04:00
Yotam Mann
e582294937 testing if schedule methods accept TransportTime 2016-04-18 01:15:49 -04:00
Yotam Mann
fdf39d4253 testing swing 2016-04-18 00:17:23 -04:00
Yotam Mann
d27f5bb8d1 updating Transport tests with nextSubdivision changes 2016-04-13 13:06:57 -04:00
Yotam Mann
9b599642ca fudging times to compensate for lookAhead time 2016-03-18 10:23:49 -04:00
Yotam Mann
cea06ca26c moving event classes to Offline testing 2016-03-04 15:31:48 -05:00
Yotam Mann
9f785b371e removing deprecated methods 2016-01-18 22:45:46 -05:00
Yotam Mann
51105917e3 testing more accurate quantization 2015-10-27 20:58:21 -04:00
Yotam Mann
64f6ad9c5e quantization tests 2015-10-27 17:49:00 -04:00
Yotam Mann
e58a016c16 testing new classes and APIs 2015-10-21 10:55:56 -04:00
Yotam Mann
02e88315ee testing loop progress 2015-10-09 19:09:22 -04:00
Yotam Mann
371199d082 testing deprecated methods 2015-09-05 15:15:16 -04:00
Yotam Mann
7ba1f3c148 testing events 2015-09-05 15:07:31 -04:00
Yotam Mann
7393a59410 cancel <-> clear
clear removes an ID and cancel cancels events after the given time. API
is now more consistent with the Web Audio’s cancelScheduledValues
2015-09-03 16:56:05 -04:00
Yotam Mann
e5b0fb49d3 NewClock -> Clock 2015-08-18 18:14:26 -04:00