Yotam Mann
c4abd54719
ignoring UserMedia tests on Safari
2017-12-28 18:44:14 -05:00
Yotam Mann
e4380a048b
player can be constructed with unloaded Tone.Buffer
...
onload callback is invoked when the Buffer parameter is loaded
fixes #273
2017-12-15 23:06:06 -05:00
Yotam Mann
ba55239032
only running when devices are available
2017-11-29 16:04:09 -05:00
Yotam Mann
ff505adf22
use 'fake' flag for Firefox tests
2017-11-29 15:06:46 -05:00
Yotam Mann
903c87ff72
user media does not look for 'default'
...
instead takes the first device if nothing is specified
2017-10-26 00:50:22 -04:00
Yotam Mann
2410728e9f
adjusting test ranges for FF
2017-10-26 00:49:42 -04:00
Yotam Mann
10af9eaa6f
testing stopping multiple sources
2017-10-21 13:44:30 -04:00
Yotam Mann
b8648cc8ac
removing deprecated MultiPlayer class
2017-09-17 12:31:25 -04:00
Yotam Mann
33e7bd0c13
adding "curve" to BufferSource fades
2017-09-13 18:30:43 -04:00
Yotam Mann
43ae923359
coverage test for modulationType
2017-06-29 14:20:34 -04:00
Yotam Mann
5efe448c7a
setting spread/count should make no difference
2017-06-29 14:11:57 -04:00
Yotam Mann
a03ee982a7
getting/setting values while the wrong type is set has no effect
2017-06-29 14:04:37 -04:00
Yotam Mann
f188d2cc2e
testing getting/setting attributes for each oscillator type
2017-06-29 13:55:50 -04:00
Yotam Mann
f178bb17c0
testing players fade
2017-06-19 15:19:16 -04:00
Yotam Mann
942e0b650b
testing fades
2017-06-19 15:11:26 -04:00
Yotam Mann
d0adedee0a
testing fadeOut
2017-06-19 15:03:27 -04:00
Yotam Mann
d9d9938b25
testing seek method
2017-05-28 21:28:07 -04:00
Yotam Mann
2328413a8f
stops playing if invoked with 'stop' at an earlier time
...
does not stop playing if `stop` is invoked with a later time
2017-05-28 21:20:17 -04:00
Yotam Mann
c0677d49f2
player was undefined
2017-05-23 23:02:55 -04:00
Yotam Mann
7331a68104
additional seek test
2017-05-23 09:31:07 -04:00
Yotam Mann
0b916bb4d0
testing stopping twice
...
second stop is sooner than previous stop. should stop on the sooner
one.
addresses #241
2017-05-22 16:12:35 -04:00
Yotam Mann
c8c436cbf2
Tone.Players wraps up multiple Tone.Player objects
...
fixes #215
fixes #217
2017-05-21 20:40:20 -07:00
Yotam Mann
a6bb882758
readonly loaded
boolean if the buffer is loaded
2017-05-21 20:25:35 -07:00
Yotam Mann
91056ef978
testing passing in device ids/index
...
returning a promise instead of invoking done
2017-05-02 20:58:44 -04:00
Yotam Mann
45f7360e7d
setting buffer after construction
2017-05-02 20:31:18 -04:00
Yotam Mann
81ccab27c8
setting attributes after player is already started
2017-05-02 20:27:58 -04:00
Yotam Mann
488299a822
Player uses BufferSource
2017-05-02 12:15:00 -04:00
Yotam Mann
b760821234
BufferSource.buffer is a Tone.Buffer
2017-05-01 18:52:53 -04:00
Yotam Mann
1c8cecae57
widening Meter margin of error
...
fixes failed build when sampleRate=48k
2017-05-01 18:17:05 -04:00
Yotam Mann
f846e97571
testing state and onended callback
2017-05-01 18:02:02 -04:00
Yotam Mann
212e7e193f
testing state and labels from the user media device
2017-04-30 14:25:44 -04:00
Yotam Mann
ab282061d5
running Karma tests with user media flag turned on
2017-04-30 13:49:04 -04:00
Yotam Mann
2030034494
sources to new defaults
api
...
and es6 classes prep
2017-04-26 00:00:01 -04:00
Yotam Mann
f0520d9722
using native sampleRate for tests
2017-02-28 18:59:21 -05:00
Yotam Mann
21d225e322
returning to old test style
2017-02-20 23:32:10 -05:00
Yotam Mann
a64d9d551b
adjusting ranges for linux errors
2017-02-20 23:17:20 -05:00
Yotam Mann
c7b62eb939
trying to compensate for linux errors
...
scheduling samples seems to have different levels of precision of
different platforms
2017-02-20 23:06:27 -05:00
Yotam Mann
07dd1cf7a0
adjusting test ranges again for linux
2017-02-20 22:49:27 -05:00
Yotam Mann
e19ef3bca7
extending ranges to compensate for floating point errors
...
on linux these were throwing errors
2017-02-20 22:37:32 -05:00
Yotam Mann
e1b7fbd3f9
removing unused tests
2017-02-20 16:45:32 -05:00
Yotam Mann
6253db7250
signal tests use updated Offline API
2017-02-20 16:40:41 -05:00
Yotam Mann
fc0a26027f
migrating tests to new Offline API
2017-02-20 14:06:44 -05:00
Yotam Mann
a7a5f00786
testing start
with and without duration
2017-02-20 14:03:49 -05:00
Yotam Mann
31fe050475
getStateAtTime -> getValueAtTime
2016-12-18 22:14:14 -05:00
Yotam Mann
77953eede9
ExternalInput -> UserMedia
...
updated to latest MediaDevice API
2016-12-17 16:26:27 -05:00
Yotam Mann
eb4242b780
using meter to test if buffer is playing
2016-12-15 12:49:51 -05:00
Yotam Mann
7a1380637e
Previous playback is not stopped if retrigger=true
...
Fixes #186
2016-12-05 21:29:55 -05:00
Yotam Mann
8911dce68a
Clock.start with undefined arg is scheduled into the future
...
if there is no argument passed into the first argument of Clock.start /
Transport.start, the currentTime + Clock’s lookAhead time will be used
as the start time.
2016-12-05 20:59:39 -05:00
Yotam Mann
3ca0eadafd
.load method returns a Promise
2016-11-06 19:16:31 -05:00
Yotam Mann
64a33b0c16
correcting offset when greater than loopEnd
2016-10-11 14:03:10 -04:00