Yotam Mann
6dd22e752f
warn if event is scheduled without using the scheduled time.
...
addresses #959
2021-10-13 19:03:14 -04:00
Yotam Mann
52cf924ee7
linting
2021-10-13 18:42:45 -04:00
Yotam Mann
d8c8a85bdf
small ts tweaks
2021-10-13 13:10:36 -04:00
Yotam Mann
f549a45cf7
Merge pull request #790 from sarahBuisson/patch-3
...
Update AdvancedTypeCheck.ts
2021-01-31 15:03:40 -05:00
Vibert Thio
46bd7176f6
fix the wrong variable name 'event' in Emitter.ts
2021-01-20 18:41:55 -05:00
sarahBuisson
284db72d43
Update AdvancedTypeCheck.ts
...
fix https://github.com/Tonejs/Tone.js/issues/788
It was 'working" before my update because there is another classe AudioBuffer define in a file of the typescript lib d.ts who do something else, and don't need import to be used ( because it's "inside" typescript)
2020-11-15 13:00:41 +01:00
Yotam Mann
7ec918e5b4
making arguments generic
2020-09-21 09:26:22 -04:00
sarahBuisson
846e536e4e
Update Defaults.ts
2020-09-21 02:31:29 +02:00
Yotam Mann
f6f164ac6d
Merge pull request #732 from marcelblum/docs-fix3
...
adding @category definitions for docs, fixing some typos/mistakes alo…
2020-09-07 09:10:12 -04:00
Jouni Airaksinen
d5c8a25a08
Add test for duplicate events
2020-09-07 14:14:53 +03:00
Jouni Airaksinen
b5f582ee1a
Reverse Emitter off callback loop for correct removal of duplicate events
2020-09-07 14:06:24 +03:00
Marcel Blum
3715149b8b
un-categorizing some internal-use-only classes so they don't surface to the docs
2020-09-02 18:01:49 -04:00
Marcel Blum
0e2b5b942d
adding @category definitions for docs, fixing some typos/mistakes along the way
2020-09-02 16:53:38 -04:00
Yotam Mann
5771eb4383
removing RecursiveOmit (never used)
...
addresses #700
2020-07-19 12:23:18 -07:00
Yotam Mann
a78fba072a
make sure the defaults belong to the template
2020-07-19 12:04:03 -07:00
Yotam Mann
13de3a0ac1
more examples
2020-04-29 17:15:12 -04:00
Yotam Mann
8bc4deec2b
feat: updating the way that AudioWorkletProcessors are handled
...
They each get their own .worklet.ts file which enables some typescript checking
2020-04-29 16:38:58 -04:00
Yotam Mann
f17249691d
feat: updating all examples
...
now in the form Tone.Something instead of using `import { Something } from "tone"`. It makes the example runner on the docs page work much faster
2020-04-16 22:24:18 -04:00
Yotam Mann
bdd66ef8ba
cleaning up code a little
2020-02-26 17:18:08 -05:00
Yotam Mann
7adda98875
perf: optimizing forEachAtTime to iterate over a smaller range
...
fixes #618
2020-02-26 16:54:35 -05:00
Yotam Mann
ef52e20a1b
updating comment
2019-12-17 11:57:02 -05:00
Yotam Mann
48284d78fb
adding decorators which validate the input value range
2019-12-16 17:13:03 -05:00
Yotam Mann
fc84ec281b
adding clamp function
2019-12-16 16:50:07 -05:00
Yotam Mann
389ccf8722
using assert instead of this.assert
...
removing this.assert from Tone.js classes
2019-12-16 15:58:31 -05:00
Yotam Mann
a2d5c3d634
adding the intial state at time 0
2019-12-14 16:11:56 -05:00
Yotam Mann
8bb53b3eb1
state time can't be less than 0
2019-11-21 11:04:00 -05:00
Yotam Mann
e0248afb1c
using floating point comparisons
2019-11-18 15:16:04 -05:00
Yotam Mann
09dc29191b
linting
2019-11-17 13:09:19 -05:00
Yotam Mann
b6cbd31a78
updating test to pass in context
2019-11-11 16:04:38 -05:00
Yotam Mann
b68808ca6b
using GrainPlayer to test
2019-11-11 15:41:01 -05:00
Yotam Mann
522e3a0670
only test if it's in fact suspended
2019-11-11 15:17:48 -05:00
Yotam Mann
9136836da0
assertContextRunning
...
help with autoplay issues by warning when AudioContext is not running
2019-11-11 11:43:43 -05:00
Yotam Mann
59b9f5f6a8
adding recursive omit method
2019-11-03 17:42:51 -05:00
Yotam Mann
b9619d8c68
removing unused variables
2019-10-31 15:43:16 -04:00
Yotam Mann
fbd1e3c450
using floating point comparisons
2019-10-28 16:40:30 -04:00
Yotam Mann
cd37884156
removing unused deps
2019-10-28 15:11:42 -04:00
Yotam Mann
f4dcc08ed2
create a global Draw object (linked to the Context)
2019-10-28 12:12:27 -04:00
Yotam Mann
4266d2b93c
updating examples
2019-10-24 18:01:27 -04:00
Yotam Mann
42cfbcd456
linting docs and examples
2019-10-22 23:04:52 -04:00
Yotam Mann
f753aef015
Adding range test
2019-10-09 12:38:10 -04:00
Yotam Mann
dd22e298e5
exporting debug
2019-09-20 17:49:54 -04:00
Yotam Mann
c35666c6fa
moving epsilon comparisons to it's own file
2019-09-20 17:44:55 -04:00
Yotam Mann
be634eb093
running all logging and warning through Logger object
...
makes it possible to implement a Logger interface to visualize logging.
2019-09-20 00:31:43 -04:00
Yotam Mann
4be7043bea
testing matching within small epsilon
2019-09-20 00:19:38 -04:00
Yotam Mann
f1a0990ee9
comparisons all done within some small epsilon
...
fixes floating point errors
fixes #422
2019-09-20 00:19:19 -04:00
Yotam Mann
315070afca
implemented the TODO feature
...
removing comment
2019-09-20 00:18:02 -04:00
Yotam Mann
be4bf84369
inforce increase in time
2019-09-19 16:56:48 -04:00
Yotam Mann
38ef65fcb2
TimelineValue holds a single schedulable value
...
get/set based on time.
2019-09-18 11:15:10 -04:00
Yotam Mann
82b2376959
updating categories
2019-09-16 11:05:24 -04:00
Yotam Mann
e8e785ffdd
linting
2019-09-15 23:32:40 -04:00