Commit graph

2714 commits

Author SHA1 Message Date
Yotam Mann
d3951ce16c don't restart unless state === 'started'
fixes #480
2019-11-13 14:09:13 -05:00
Yotam Mann
340fb77561 wait for next tick before setting the ticks
fixes #573
2019-11-13 13:19:47 -05:00
Yotam Mann
60e4f7231b removing unused import 2019-11-13 13:16:35 -05:00
Yotam Mann
e768191a9b adding note on flanging 2019-11-13 13:05:04 -05:00
Yotam Mann
fa2b7431e3 alphabetizing output 2019-11-13 13:01:00 -05:00
Yotam Mann
a28f1af610 feat: Chorus extends StereoFeedbackEffect
This makes it possible to do flanger-type effects.

fixes #575
2019-11-13 12:58:37 -05:00
Yotam Mann
94ab93935c annotating type 2019-11-12 23:59:41 -05:00
Yotam Mann
c4153edc30 assert the context is running 2019-11-12 16:55:30 -05:00
Yotam Mann
48c3a98749 more consistent whitespacing 2019-11-12 16:54:09 -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
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
95030de548 always return true 2019-11-11 13:55:16 -05:00
Yotam Mann
76cb4fa7f9 optimizing feedback comb filter processing
addresses #571
2019-11-11 13:52:19 -05:00
Yotam Mann
60b13c9976 using global currentFrame instead of maintaining local variable 2019-11-11 12:33:08 -05:00
Yotam Mann
34d55d12ae warning if start is invoked before AudioContext is running
addresses #572
2019-11-11 11:44:16 -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
41d4b4a0df More explanation on immediate vs now
addresses #570
2019-11-10 23:20:23 -05:00
Yotam Mann
ce07d2a081 looping sync example 2019-11-08 14:40:39 -05:00
Yotam Mann
50a9e0dc4d updating example 2019-11-08 13:14:21 -05:00
Yotam Mann
933f019cb3 updating example 2019-11-08 13:08:38 -05:00
Yotam Mann
7910957312 reverb uses OfflineContext instead of Offline
fixes #569
2019-11-08 12:34:22 -05:00
Yotam Mann
2ae5d69f4e adding onprocessorerror property to notify when errors have occured in processing 2019-11-07 16:56:56 -05:00
Yotam Mann
e820ae76ed testing the dummy context interface
tests just for coverage
2019-11-07 16:04:43 -05:00
Yotam Mann
6842d48ce7 don't export BaseContext
since probably not necessary in the final output
2019-11-07 16:04:32 -05:00
Yotam Mann
a08ee7e4d7 don't need to export tone 2019-11-07 15:44:33 -05:00
Yotam Mann
0ca7055687 exporting the version 2019-11-07 15:43:46 -05:00
Yotam Mann
a3a2da9da5 Merge branch 'pr/567' into typescript 2019-11-07 14:50:54 -05:00
Yotam Mann
59d8c37d49 fixing doctype
issue with rendering javascript comments
2019-11-07 14:47:15 -05:00
Yotam Mann
eef8d0f620 exporting pattern 2019-11-07 14:39:44 -05:00
Yotam Mann
93eab5e6a3 converting Pattern to typescript 2019-11-07 14:39:28 -05:00
Yotam Mann
e24f12c4a9 updating typing 2019-11-07 12:04:10 -05:00
Jack Anderson
3354b24527 Create BaseContext + better DummyContext
- this creates a new abstract BaseContext that DummyContext and Context
inherit from
- All methods available to Context are now stubbed by DummyContext
- BaseContext is now used as the type where Context was originally used
2019-11-06 14:32:19 -08:00
Yotam Mann
974ee57353 exporting new effects 2019-11-04 22:29:21 -05:00
Yotam Mann
c9f7ac47b1 adding categories 2019-11-04 22:29:14 -05:00
Yotam Mann
c05aee48a6 converting PitchShift to typescript 2019-11-04 22:28:51 -05:00
Yotam Mann
e4d0fae5a6 removing old js files 2019-11-04 19:09:23 -05:00
Yotam Mann
715165cba5 StereoXFeedbackEffect extends StereoFeedbackEffect 2019-11-04 19:09:13 -05:00
Yotam Mann
6eea18b1b8 updating docs 2019-11-04 18:59:46 -05:00
Yotam Mann
caf7b4bd19 converting PingPongDelay to typescript 2019-11-04 18:59:32 -05:00
Yotam Mann
fd3a52a54b removing duplicate example 2019-11-04 17:49:59 -05:00
Yotam Mann
8ec41dd200 updating example 2019-11-04 17:49:50 -05:00
Yotam Mann
1d334f9a80 converting vibrato to typescript 2019-11-03 22:44:49 -05:00
Yotam Mann
1738307e8a using .wav instead of .mp3 2019-11-03 22:43:19 -05:00
Yotam Mann
ae2ec70d23 updating example 2019-11-03 22:23:56 -05:00
Yotam Mann
14883653b6 making paths relative 2019-11-03 22:23:50 -05:00
Yotam Mann
d17607786d adjusting threshold 2019-11-03 22:20:07 -05:00