Commit graph

2325 commits

Author SHA1 Message Date
Yotam Mann
ea1b92e75a only set the clock ticks when the value has changed
optimization
2017-03-12 21:09:57 -04:00
Yotam Mann
a48b58eb95 removing old initAudioContext
replaced by Context.on(‘init’)
2017-03-12 21:03:17 -04:00
Yotam Mann
266fd3e0ef Adding bower.json back
fixes #197
[skip ci]
2017-03-05 13:45:26 -05:00
Yotam Mann
752a0a6bc4 Duration argument must be greater than 0
fixes #203
[skip ci]
2017-03-05 13:19:55 -05:00
Yotam Mann
dba464fcca safety checks for drift
fixes #199
2017-03-05 12:39:43 -05:00
Yotam Mann
39e923480f decibels also ramps exponentially 2017-03-01 15:46:21 -05:00
Yotam Mann
83a019c987 moving context dependency from Transport to Type 2017-02-28 19:01:09 -05:00
Yotam Mann
f0520d9722 using native sampleRate for tests 2017-02-28 18:59:21 -05:00
Yotam Mann
33979df0a6 more reasonable defaults for freeverb on FF
temporary fix for #198
2017-02-28 18:10:43 -05:00
Yotam Mann
9919667467 shouldn't zero out next tick time 2017-02-28 18:09:53 -05:00
Yotam Mann
8e5d5e9872 fixing typo in comments
[skip ci]
2017-02-28 17:43:04 -05:00
Yotam Mann
21d225e322 returning to old test style 2017-02-20 23:32:10 -05:00
Yotam Mann
a64d9d551b adjusting ranges for linux errors 2017-02-20 23:17:20 -05:00
Yotam Mann
c7b62eb939 trying to compensate for linux errors
scheduling samples seems to have different levels of precision of
different platforms
2017-02-20 23:06:27 -05:00
Yotam Mann
07dd1cf7a0 adjusting test ranges again for linux 2017-02-20 22:49:27 -05:00
Yotam Mann
e19ef3bca7 extending ranges to compensate for floating point errors
on linux these were throwing errors
2017-02-20 22:37:32 -05:00
Yotam Mann
e1b7fbd3f9 removing unused tests 2017-02-20 16:45:32 -05:00
Yotam Mann
0ef0ad3a56 type tests use updated Offline API 2017-02-20 16:41:37 -05:00
Yotam Mann
d8ea7ac0fb making sure non-zero signal is output 2017-02-20 16:41:22 -05:00
Yotam Mann
ff7f384192 instrument tests use updated Offline API 2017-02-20 16:40:56 -05:00
Yotam Mann
6253db7250 signal tests use updated Offline API 2017-02-20 16:40:41 -05:00
Yotam Mann
72fe983374 using new value method in BufferTests 2017-02-20 14:07:02 -05:00
Yotam Mann
fc0a26027f migrating tests to new Offline API 2017-02-20 14:06:44 -05:00
Yotam Mann
15dd8107de meter measures and returns RMS 2017-02-20 14:05:33 -05:00
Yotam Mann
bd9b42d5bc additional buffer checks 2017-02-20 14:05:11 -05:00
Yotam Mann
a7a5f00786 testing start with and without duration 2017-02-20 14:03:49 -05:00
Yotam Mann
9858dbe563 start method takes an optional duration
also includes start method docs

fixes #195
2017-02-20 14:03:36 -05:00
Yotam Mann
47325729b2 updating EffectsTests to new Offline API 2017-02-20 00:04:45 -05:00
Yotam Mann
662951cff9 uses constant from context 2017-02-19 23:56:04 -05:00
Yotam Mann
4399793d8d converting components to new Offline test API 2017-02-19 23:55:55 -05:00
Yotam Mann
b3fa0edf9a FF passes all signal scheduling tests 2017-02-19 22:51:10 -05:00
Yotam Mann
d5fa72f447 shim buffer tests into offline return 2017-02-19 22:50:39 -05:00
Yotam Mann
06913fa2cc invokes a callback online a specific time 2017-02-19 20:49:58 -05:00
Yotam Mann
931524407c simplified PassAudioStereo 2017-02-19 20:49:47 -05:00
Yotam Mann
23e07013c9 allowing for sound to slowly ramp in 2017-02-19 20:49:35 -05:00
Yotam Mann
f26f4d42aa evaluates to true if the input produces silence 2017-02-19 20:48:57 -05:00
Yotam Mann
4f8f55c261 updating to new Offline API 2017-02-19 20:48:22 -05:00
Yotam Mann
b027b865e9 removing listener after test is completed 2017-02-19 15:32:26 -05:00
Yotam Mann
b58b6af6ea removing unused tests 2017-02-19 15:32:11 -05:00
Yotam Mann
2b33efa77f new Offline test API 2017-02-19 15:32:00 -05:00
Yotam Mann
99955515ea reinit test on new Context 2017-02-19 15:31:03 -05:00
Yotam Mann
6d8669ce56 updated Offline test API 2017-02-19 15:29:53 -05:00
Yotam Mann
25b79e0108 updating to new PassAudio Test API 2017-02-19 15:29:01 -05:00
Yotam Mann
4652203066 stopDownloads -> cancelDownloads 2017-02-19 12:01:15 -05:00
Yotam Mann
d82918a6ce referring to listener on the Context
instead of creating a local copy which can become out of sync with the
current AudioContext
2017-02-19 11:55:08 -05:00
Yotam Mann
89d92b78bc converting to new Offline test API
and new test helpers
2017-02-19 11:54:29 -05:00
Yotam Mann
9ede009e6d testing OfflineContext 2017-02-19 11:52:53 -05:00
Yotam Mann
2ee1eb2d76 testing Offline method 2017-02-19 11:52:46 -05:00
Yotam Mann
c0b16757e5 Offline test uses new Offline method 2017-02-19 11:52:33 -05:00
Yotam Mann
b32f2606e7 convert the buffer to mono
replaces the existing buffer
2017-02-19 11:52:04 -05:00