Yotam Mann
87217d1ab4
does not invoke stop
from start
in case playbackRate changes
...
fixes #292
2018-01-17 13:18:51 -05:00
Yotam Mann
077ae6d69a
Source sync
and start
after Transport is already running
2018-01-02 10:35:39 -05:00
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
Yotam Mann
753640bdeb
seek to a position in the buffer
2016-09-25 22:32:54 -04:00
Yotam Mann
827fda3d00
more accurate handling of syncing to Transport start with an offset / duration
2016-09-25 12:35:57 -04:00
Yotam Mann
a1563b90af
removing console log
...
[skip ci]
2016-08-18 22:35:39 -04:00
Yotam Mann
e8f7020eaf
sync
tests
2016-08-15 23:13:09 -04:00
Yotam Mann
438abe481a
added karma test baseUrl
2016-08-09 01:14:52 -04:00
Yotam Mann
b06f50e9c6
removing redundant reverse test
...
already exists in player and buffer
2016-07-05 21:55:17 -04:00
Yotam Mann
dbc428a197
GrainPlayer tests
2016-07-05 20:33:01 -04:00
Yotam Mann
74ebee4bfe
MultiPlayer keeps track of all the BufferSources it's played
2016-06-15 00:48:55 -04:00
Yotam Mann
1f131625de
already testing offset in Player
2016-06-14 20:58:22 -04:00
Yotam Mann
1efc061ebd
explicitly stop the AudioBufferSource when duration is given
2016-06-14 20:43:26 -04:00
Yotam Mann
96644f37d2
Adjusting the timing of the tests
...
also using wav’s instead of mp3s
2016-06-14 20:27:12 -04:00
Yotam Mann
e0edb67a75
Wrapper around the basic AudioBufferSourceNode
2016-06-14 19:57:46 -04:00
Yotam Mann
f2ccded2e8
speeding up player tests
...
with shorter samples
2016-05-17 23:03:19 -04:00
Yotam Mann
24692aa343
can be muted in the constructor options
2016-05-14 17:46:21 -04:00
Yotam Mann
07184385f9
testing muting
2016-05-14 17:21:36 -04:00
Yotam Mann
ce0f6fb2ec
rewriting test to not use secondsToSamples
2016-04-18 02:39:06 -04:00
Yotam Mann
102913de14
using wave versions for testing
...
it’s the most cross-platform
2016-03-04 23:52:17 -05:00
Yotam Mann
df9c213c33
adding karma testing files and hooks
2016-03-04 16:25:44 -05:00
Yotam Mann
45a82a4965
removing setTimeouts where possible
...
replacing it with new Offline
2016-03-04 16:00:05 -05:00
Yotam Mann
b29c297398
using new Offline testing
2016-03-03 01:37:44 -05:00
Yotam Mann
1e4a2375ff
sanity checks on MultiPlayer
2016-02-08 13:44:49 -05:00
Yotam Mann
5a772466ae
3 new oscillator types
...
and combined them into the OmniOscillator
2016-01-17 22:43:44 -05:00
Yotam Mann
8bb2ee9b02
testing playbackRate
2015-12-06 13:14:36 -05:00
Yotam Mann
5e9d79eee3
Revert "testing playbackRates"
...
This reverts commit 102491c898
.
2015-12-06 13:14:36 -05:00
Yotam Mann
102491c898
testing playbackRates
2015-11-10 23:47:20 -05:00
Yotam Mann
d98b560403
Testing loading with a Tone.Buffer and AudioBuffer
...
Addresses #100
2015-11-05 15:44:11 -05:00
Yotam Mann
8a7195e962
canGetUserMedia
-> supported
...
also handling MediaStream.stop deprecation
2015-09-30 13:47:42 -04:00
Yotam Mann
dde05195a9
Microphone and ExternalInput tests
2015-09-18 17:19:24 -07:00
Yotam Mann
4df691ef8f
testing looping and duration parameter
2015-09-11 17:07:28 -04:00
Yotam Mann
297fad0ede
testing Player stopped state when not looping
2015-09-03 10:24:34 -04:00
Yotam Mann
f6ea2b268a
testing partials and sync
2015-08-31 16:42:35 -04:00
Yotam Mann
5468caeeec
testing Transport syncing
2015-08-31 15:16:20 -04:00
Yotam Mann
4af2a53eb5
started Microphone tests
2015-08-24 17:33:08 -04:00
Yotam Mann
a5daf65d0f
using Meter to test Player
2015-08-24 11:17:36 -04:00
Yotam Mann
3b9049e2e9
Source tests
2015-08-21 17:03:48 -04:00
Yotam Mann
cf712101bb
Moving tests to "helper" folder
2015-08-21 17:03:14 -04:00
Yotam Mann
e984739ec8
testing source
2015-08-18 16:31:18 -04:00