Yotam Mann
|
50a888c8c0
|
start the source only if the transport is already past the given start time
fixes #525
|
2020-06-07 23:18:33 -04:00 |
|
Yotam Mann
|
72857fbbcc
|
don't warn on sync'ed start
|
2020-05-01 17:58:23 -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
|
9f5ed8ef2e
|
testing synced player source
|
2020-04-16 21:45:51 -04: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
|
ef0aaec8ee
|
Refactor source
adding `_restart` is an internal protected abstract method for all sources.
|
2019-12-14 16:09:24 -05:00 |
|
Yotam Mann
|
cfdb5a42c8
|
throw an error if the time is not increasing
|
2019-11-18 15:18:02 -05:00 |
|
Yotam Mann
|
09dc29191b
|
linting
|
2019-11-17 13:09:19 -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
|
59d8c37d49
|
fixing doctype
issue with rendering javascript comments
|
2019-11-07 14:47:15 -05:00 |
|
Yotam Mann
|
889cc8446b
|
fixing docs
|
2019-10-29 23:13:28 -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
|
0e0073b75b
|
adding logging for restart
|
2019-09-20 00:16:45 -04:00 |
|
Yotam Mann
|
3ab260de90
|
import transport for the side effects
|
2019-09-19 16:55:57 -04:00 |
|
Yotam Mann
|
261a5f4c3b
|
normalizing whitespace in comments
|
2019-09-14 16:39:18 -04: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
|
d57dd7e07a
|
updating docs
|
2019-08-27 08:47:52 -07: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
|
4594855dc3
|
adding logging to Source
|
2019-08-13 19:35:40 -04:00 |
|
Yotam Mann
|
f6843947d8
|
adding onstop to all the sources
|
2019-08-10 11:51:35 -04:00 |
|
Yotam Mann
|
73dbca2e1b
|
removing unused import
|
2019-08-09 23:00:51 -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
|
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
|
858af77521
|
fixing offset errors
|
2019-07-30 15:53:19 -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
|
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
|
53df0f3caa
|
differentiating between BasicPlaybackState and PlaybackState
PlaybackState includes "paused"
|
2019-07-23 13:43:35 -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
|
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
|
e7b898eb1a
|
souce has 1 output
|
2019-07-17 12:54:42 -04:00 |
|
Yotam Mann
|
990c0f56ed
|
using type instead of string types
|
2019-07-15 15:37:25 -04:00 |
|
Yotam Mann
|
219462fe9e
|
cleaning up circular deps
|
2019-07-11 09:57:06 -04:00 |
|
Yotam Mann
|
f48696a69e
|
Revert "every class calls super.dispose()"
This reverts commit 60a63cacf8 .
|
2019-07-11 00:36:16 -04:00 |
|
Yotam Mann
|
60a63cacf8
|
every class calls super.dispose()
makes sure that things don't get disposed twice, which seems to be a common source of issues
|
2019-07-10 23:35:29 -04:00 |
|
tambien
|
db35b3ae3a
|
linting
|
2019-06-24 13:41:38 -04:00 |
|
Yotam Mann
|
02cfefa7ef
|
Merge branch 'typescript' into fix-typescript-linting
|
2019-06-24 13:33:18 -04:00 |
|
tambien
|
74671b0bda
|
transport is no longer possibly undefined
since Context requires initialization step
|
2019-06-23 15:03:54 -04:00 |
|
Garren Smith
|
efbd3c7f5f
|
Fix linting issues
Also add in no-unused-expression-chai rule so that chai works with
tslint.
|
2019-06-23 12:53:57 +02:00 |
|
tambien
|
4e54763db1
|
accepts an options template
|
2019-06-19 15:53:00 -04:00 |
|
tambien
|
fee62e9173
|
converting noise to ts
|
2019-06-19 10:18:06 -04:00 |
|