Commit graph

195 commits

Author SHA1 Message Date
Yotam Mann
13f75f42b5 linting 2019-07-19 12:32:24 -04:00
Yotam Mann
62faa2c825 porting instrument tests to ts 2019-07-18 14:07:03 -04:00
Yotam Mann
93298290b7 noting which test failed
to help with debugging
2019-07-18 14:04:39 -04:00
Yotam Mann
a17d2f6a06 helpful message when no audio 2019-07-17 12:54:33 -04:00
Yotam Mann
990c0f56ed using type instead of string types 2019-07-15 15:37:25 -04:00
Yotam Mann
3ee452d63d using 44100 as default rendering sample rate 2019-07-15 15:36:03 -04:00
tambien
db35b3ae3a linting 2019-06-24 13:41:38 -04:00
Yotam Mann
02cfefa7ef
Merge branch 'typescript' into fix-typescript-linting 2019-06-24 13:33:18 -04:00
tambien
8b4f1cfa19 Global now only manages global Context
global AudioContext was moved to AudioContext.ts
2019-06-23 15:02:38 -04:00
tambien
88e000179c adding initialization step 2019-06-23 14:59:49 -04:00
Garren Smith
efbd3c7f5f Fix linting issues
Also add in no-unused-expression-chai rule so that chai works with
tslint.
2019-06-23 12:53:57 +02:00
tambien
87cd6df3ef updated to latest API 2019-06-19 17:25:14 -04:00
tambien
5bc0cf4536 converting oscillator tests to ts 2019-06-19 15:52:09 -04:00
tambien
63ad175b6d converting helpers to ts 2019-06-19 10:15:15 -04:00
tambien
10c1715b8a test takes sample rate 2019-06-17 21:49:38 -04:00
tambien
8ddef75134 updating dependency 2019-06-17 14:03:52 -04:00
tambien
fac538c9fb converting Buffer -> ToneAudioBuffer.ts 2019-05-25 14:31:02 -04:00
tambien
730a818bcb organizing into sub folders 2019-05-23 14:00:49 -04:00
tambien
df08425a70 started retooling with typescript 2019-04-12 10:37:47 -04:00
Stephan Lagerwaard
7269f3bdfa Added option to silence both loggers the context (#453) 2019-03-06 14:59:17 -05:00
tambien
2780cac504 using Tone.connect for connections with native nodes
addresses #421
2019-01-28 11:02:15 -05:00
tambien
fe10de3eea rewriting exclude version logic again 2019-01-27 13:40:10 -05:00
tambien
33f663c5fc test on Chrome only, but not Chrome 71 2019-01-27 13:33:18 -05:00
tambien
2fbdcec41e exclude specific browser versions 2019-01-27 13:29:59 -05:00
tambien
887bed1092 using ua-parser from npm
instead of local version. Also debugging Draw tests
2019-01-27 13:21:05 -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
2ef5aa1517 only use only context in chrome >= 72
because of a bug loading blobs in Chrome 71: https://github.com/GoogleChrome/puppeteer/issues/3463
2019-01-23 17:22:46 -05:00
tambien
7e4e04b5d2 Revert "trying out online testing with Chrome flag"
This reverts commit 68bb4faa31.
2019-01-09 22:22:02 -05:00
tambien
68bb4faa31 trying out online testing with Chrome flag 2019-01-09 22:12:45 -05:00
tambien
e9ed4ef261 no more online tests
they fail in the latest chrome
2018-12-12 20:33:09 -05:00
tambien
1cfdc1ddef no online testing with safari 2018-08-26 20:06:17 -04:00
tambien
5ca79dfb58 tests in HTML file 2018-07-29 23:33:15 -04:00
tambien
4ced626c14 placeholder test for allowing different AudioContext to be passed into constructor 2018-07-29 09:39:58 -04:00
Yotam Mann
c93a16dfe2 CompareToFile averages across all samples 2018-05-28 18:01:03 -04:00
Yotam Mann
f40958be94 verifying that all sources can restart 2018-05-20 17:36:17 -04:00
Yotam Mann
bc7269e740 checking for 'then' instead of 'instanceof Promise' 2018-05-19 13:39:39 -04:00
Yotam Mann
296af2cbde testing for Promise by checking for 'then' 2018-05-19 13:11:11 -04:00
Yotam Mann
95c694b3ad moving deps to node_modules 2018-05-19 12:17:23 -04:00
Yotam Mann
34b4826f54 silence logging 2018-05-18 18:04:04 -04:00
Yotam Mann
a18ab72da0 pointing at correct helper/Test 2018-05-18 12:07:20 -04:00
Yotam Mann
39d5898738 Time classes take Object notation as well
replacement for deprecated expression notation
2018-04-25 10:51:36 -04:00
Yotam Mann
65f15a1ef2 restart method to all the oscillators 2018-03-06 00:02:49 -05:00
Yotam Mann
915d85ebd1 testing instruments are able to retrigger correctly 2018-02-08 11:12:17 -05:00
Yotam Mann
c91c1354e0 using a stereo signal to test PassAudioStereo and splitting 2018-02-05 16:25:43 -05:00
Yotam Mann
6cb53f6d9a continuity tests on Chrome only 2018-02-05 15:06:53 -05:00
Yotam Mann
67649e43d5 adjusting FFT size and ignoring failing FF tests 2018-02-05 14:36:58 -05:00
Yotam Mann
4b9a407304 only running tests when audio rending is similar to Chrome 2018-02-05 14:24:21 -05:00
Yotam Mann
5eec68f9d0 compare rendered output to previously rendered audio files 2018-02-05 13:55:37 -05:00
Yotam Mann
c4cd005635 adding getValueAtTime to returned RMS 2018-02-04 22:59:17 -05:00
Yotam Mann
58eac95314 define left and right variables 2018-02-04 11:43:34 -05:00
Yotam Mann
a57ac25187 returning promise to OfflineTest defers the callback of 'render' 2018-01-03 12:03:41 -05:00
Yotam Mann
55c3474849 adding get getRmsAtTime to BufferTests 2018-01-03 12:02:41 -05:00
Yotam Mann
92454266f7 sync/unsync triggerAttack/Release to the Transport 2018-01-02 16:49:41 -05:00
Yotam Mann
15229d7c7e linting 2017-12-30 11:26:29 -05:00
Yotam Mann
a6f9ca49bd fixing AudioContext.close promise resolution support 2017-12-30 11:23:02 -05:00
Yotam Mann
2b896fad0c don't run Context tests when close isn't supported 2017-12-30 01:19:04 -05:00
Yotam Mann
c8ac0e7d40 Revert "using babel-polyfill"
This reverts commit aed806032c.
2017-12-29 23:34:44 -05:00
Yotam Mann
aed806032c using babel-polyfill
for older browsers testing
2017-12-29 23:23:28 -05:00
Yotam Mann
919de12cfa don't run example tests on older safari 2017-12-29 23:15:40 -05:00
Yotam Mann
f129e5d726 removing the polyfill from the tests 2017-12-29 22:06:39 -05:00
Yotam Mann
658d2f201f adding babel-polyfill for testing older browsers 2017-12-29 21:44:10 -05:00
Yotam Mann
acf3768120 setting rotation in another way 2017-12-29 13:50:57 -05:00
Yotam Mann
c4abd54719 ignoring UserMedia tests on Safari 2017-12-28 18:44:14 -05:00
Yotam Mann
30f118fd55 silence version logging in tests 2017-11-29 15:23:20 -05:00
Yotam Mann
f02a46f0c0 skip tests which rely on AudioContext.close promise resolving on unsupported platforms 2017-11-29 15:22:30 -05:00
Yotam Mann
2068fc3613 don't log on tests 2017-11-29 15:05:28 -05:00
Yotam Mann
1c13b893de flag for online/focused testing
trying to fix failing tests on headless FF on Travis CI
2017-11-29 15:05:12 -05:00
Yotam Mann
0906faea56 putting window in focus 2017-11-21 09:40:32 -08:00
Yotam Mann
69dd348eaa simplifying APITest 2017-10-26 00:51:43 -04:00
Yotam Mann
c634624fab Revert "simplifying the API tests"
This reverts commit 6af9f28c50.
2017-10-26 00:42:51 -04:00
Yotam Mann
6af9f28c50 simplifying the API tests 2017-10-25 23:08:16 -04:00
Yotam Mann
d153fc86cf removing 'let' from test code 2017-10-24 11:57:23 -04:00
Yotam Mann
d9d7e4edcf silencing warnings in API Tests 2017-09-15 17:46:22 -04:00
Yotam Mann
892668b01e linearRampToValue -> linearRampTo 2017-08-31 12:45:25 -04:00
Yotam Mann
f687bb8a11 ability to get buffer values at a given time 2017-08-27 19:41:47 -04:00
Yotam Mann
62d1f5c9b1 resetting transport state between tests
addresses #250
2017-08-13 21:34:26 -04:00
Yotam Mann
8a270a22b2 increasing timeout length
CPU limited Travis CI containers are having a hard time keeping up with
the tests
2017-06-30 14:34:01 -04:00
Yotam Mann
7cd7bb1536 source shouldn't be muted
otherwise it’s not testing the right thing
2017-05-21 20:16:32 -07:00
Yotam Mann
f534e13a7e optionally pass in the options object in the second argument 2017-05-13 22:08:55 -04:00
Yotam Mann
79a0e22fd7 fixed timing error in Meter
was always passing in NaN
2017-05-01 17:44:25 -04:00
Yotam Mann
ce2005193d testing triggerRelease and triggerAttackRelease
testing in all instruments that have that method
2017-04-30 14:18:50 -04:00
Yotam Mann
d5253b6fce testing static type queries 2017-04-26 00:27:49 -04:00
Yotam Mann
2030034494 sources to new defaults api
and es6 classes prep
2017-04-26 00:00:01 -04:00
Yotam Mann
e1b7fbd3f9 removing unused tests 2017-02-20 16:45:32 -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
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
47325729b2 updating EffectsTests to new Offline API 2017-02-20 00:04:45 -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
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
25b79e0108 updating to new PassAudio Test API 2017-02-19 15:29:01 -05:00