Commit graph

45 commits

Author SHA1 Message Date
Jared Ellison
22258b41a4 Add tests for Event and Part loop behavior when loop is false, 0 or 1 2019-07-08 13:47:09 -04:00
tboie
bcd22b0463 #473 (#478)
Fixes Part loop toggle
2019-04-12 10:44:24 -04:00
tambien
1ab177b4ec testing that pattern reports value correctly 2019-02-01 12:20:34 -05:00
tambien
190035d9c8 removing event by value
testing setting humanize
2019-02-01 12:17:40 -05:00
tambien
5e113f3654 testing progress should be 0 before starting 2019-02-01 12:17:20 -05:00
tambien
ed71d8141b amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
2019-01-27 13:05:20 -05:00
tambien
41183dfe2e removing logging from test
whoops
[skip ci]
2019-01-09 18:34:47 -05:00
tambien
b971ef94da changing part removing behavior
if a part is at the given time, it will remove the entire part instead of recursively checking and removing an event from the subpart.

fixes #269
2019-01-09 18:30:42 -05:00
Yotam Mann
a18ab72da0 pointing at correct helper/Test 2018-05-18 12:07:20 -04:00
Yotam Mann
2ec8e45966 extending test durations 2018-03-05 22:58:28 -05:00
Yotam Mann
15229d7c7e linting 2017-12-30 11:26:29 -05:00
Yotam Mann
933fa95b45 define loopStart/End, subdivision and interval in terms of seconds 2017-12-16 14:23:08 -05:00
Yotam Mann
888ea80ea1 adjusting testing thresholds for rounded toTicks()
addresses #255
2017-09-17 12:43:06 -04:00
Yotam Mann
08812c0886 optimizing the way that repeat events are handled 2017-09-04 16:08:47 -04:00
Yotam Mann
338d8b0dfb testing playbackRate and humanize 2017-07-06 10:32:50 -04:00
Yotam Mann
59060d28f2 testing cancel 2017-06-29 12:33:27 -04:00
Yotam Mann
0c5307c3c7 stop time is inclusive of second event 2017-05-28 17:41:27 -04:00
Yotam Mann
4f8f55c261 updating to new Offline API 2017-02-19 20:48:22 -05:00
Yotam Mann
2b33efa77f new Offline test API 2017-02-19 15:32:00 -05:00
Yotam Mann
11e3504cab narrowing threshold of test 2016-12-20 22:39:38 -05:00
Yotam Mann
09f0c26339 a longer interval to compensate for higher default lookAhead 2016-12-20 22:38:37 -05:00
Yotam Mann
a0ea404745 Revert "deferred animation callback"
This reverts commit f685bcd5ae.
2016-12-18 13:43:23 -05:00
Yotam Mann
7529599607 adding explicit start time to Transport.start in tests 2016-12-05 21:30:25 -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
f4b9393202 testing complex scheduling with multiple start/stop invoked in both event and Transport 2016-10-20 11:45:10 -04:00
Yotam Mann
3f7c903302 sets event start/stop correctly when the loopEnd is changed to smaller than the initial value 2016-10-20 11:44:11 -04:00
Yotam Mann
b5ff5d365a Part accepts a objects that are not object literals in add/remove
it just needs to have a time property
2016-10-03 23:47:01 -04:00
Yotam Mann
7a749dee0f tests accurately reset the PPQ each time 2016-04-18 02:04:48 -04:00
Yotam Mann
b32e73a5fc fixed typo in test 2016-04-13 12:24:34 -04:00
Yotam Mann
d722bdf555 offline testing sequences 2016-03-20 19:26:19 -04:00
Yotam Mann
2285e6feb4 making clock tick more often in offline mode 2016-03-18 11:01:06 -04:00
Yotam Mann
906859b764 adjusting times to compensate for lookAhead 2016-03-18 10:27:48 -04:00
Yotam Mann
1946d737ae scheduling sequence test in the future 2016-03-05 00:01:29 -05:00
Yotam Mann
07f8f227cf .events -> .values 2016-03-04 15:35:10 -05:00
Yotam Mann
cea06ca26c moving event classes to Offline testing 2016-03-04 15:31:48 -05:00
Hidde de Jong
523634106c added test for starting Tone.Part with an offset before loopStart 2016-01-31 23:05:03 +01:00
Yotam Mann
a4f1bd4274 testing Timeline updates 2015-12-06 17:23:30 -05:00
Yotam Mann
8231fc5cf3 fixing and testing start offset for non-looping parts 2015-11-26 08:42:33 -08:00
Yotam Mann
f545fcdf90 additional Event testing 2015-11-26 08:27:50 -08:00
Yotam Mann
1b05129595 testing rests 2015-11-10 23:01:24 -05:00
Yotam Mann
53bb99d404 Tone.Pattern tests 2015-11-03 19:15:55 -05:00
Yotam Mann
1ec77d3122 event Tests 2015-11-03 18:38:14 -05:00
Yotam Mann
2e3e534e1e Note->Event 2015-11-02 21:53:39 -05:00
Yotam Mann
afba7d77d2 toRemove array
This fixes issues where an event is removed mid loop.
2015-11-02 20:08:20 -05:00