Yotam Mann
56fea7cb70
Refactor options before super
( #1244 )
2024-05-06 10:55:55 -04:00
Yotam Mann
aaf880c925
Using web-test-runner for tests, updating import paths ( #1242 )
...
* WIP moving tests to web-test-runner
* updating thresholds
* Adding file extensions
* Testing integrations
* linting
* fixing dep
* moving back to root dir
* prettier all of the files
* updating eslint rules to use with prettier
* remove import package
* moving tsignore around
* removing unneeded ignores
* all tests run on puppeteer, no need for testing guards
* linting
* import type syntax
* cleaning up
* Update package.json
2024-05-03 14:31:14 -04:00
Jordan Danford
de4dd28ff3
Update standardized-audio-context, fix little lint errors
2023-01-26 11:31:38 -07:00
Yifan Mai
aaa1654a15
Clear memoized values when events are modified
2021-12-28 20:16:55 -08:00
Yifan Mai
da73385620
Memoize getTicksAtTime and getSecondsAtTime
2021-12-27 16:22:08 -08:00
Yotam Mann
10c27a99e1
linting
2021-10-13 18:38:30 -04:00
Yotam Mann
7f9cda9db0
guarding against floating point issue where offset is very close to 1
...
fixes #645
2020-04-14 23:46:08 -04:00
Yotam Mann
16d71718dd
removing case that can't happen
...
there is an event added in the constructor at time 0 and the time can't be less than 0
2019-11-21 11:04:38 -05:00
Yotam Mann
60e4f7231b
removing unused import
2019-11-13 13:16:35 -05:00
Yotam Mann
94ab93935c
annotating type
2019-11-12 23:59:41 -05:00
Yotam Mann
eb1427a17e
updating whitespace
2019-11-12 16:33:54 -05:00
Yotam Mann
589ab74b11
don't need to check if state is null any longer
2019-11-12 15:10:22 -05:00
Yotam Mann
6623b5b4ea
simplifying math a little
2019-11-12 14:12:22 -05:00
Yotam Mann
b9619d8c68
removing unused variables
2019-10-31 15:43:16 -04:00
Yotam Mann
757cd380c8
using getStateAtTime when getting state
2019-10-31 14:44:22 -04:00
Yotam Mann
3a63154b7c
using the unit name instead of the unit type as the Param generic
2019-10-28 11:37:53 -04:00
Yotam Mann
b2a9c9a303
working on examples
2019-10-23 16:30:07 -04:00
Yotam Mann
42cfbcd456
linting docs and examples
2019-10-22 23:04:52 -04:00
Yotam Mann
401d278063
Adding categories to all the nodes
2019-09-16 10:15:23 -04:00
Yotam Mann
e8e785ffdd
linting
2019-09-15 23:32:40 -04:00
Yotam Mann
61c9f191b6
removing calls to tslint
...
getting rid of tslint from project and using eslint instead
2019-09-14 18:06:46 -04:00
Yotam Mann
261a5f4c3b
normalizing whitespace in comments
2019-09-14 16:39:18 -04:00
Yotam Mann
daf97ae603
adding TickParam class
...
used by TickSignal and TickSource
2019-09-07 19:16:04 -04:00
Yotam Mann
736106de5f
accidentally put extra tab before name
2019-09-04 19:18:44 -04:00
Yotam Mann
75a35108af
name is a readonly string
2019-09-04 18:38:04 -04:00
Yotam Mann
3e2de8f259
fixing spacing
...
typedoc wants one space before the "@"
2019-08-30 09:06:38 -07:00
Yotam Mann
4c106930e0
adding typedocs
2019-08-21 13:59:01 -07:00
Yotam Mann
05586661b3
adding types
2019-08-19 09:59:31 -07:00
Yotam Mann
6e5e8b3399
using specific types
...
importing them so there are not multiple import type errors
2019-07-30 15:35:27 -04:00
Yotam Mann
a88e9b5a84
making time optional
2019-07-30 10:25:17 -04:00
Yotam Mann
ffad8c1475
confirm that an instance was disposed
...
implement Tone.prototype.dispose which flips a boolean wasDisposed.
2019-07-23 12:11:57 -04:00
Yotam Mann
6e8cb73ca3
type coersion
2019-07-19 12:32:55 -04:00
Yotam Mann
990c0f56ed
using type instead of string types
2019-07-15 15:37:25 -04:00
Yotam Mann
f48696a69e
Revert "every class calls super.dispose()"
...
This reverts commit 60a63cacf8
.
2019-07-11 00:36:16 -04:00
Yotam Mann
a8e8f53aab
using relative paths
2019-07-11 00:14:53 -04:00
Yotam Mann
60a63cacf8
every class calls super.dispose()
...
makes sure that things don't get disposed twice, which seems to be a common source of issues
2019-07-10 23:35:29 -04:00
tambien
730a818bcb
organizing into sub folders
2019-05-23 14:00:49 -04:00