Yotam Mann
|
9982db3d1b
|
adding fadein/out to noise
|
2019-08-19 18:50:11 -07:00 |
|
Yotam Mann
|
77806402b6
|
omiting synth options on each individual options object
instead of on the entire object which caused some issues
|
2019-08-14 13:16:23 -04:00 |
|
Yotam Mann
|
9494b570b4
|
clamping time to current time when not synced
correctly this time
|
2019-08-14 11:52:20 -04:00 |
|
Yotam Mann
|
68dac541dd
|
using computed values in protected calls to _start and _stop
|
2019-08-14 10:44:27 -04:00 |
|
Yotam Mann
|
85847df8d2
|
removing clearing onended callback
introduces bugs when multiple oscillators are scheduled to start/stop in the future, the onended callback is not invoked
|
2019-08-14 10:43:16 -04:00 |
|
Yotam Mann
|
177e903589
|
logging the computed time
|
2019-08-14 10:02:22 -04:00 |
|
Yotam Mann
|
6e77fe2e35
|
clearing onended callback on old oscillators when restarting
|
2019-08-13 19:36:10 -04:00 |
|
Yotam Mann
|
4594855dc3
|
adding logging to Source
|
2019-08-13 19:35:40 -04:00 |
|
Yotam Mann
|
b58812b36a
|
adding stop and cancelStop logging
|
2019-08-13 19:34:39 -04:00 |
|
Yotam Mann
|
4d00150b66
|
computing time
|
2019-08-13 18:35:07 -04:00 |
|
Yotam Mann
|
511d98564b
|
adding some tests for full coverage
|
2019-08-12 09:37:48 -04:00 |
|
Yotam Mann
|
07cdf6840e
|
adding onstop to noise
|
2019-08-11 11:42:17 -04:00 |
|
Yotam Mann
|
f6843947d8
|
adding onstop to all the sources
|
2019-08-10 11:51:35 -04:00 |
|
Yotam Mann
|
0719a8ba9d
|
cancel stop when the ending is implicit
|
2019-08-09 23:35:08 -04:00 |
|
Yotam Mann
|
fdbf9d64bf
|
removing 'only' from tests
|
2019-08-09 23:11:51 -04:00 |
|
Yotam Mann
|
d507188149
|
Player.onstop is invoked when the buffer has stopped
fixes #519
|
2019-08-09 23:07:09 -04:00 |
|
Yotam Mann
|
63d68f3446
|
onended callback passes in the file in the parameter
|
2019-08-09 23:02:28 -04:00 |
|
Yotam Mann
|
73dbca2e1b
|
removing unused import
|
2019-08-09 23:00:51 -04:00 |
|
Yotam Mann
|
32d0dfea0e
|
removing 'only' from tests
|
2019-08-09 20:01:02 -04:00 |
|
Yotam Mann
|
27e7fbcb91
|
source tests
testing syncing with different offsets and timings
|
2019-08-09 19:53:10 -04:00 |
|
Yotam Mann
|
25e24800d4
|
stop the oscillator if it's started
|
2019-08-08 16:32:22 -04:00 |
|
Yotam Mann
|
1360828a6c
|
caching periodic wave computations
helps when creating many custom oscillators with the same phase or partials
|
2019-08-08 14:22:15 -04:00 |
|
Yotam Mann
|
4a7c8809e8
|
linting
|
2019-08-08 14:17:41 -04:00 |
|
Yotam Mann
|
38d6f9d242
|
optimization by moving child objects into constructor
means that in many cases the param won't be assigned twice
|
2019-08-08 14:15:56 -04:00 |
|
Yotam Mann
|
73bc128265
|
small optimization when partials list is []
|
2019-08-08 13:05:34 -04:00 |
|
Yotam Mann
|
c0a70924ad
|
Fixing typing on Oscillator params
|
2019-08-06 18:24:32 -04:00 |
|
Yotam Mann
|
56db8b3a7a
|
simplifying _internalChannels
channelCount/Mode/Interpretation check the input/output nodes, which removes the need for many classes to have _internalChannels
|
2019-08-03 12:00:14 -04:00 |
|
Yotam Mann
|
b52103652f
|
doc'ing
|
2019-08-02 21:49:38 -04:00 |
|
Yotam Mann
|
4364f2f843
|
no longer necessary to pass in number of inputs
the count is inferred by checking the input or output node
|
2019-08-02 21:47:57 -04:00 |
|
Yotam Mann
|
52bcac2599
|
setting name to readonly
|
2019-08-02 21:09:35 -04:00 |
|
Yotam Mann
|
858af77521
|
fixing offset errors
|
2019-07-30 15:53:19 -04: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
|
474ec85408
|
fixing default duration
made it so that the player never started when Player was synced.
|
2019-07-30 14:51:07 -04:00 |
|
Yotam Mann
|
bfc3d7ed15
|
toMaster() -> toDestination()
more consistent with the Web Audio API
|
2019-07-25 11:32:56 -04:00 |
|
Yotam Mann
|
923940576c
|
abstract classes must take the options object
no passing in individual parameters. This simplifies the code a little
|
2019-07-24 23:33:31 -04:00 |
|
Yotam Mann
|
9051687276
|
exporting player
|
2019-07-24 21:54:38 -04:00 |
|
Yotam Mann
|
b858f03040
|
disconnecting the oscillator on dispose
|
2019-07-24 19:30:53 -04:00 |
|
Yotam Mann
|
97002d776f
|
using already computed fadeOut time
|
2019-07-24 19:30:31 -04:00 |
|
Yotam Mann
|
fa95e74ab9
|
removing the disconnect onended
causes glitches and clicks. might be because the frequency.disconnect is not fully implemented
|
2019-07-24 19:28:39 -04:00 |
|
Yotam Mann
|
1c8210fb25
|
using Set instead of array
|
2019-07-23 13:47:36 -04:00 |
|
Yotam Mann
|
53df0f3caa
|
differentiating between BasicPlaybackState and PlaybackState
PlaybackState includes "paused"
|
2019-07-23 13:43:35 -04:00 |
|
Yotam Mann
|
9306e5188c
|
adding additional option to StateTimeline.add
enables more strict typing of returned object
|
2019-07-23 13:43:11 -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
|
07bd1d6867
|
updating docs
|
2019-07-23 11:48:26 -04:00 |
|
Yotam Mann
|
23bbbcb887
|
moving onended functionality to OneShotSource class
|
2019-07-23 11:47:32 -04:00 |
|
Yotam Mann
|
126b4a3226
|
updating typing
|
2019-07-23 11:46:08 -04:00 |
|
Yotam Mann
|
c31aa5fa77
|
converting Player to ts
|
2019-07-23 11:27:55 -04:00 |
|
Yotam Mann
|
1f4fcbf996
|
removing need for time to be clamped to currentTime
when player is synced, this is necessary
|
2019-07-23 11:27:43 -04:00 |
|
Yotam Mann
|
5a2e6ee714
|
moved some setup to parent class
|
2019-07-22 16:17:49 -04:00 |
|
Yotam Mann
|
8fcff92e39
|
time is optional
|
2019-07-22 16:17:03 -04:00 |
|