Yotam Mann
|
88dae77c90
|
removing 'Connect.ts' and updating dependencies
was a pass through and caused other problems of redefining the variable
|
2020-01-08 14:12:11 -05:00 |
|
Yotam Mann
|
b86aaede46
|
updating relative path
|
2020-01-05 17:59:29 -05:00 |
|
Yotam Mann
|
3df7942908
|
keeping the loopStart/End within range
|
2019-12-24 00:17:25 -05:00 |
|
Yotam Mann
|
c82a2aafb0
|
updating synth options
fixes scenario where "custom" is passed in
|
2019-12-23 23:00:27 -05:00 |
|
Yotam Mann
|
a90669d87e
|
invoking callback slight further in the future
|
2019-12-23 19:17:06 -05:00 |
|
Yotam Mann
|
bbef5f5dec
|
fixing edge case where computed offset is equal to the duration of the buffer
sets it to 0 in this case.
|
2019-12-22 00:38:21 -05:00 |
|
Yotam Mann
|
4e1b385a48
|
fixing typos
|
2019-12-22 00:37:51 -05:00 |
|
Yotam Mann
|
f1cda064b5
|
only set the player as stopped when it's still scheduled as playing
addresses #594
|
2019-12-21 15:27:10 -05:00 |
|
Yotam Mann
|
7606a5d28b
|
updating test name
|
2019-12-19 17:13:14 -05:00 |
|
Yotam Mann
|
daae4aef7c
|
ensure start is not scheduled twice at the same time
subsequent start times must be greater than the previous time
fixes #594
|
2019-12-19 17:13:05 -05:00 |
|
Yotam Mann
|
fbf4345de4
|
removing debugging code
|
2019-12-18 18:03:11 -05:00 |
|
Yotam Mann
|
d22747cc69
|
Adding more range guards
|
2019-12-17 12:42:40 -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
|
72d7f37509
|
removing unused variable
|
2019-12-14 17:07:13 -05:00 |
|
Yotam Mann
|
ef0aaec8ee
|
Refactor source
adding `_restart` is an internal protected abstract method for all sources.
|
2019-12-14 16:09:24 -05:00 |
|
Yotam Mann
|
dedfe18ac2
|
open returns this
closes #589
|
2019-12-13 11:25:28 -05:00 |
|
Yotam Mann
|
fce95bea6e
|
feat: clamp the values to the defined min/maxValue
|
2019-12-11 10:11:40 -05:00 |
|
Yotam Mann
|
8540c44459
|
needs to set detune outside of signal being overridden
|
2019-12-06 14:10:33 -05:00 |
|
Yotam Mann
|
e955846bb2
|
moving docs from #584 to typescript
|
2019-12-04 10:52:40 -05:00 |
|
Yotam Mann
|
ba311dbe7b
|
putting settings into constructor object
slight optimization over setting them all individually
|
2019-11-22 13:26:16 -05:00 |
|
Yotam Mann
|
c80f8a89f9
|
optimization: also storing the wave
turns out that the call to `createPeriodicWave` is the most expensive part.
|
2019-11-22 11:18:49 -05:00 |
|
Yotam Mann
|
4d90c9cba8
|
test: adding coverage tests
should return undefined when not open
|
2019-11-21 10:58:04 -05:00 |
|
Yotam Mann
|
754e853cc2
|
make sure the playbackRate is never 0
|
2019-11-21 10:56:53 -05:00 |
|
Yotam Mann
|
ea9b1bf6c7
|
testing range only if the buffer is loaded
|
2019-11-19 15:53:54 -05:00 |
|
Yotam Mann
|
28349e1868
|
test the range of the loopStart and loopEnd values
|
2019-11-19 15:44:44 -05:00 |
|
Yotam Mann
|
cfdb5a42c8
|
throw an error if the time is not increasing
|
2019-11-18 15:18:02 -05:00 |
|
Yotam Mann
|
abee380fc2
|
reverse works at different sampling rates
|
2019-11-18 15:11:57 -05:00 |
|
Yotam Mann
|
e055abf172
|
fixing test to work at different sample rates
|
2019-11-18 14:52:00 -05:00 |
|
Yotam Mann
|
25004d2b2f
|
fixing typo, and cancelling events before next one is added
|
2019-11-18 14:48:24 -05:00 |
|
Yotam Mann
|
09dc29191b
|
linting
|
2019-11-17 13:09:19 -05:00 |
|
Yotam Mann
|
429b0898f1
|
fixing options
|
2019-11-16 19:07:47 -05:00 |
|
Yotam Mann
|
5220c373e4
|
simplifying the example slightly
|
2019-11-16 17:13:26 -05:00 |
|
Yotam Mann
|
d3951ce16c
|
don't restart unless state === 'started'
fixes #480
|
2019-11-13 14:09:13 -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
|
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
|
59d8c37d49
|
fixing doctype
issue with rendering javascript comments
|
2019-11-07 14:47:15 -05:00 |
|
Yotam Mann
|
84e3e70339
|
updating example
|
2019-11-03 21:44:25 -05:00 |
|
Yotam Mann
|
3d8a8a4897
|
fixing example
|
2019-11-03 18:07:03 -05:00 |
|
Yotam Mann
|
b9619d8c68
|
removing unused variables
|
2019-10-31 15:43:16 -04:00 |
|
Yotam Mann
|
89e171b4a3
|
setting non-cached osc type after starting
|
2019-10-31 14:22:19 -04:00 |
|
Yotam Mann
|
8d775f7233
|
verifying that UserMedia doesn't work in offline context
|
2019-10-30 18:59:55 -04:00 |
|
Yotam Mann
|
889cc8446b
|
fixing docs
|
2019-10-29 23:13:28 -04:00 |
|
Yotam Mann
|
bc08a1aea9
|
docs: adding more elaborate examples and explainations
|
2019-10-29 14:51:29 -04:00 |
|
Yotam Mann
|
aa56dc1727
|
more complex harmonicity example
|
2019-10-29 14:30:25 -04:00 |
|
Yotam Mann
|
5baeddf451
|
updating examples
|
2019-10-28 21:28:53 -04:00 |
|
Yotam Mann
|
5eba7af64d
|
interlinking docs
|
2019-10-28 17:31:39 -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
|
d2b064f41e
|
docs: working on code examples
|
2019-10-25 16:54:33 -04:00 |
|
Yotam Mann
|
42cfbcd456
|
linting docs and examples
|
2019-10-22 23:04:52 -04:00 |
|
Yotam Mann
|
032808dd2a
|
ensure that partialsCount is never below 0
|
2019-10-13 15:05:41 -04:00 |
|
Yotam Mann
|
2dab77c7a8
|
updating partialCount when partials is set
|
2019-10-09 17:32:37 -04:00 |
|
Yotam Mann
|
2753d3756b
|
the partials length is controllable by the partialCount
|
2019-10-09 17:06:57 -04:00 |
|
Yotam Mann
|
54059825ae
|
set the partials from the cache as well
|
2019-10-09 15:21:02 -04:00 |
|
Yotam Mann
|
9ad519ea10
|
feat: Get an oscillator wave as an array
|
2019-10-08 19:22:59 -04:00 |
|
Yotam Mann
|
10469ba924
|
only dispose when things are in the only AudioContext
otherwise it leads to silence
addresses #551
|
2019-10-04 12:04:53 -04:00 |
|
Yotam Mann
|
5f41b0bc76
|
assert that there is a device
|
2019-09-29 10:35:46 -04:00 |
|
Yotam Mann
|
4eb05a1ec0
|
using promise response instead of done()
|
2019-09-27 17:57:19 -04:00 |
|
Yotam Mann
|
ed367e0f9b
|
adding nominal range to properties
|
2019-09-24 17:21:59 -04:00 |
|
Yotam Mann
|
0ffc5d65da
|
deleting old js files
|
2019-09-20 18:51:51 -04:00 |
|
Yotam Mann
|
4d5b63d97e
|
adding categories for docs
|
2019-09-20 18:51:45 -04:00 |
|
Yotam Mann
|
1dd208c1ea
|
converting UserMedia to ts
|
2019-09-20 18:51:17 -04:00 |
|
Yotam Mann
|
26855a9398
|
using the clocks ticks instead of tracking offset
addresses #544
|
2019-09-20 17:46:30 -04:00 |
|
Yotam Mann
|
72b9604d8e
|
using epsilon floating point comparisons
|
2019-09-20 17:45:22 -04:00 |
|
Yotam Mann
|
9625492b2f
|
including GrainPlayer in export
|
2019-09-20 11:06:40 -04:00 |
|
Yotam Mann
|
82ae4930af
|
adding some additional coverage tests
|
2019-09-20 10:11:03 -04:00 |
|
Yotam Mann
|
0e0073b75b
|
adding logging for restart
|
2019-09-20 00:16:45 -04:00 |
|
Yotam Mann
|
3f6bcd9438
|
undoing additional lookAhead
turns out to not be necessary
|
2019-09-20 00:16:03 -04:00 |
|
Yotam Mann
|
70efec4637
|
add an additional lookAhead to the onended callback
this fixes an issue where the source was scheduled to stop in the time between the current time and the lookAhead time.
fixes #422
|
2019-09-19 18:22:44 -04:00 |
|
Yotam Mann
|
1426da90c4
|
adding restart method
with test
|
2019-09-19 17:09:30 -04:00 |
|
Yotam Mann
|
3ab260de90
|
import transport for the side effects
|
2019-09-19 16:55:57 -04:00 |
|
Yotam Mann
|
5d128470c5
|
convert GrainPlayer to typescript
|
2019-09-19 16:55:46 -04:00 |
|
Yotam Mann
|
d82d715c64
|
testing out the max cache-size for the oscillator periodic wave
|
2019-09-17 14:04:32 -04:00 |
|
Yotam Mann
|
470e906d15
|
doesn't require a custom get function
testing that it gets all of the attributes
|
2019-09-17 12:21:00 -04:00 |
|
Yotam Mann
|
36db2c3cdc
|
updating example
|
2019-09-16 10:49:35 -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
|
1bde88a19b
|
linting
|
2019-09-14 18:12:44 -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
|
286692e67b
|
updating block comment style
|
2019-09-14 17:47:07 -04:00 |
|
Yotam Mann
|
261a5f4c3b
|
normalizing whitespace in comments
|
2019-09-14 16:39:18 -04:00 |
|
Yotam Mann
|
9be3ffeb05
|
removing js files
|
2019-09-12 15:54:28 -04:00 |
|
Yotam Mann
|
6c67ebd9ec
|
fixing example
|
2019-09-12 15:52:47 -04:00 |
|
Yotam Mann
|
05f83239d2
|
removing old js file
|
2019-09-09 23:51:44 -04:00 |
|
Yotam Mann
|
4453025efc
|
testing that it can be constructed with an AudioBuffer
|
2019-09-09 23:42:04 -04:00 |
|
Yotam Mann
|
1152ee1ad6
|
converting Players to typescript
|
2019-09-09 23:39:32 -04:00 |
|
Yotam Mann
|
1e37601d5d
|
converting LFO to typescript
|
2019-09-04 22:57:27 -04:00 |
|
Yotam Mann
|
b2b8a32c91
|
expose getInitialValue
returns the value of the oscillator before it's started
|
2019-09-04 20:01:16 -04:00 |
|
Yotam Mann
|
736106de5f
|
accidentally put extra tab before name
|
2019-09-04 19:18:44 -04:00 |
|
Yotam Mann
|
2289f3c67f
|
renaming OscillatorNode file to ToneAudioNode
|
2019-09-04 18:40:28 -04:00 |
|
Yotam Mann
|
51291538a8
|
renaming file to match class name
|
2019-09-04 18:39:28 -04:00 |
|
Yotam Mann
|
75a35108af
|
name is a readonly string
|
2019-09-04 18:38:04 -04:00 |
|
Yotam Mann
|
a8962eb824
|
also export Options
|
2019-09-04 18:34:42 -04:00 |
|
Yotam Mann
|
f0f997c09d
|
swapping constructor order
easier to read in the docs
|
2019-08-30 09:34:04 -07:00 |
|
Yotam Mann
|
c9d757aaa6
|
removing references to "@private"
old jsdoc comments
|
2019-08-30 09:08:29 -07:00 |
|
Yotam Mann
|
3e2de8f259
|
fixing spacing
typedoc wants one space before the "@"
|
2019-08-30 09:06:38 -07:00 |
|
Yotam Mann
|
48ec3f9320
|
exporting all options
|
2019-08-30 09:04:03 -07:00 |
|
Yotam Mann
|
5bdbda9c1c
|
updating docs
|
2019-08-30 09:03:42 -07:00 |
|
Yotam Mann
|
1dba46a822
|
removing converting files
|
2019-08-27 10:06:34 -07:00 |
|