Commit graph

2831 commits

Author SHA1 Message Date
Yotam Mann
3c97ecebe9 removing unused imports 2019-11-14 12:15:47 -05:00
Yotam Mann
6ed67a5d0a exporting dynamics components 2019-11-14 12:13:30 -05:00
Yotam Mann
19ff72ab5c converting MultibandCompressor to typescript 2019-11-14 12:13:09 -05:00
Yotam Mann
fd86348124 exporting options 2019-11-14 12:12:52 -05:00
Yotam Mann
c82254169d converting MideSideCompressor to typescript 2019-11-14 11:38:43 -05:00
Yotam Mann
dedf7daef1 making paths relative 2019-11-14 11:23:22 -05:00
Yotam Mann
8a42d7b4d6 updating reduction return type 2019-11-14 11:23:07 -05:00
Yotam Mann
b4544acd1e converting Limiter to typescript 2019-11-14 11:23:00 -05:00
Yotam Mann
c2b25875e8 making paths relative 2019-11-14 11:14:54 -05:00
Yotam Mann
aa8d4b7237 fixing comment error 2019-11-14 11:07:33 -05:00
Yotam Mann
072e29f72f Delete ScaleExp.js 2019-11-14 11:06:51 -05:00
Yotam Mann
f6f8a3a034 converting Gate to typescript 2019-11-14 11:04:36 -05:00
Yotam Mann
3246f90454 exporting GreaterThan and GreaterThanZero 2019-11-13 19:35:05 -05:00
Yotam Mann
84df049ebd exporting options from SignalOperator 2019-11-13 19:34:55 -05:00
Yotam Mann
269cffa35c converting GreaterThan to typescript 2019-11-13 19:34:38 -05:00
Yotam Mann
0a48640a95 converting GreaterThanZero to typescript 2019-11-13 19:01:47 -05:00
Yotam Mann
cc7f428a84 adding latencyHint to BaseContext 2019-11-13 14:16:20 -05:00
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
Yotam Mann
28bf547959 updating example 2019-11-03 22:19:42 -05:00
Yotam Mann
2e8e52ac2e adding compare to file test 2019-11-03 22:19:33 -05:00
Yotam Mann
831cd2bca7 adjusting threshold 2019-11-03 22:17:59 -05:00
Yotam Mann
c035c4a73f remove old js files 2019-11-03 22:17:21 -05:00
Yotam Mann
61ab898c17 converting Phaser to typescript 2019-11-03 22:17:00 -05:00
Yotam Mann
357f41cd3d exporting new effects 2019-11-03 21:44:32 -05:00
Yotam Mann
84e3e70339 updating example 2019-11-03 21:44:25 -05:00
Yotam Mann
701caf4c50 converting StereoWidener to typescript 2019-11-03 21:43:53 -05:00
Yotam Mann
148e70032f adding name 2019-11-03 21:43:01 -05:00
Yotam Mann
530c0dac23 using more generic class rathen than the specific type of input 2019-11-03 21:35:26 -05:00
Yotam Mann
0805e507ac making the iterations more es5 2019-11-03 20:34:01 -05:00
Yotam Mann
53ba14cbd6 converting JCReverb to typescript 2019-11-03 20:33:46 -05:00
Yotam Mann
020db86c72 removing old file 2019-11-03 18:36:56 -05:00
Yotam Mann
660abd87b8 working on example 2019-11-03 18:36:51 -05:00
Yotam Mann
55504012ac converting Freeverb to typescript 2019-11-03 18:35:17 -05:00
Yotam Mann
5c4146e162 each effect side can take any number of values 2019-11-03 18:34:57 -05:00
Yotam Mann
f4e66ce5c2 removing unused import 2019-11-03 18:10:30 -05:00
Yotam Mann
e3910e7978 removing unused import 2019-11-03 18:09:57 -05:00
Yotam Mann
ea2c1a4111 using MonoSynthOptions in constructor 2019-11-03 18:09:39 -05:00
Yotam Mann
de1f433c29 removing unused import 2019-11-03 18:08:31 -05:00
Yotam Mann
9d7937bbab updating test threshold 2019-11-03 18:08:24 -05:00
Yotam Mann
5552c16a05 removing old js files 2019-11-03 18:07:21 -05:00
Yotam Mann
252ae7b3e4 linking to monosynth 2019-11-03 18:07:13 -05:00
Yotam Mann
3d8a8a4897 fixing example 2019-11-03 18:07:03 -05:00
Yotam Mann
e437ebd846 updating DuoSynth so it passes tests
thanks @this-fifo!
2019-11-03 17:45:50 -05:00
Yotam Mann
59b9f5f6a8 adding recursive omit method 2019-11-03 17:42:51 -05:00
Yotam Mann
b2ebd6876d removing envelope as required by Monophonic
making getLevelAtTime abstract
2019-11-03 17:41:47 -05:00
Yotam Mann
a3acecb776 Merge branch 'pr/565' into typescript 2019-11-03 15:46:36 -05:00
Yotam Mann
cfb19e8334 using deep imports 2019-11-03 15:44:51 -05:00
Yotam Mann
332adefd0d removing unnecessary if 2019-11-03 11:41:03 -05:00
Yotam Mann
b9619d8c68 removing unused variables 2019-10-31 15:43:16 -04:00
Yotam Mann
7549764c38 removing old js files 2019-10-31 15:30:32 -04:00
Yotam Mann
802ce474c7 converting Chorus to ts 2019-10-31 15:29:48 -04:00
Yotam Mann
98aa79125b bind now and immediate to simplify code 2019-10-31 14:54:49 -04:00
Yotam Mann
d647c8b9c8 checking that the listener exists 2019-10-31 14:54:37 -04:00
Yotam Mann
410193d136 testing disconnecting from AudioParam 2019-10-31 14:50:08 -04:00
Yotam Mann
87a86a9071 no need for casting 2019-10-31 14:49:56 -04:00
Yotam Mann
54cac42925 adding some basic conversion tests 2019-10-31 14:45:06 -04:00
Yotam Mann
7ede333128 testing setting ticks 2019-10-31 14:44:59 -04:00
Yotam Mann
757cd380c8 using getStateAtTime when getting state 2019-10-31 14:44:22 -04:00
Yotam Mann
7d93094427 testing event emitters when scheduled event time is in the past 2019-10-31 14:44:01 -04:00
Yotam Mann
89e171b4a3 setting non-cached osc type after starting 2019-10-31 14:22:19 -04:00
Yotam Mann
91ae308e66 making sure that draw/transport/destination are disposed when the context is closed 2019-10-31 11:41:21 -04:00
Yotam Mann
4aedaeea77 setting exponent in test
for additional coverage
2019-10-31 09:56:09 -04:00
Filipe Herculano
779b4d68c5 update DuoSynth interface options to match class type and adjust object parameters 2019-10-30 19:22:24 -04:00
Yotam Mann
7bc2dc1f96 testing setting different global contexts 2019-10-30 19:18:01 -04:00
Yotam Mann
8d775f7233 verifying that UserMedia doesn't work in offline context 2019-10-30 18:59:55 -04:00
Yotam Mann
c5c8082d4e removing unused method 2019-10-30 18:59:38 -04:00
Yotam Mann
6ac43559b1 testing that destination exists before closing
forces the context to initialize
2019-10-30 18:59:32 -04:00
Yotam Mann
d4d403bffb testing closing edge case 2019-10-30 18:59:15 -04:00
Filipe Herculano
79dad22648 start converting DuoSynth to Typescript 2019-10-30 18:54:30 -04:00
Yotam Mann
546ec43151 updating example
changing updateInterval to be lookAhead/2 instead of 3
2019-10-30 18:05:28 -04:00
Yotam Mann
816294b9c0 refactoring fromContext 2019-10-30 14:49:02 -04:00
Yotam Mann
54faf744fd exporting context 2019-10-30 14:48:41 -04:00
Yotam Mann
a9c8927a52 some sanity checks on the final interface 2019-10-30 14:48:29 -04:00
Yotam Mann
d845a435b1 ScaledEnvelope is redundant with the FrequencyEnvelope
currently no use for it though might reintroduce it if it feels necessary down the road.
2019-10-30 13:22:53 -04:00
Yotam Mann
fc80ec1f8e fixing import paths 2019-10-30 13:13:32 -04:00
Yotam Mann
d56572c94c converting Tremolo to typescript 2019-10-30 13:13:26 -04:00
Yotam Mann
79d2c3d41b convert Chebyshev to typescript 2019-10-29 23:35:27 -04:00
Yotam Mann
8ce429e7ba removing js files 2019-10-29 23:14:38 -04:00
Yotam Mann
f5ea6be5d4 exporting AutoWah 2019-10-29 23:14:17 -04:00
Yotam Mann
3a40d841e3 adding category 2019-10-29 23:14:11 -04:00
Yotam Mann
f27df3a215 converting AutoWah to typescript 2019-10-29 23:14:03 -04:00
Yotam Mann
889cc8446b fixing docs 2019-10-29 23:13:28 -04:00
Yotam Mann
9d03004ec7 exponential scale class 2019-10-29 23:13:22 -04:00
Yotam Mann
affe2e75de adding categories 2019-10-29 23:12:51 -04:00
Yotam Mann
97cdc5bf07 adding comparison files 2019-10-29 18:18:04 -04:00
Yotam Mann
ad2c2ff651 less peaky settings 2019-10-29 18:09:20 -04:00
Yotam Mann
444b90ff92 alphabetizing 2019-10-29 18:09:10 -04:00
Yotam Mann
5dd6a2623b Merge branch 'pr/563' into typescript 2019-10-29 17:49:52 -04:00
Yotam Mann
95142f7e64 reducing the need to function twice in constructor 2019-10-29 17:49:40 -04:00
Yotam Mann
e67c9e1724 simplifying FreqEnvelope API slightly 2019-10-29 17:49:22 -04:00
Yotam Mann
73d3e59506 merging MonoSynth 2019-10-29 17:48:59 -04:00
Yotam Mann
bc08a1aea9 docs: adding more elaborate examples and explainations 2019-10-29 14:51:29 -04:00
Yotam Mann
1f298914fc removing old js files 2019-10-29 14:31:01 -04:00
Yotam Mann
aa56dc1727 more complex harmonicity example 2019-10-29 14:30:25 -04:00
Yotam Mann
a47a160d8e export immediate 2019-10-29 14:30:12 -04:00
Yotam Mann
559cdae1fb added immediate method 2019-10-29 14:29:52 -04:00
Yotam Mann
5baeddf451 updating examples 2019-10-28 21:28:53 -04:00
Yotam Mann
41897320a0 exporting FrequencyEnvelope 2019-10-28 21:28:41 -04:00
Yotam Mann
0767a52770 adding category 2019-10-28 21:28:33 -04:00
Yotam Mann
703f27a5ab feat: adding send/receive to Channel
Removing it from all ToneAudioNode's. Now it's just on the Channel Interface
2019-10-28 21:23:23 -04:00
Yotam Mann
28c078dcad converting Channel to ts 2019-10-28 20:59:54 -04:00