Commit graph

3850 commits

Author SHA1 Message Date
tambien
1c3461b924 fixing chain behavior 2019-06-24 14:35:32 -04:00
tambien
7687ae512e moving some config into the constructor
since multiband split was not yet declared, some of the properties were undefined
2019-06-24 14:35:25 -04:00
tambien
96628e0984 ensuring context is passed to subclasses 2019-06-24 14:34:17 -04:00
tambien
2e177c4ed0 adding multiband split tests 2019-06-24 14:33:54 -04:00
tambien
db35b3ae3a linting 2019-06-24 13:41:38 -04:00
Yotam Mann
725d4e5c99
Merge pull request #505 from garrensmith/fix-typescript-linting
Fix typescript linting
2019-06-24 13:33:28 -04:00
Yotam Mann
02cfefa7ef
Merge branch 'typescript' into fix-typescript-linting 2019-06-24 13:33:18 -04:00
Yotam Mann
f3076e206f
Merge pull request #504 from garrensmith/eq3-multiband
convert multibandsplit and eq3 to typescript
2019-06-24 13:28:45 -04:00
tambien
958666e8e7 working on build 2019-06-24 13:26:03 -04:00
tambien
2f9ef33984 adding index files for each of the directories 2019-06-24 13:25:48 -04:00
tambien
d53cf17c8a needed to pass compiler 2019-06-23 15:04:13 -04:00
tambien
f7033143fc no longer necessary 2019-06-23 15:04:01 -04:00
tambien
74671b0bda transport is no longer possibly undefined
since Context requires initialization step
2019-06-23 15:03:54 -04:00
tambien
62b4b47fd1 prefering toDestination over toMaster
more consistent with Web Audio API
2019-06-23 15:03:31 -04:00
tambien
b276320393 Destination (Master) typescripting 2019-06-23 15:03:04 -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
tambien
8fd8d95a48 transport and destination created in separate initialization step 2019-06-23 14:59:27 -04:00
tambien
de6b91c9d0 using global AudioContext created on init 2019-06-23 14:58:57 -04:00
tambien
a887660792 updating docs 2019-06-23 14:48:21 -04:00
tambien
017f866ee3 options does not require keys if empty 2019-06-23 14:47:44 -04:00
tambien
0194826467 moving initial AudioContext to separate file 2019-06-23 14:47:21 -04:00
tambien
8602ae13db first node was connected to itself 2019-06-23 14:46:59 -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
Garren Smith
98f8352dc0 fix tslint to use typescript project 2019-06-23 11:57:25 +02:00
Garren Smith
ac627ab332 convert multibandsplit and eq3 to typescript 2019-06-23 11:36:42 +02:00
tambien
eef868e8a1 matching functionality to Filter.js 2019-06-21 14:42:50 -04:00
Yotam Mann
5f6f6f9e0a
[wip] convert Filter to .ts (#503)
* Convert filter.js to typescript

* remove unneeded imports in tests
2019-06-21 14:09:49 -04:00
tambien
21c25ecdbc [wip] working on build config 2019-06-21 14:09:39 -04:00
Garren Smith
d215e01914 remove unneeded imports in tests 2019-06-21 19:32:06 +02:00
Garren Smith
30425572c9 Convert filter.js to typescript 2019-06-21 19:29:46 +02:00
tambien
bc61ddaa2b simplifying logic 2019-06-19 18:17:24 -04:00
tambien
24826f69ad outputting file named coverage.lcov 2019-06-19 18:06:42 -04:00
tambien
cfe76bd842 fixing @tonejs/plot 2019-06-19 17:40:15 -04:00
tambien
f14add5519 adding a short timeout bc Canary is running out of contexts 2019-06-19 17:33:00 -04:00
tambien
5896a7ca9c Update BufferSource.test.ts 2019-06-19 17:30:31 -04:00
tambien
87cd6df3ef updated to latest API 2019-06-19 17:25:14 -04:00
tambien
c8396d38eb waiting for promise to resolve before starting test 2019-06-19 17:20:59 -04:00
tambien
5472ca1dcc offset does not default to 0 2019-06-19 17:20:20 -04:00
tambien
d2b7562021 waiting for promise to resolve before starting next test 2019-06-19 17:20:12 -04:00
tambien
10eec904f7 making sure the context is an AudioContext before calling resume 2019-06-19 16:21:03 -04:00
tambien
4c68c6f2fa correcting typedef 2019-06-19 16:20:44 -04:00
tambien
58ebb1ae1a Merge branch 'dev' into typescript 2019-06-19 15:56:14 -04:00
tambien
56756f2725 fixing security vulnerabilities 2019-06-19 15:54:15 -04:00
tambien
9e229146c0 converting Oscillator to ts 2019-06-19 15:53:14 -04:00
tambien
4e54763db1 accepts an options template 2019-06-19 15:53:00 -04:00
tambien
e87d723ec8 cancelStop does not need to be private 2019-06-19 15:52:47 -04:00
tambien
fc773ccfb5 pass in the options
so that 'get' knows what it's output is
2019-06-19 15:52:38 -04:00
tambien
5f99bdbdf0 value can be any 2019-06-19 15:52:24 -04:00
tambien
ab5184f9a6 adding Radians 2019-06-19 15:52:16 -04:00