Commit graph

47 commits

Author SHA1 Message Date
tambien
ad61d1b2ae increasing test threshold 2019-03-12 13:03:55 -04:00
tambien
023758425b use the playbackRate when computing the offset of a synced player
fixes #349
2019-03-12 11:25:33 -04:00
tambien
655b3310d3 setting reverse value which is passed into through an object
fixes #456
2019-03-09 16:14:51 -05:00
tambien
ed71d8141b amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
2019-01-27 13:05:20 -05:00
tambien
795e0d90d7 removing position tracking from player
fixes #361
2018-12-23 13:46:52 -05:00
Yotam Mann
7afbc16747 refactoring test 2018-06-20 15:04:25 -04:00
tambien
0d82a1632f using var instead of const 2018-06-01 22:02:05 -04:00
Yotam Mann
c93a16dfe2 CompareToFile averages across all samples 2018-05-28 18:01:03 -04:00
Yotam Mann
a18ab72da0 pointing at correct helper/Test 2018-05-18 12:07:20 -04:00
Yotam Mann
8c2acd03d5 removing retrigger, maintaining array of activeSources 2018-03-05 22:26:37 -05:00
Yotam Mann
4dd5c0a464 get the playback position of the playing buffer
integrates TickSource to track position even with playbackRate changes

Fixes #292 and Fixes #307
2018-03-01 14:15:37 -05:00
Yotam Mann
5eec68f9d0 compare rendered output to previously rendered audio files 2018-02-05 13:55:37 -05:00
Yotam Mann
077ae6d69a Source sync and start after Transport is already running 2018-01-02 10:35:39 -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
10af9eaa6f testing stopping multiple sources 2017-10-21 13:44:30 -04:00
Yotam Mann
942e0b650b testing fades 2017-06-19 15:11:26 -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
a6bb882758 readonly loaded boolean if the buffer is loaded 2017-05-21 20:25:35 -07: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
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
fc0a26027f migrating tests to new Offline API 2017-02-20 14:06:44 -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
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
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
f2ccded2e8 speeding up player tests
with shorter samples
2016-05-17 23:03:19 -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
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
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
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