Commit graph

14 commits

Author SHA1 Message Date
Paul Kaplan
f4e484258a Update stop duration and tests
Remove test for ramping because the test audio api doesnt ramp correctly without prior sets
2019-09-25 14:14:48 -04:00
Michael "Z" Goddard
ee73fd7a8a
rename DECAY_* constants to DECAY_WAIT and DECAY_DURATION 2018-06-25 14:01:15 -04:00
Michael "Z" Goddard
fb355abb7d
schedule stop DECAY in the future for firefox
Firefox at this time cannot smoothly schedule audio parameter changes
to happen immediately. Immediately scheduled changes clip when firefox
tries to catch up. Smoothly fading out a sound immediately instead of
clipping the end of the sound, in firefox at this time clips the sound
between where the fade out starts and where firefox catches up and
finishes the scheduled fade.
2018-06-25 13:15:19 -04:00
Corey Frang
aa77d8d376
Add tests for play debounce 2018-06-21 16:01:37 -04:00
Corey Frang
e2da92fae7
cleanup tests a bit 2018-06-21 16:01:37 -04:00
Corey Frang
2bd946423b
remove rest of async/await in tests 2018-06-21 16:01:37 -04:00
Corey Frang
cdd35b5296
convert async/await to promise chain 2018-06-21 16:01:36 -04:00
Corey Frang
c62adcab3b
dispose taken sound player after it fades 2018-06-21 16:01:36 -04:00
Corey Frang
7f2b9786ee
Fix broken tests (mock change for effects and plan audioengine) 2018-06-21 16:01:36 -04:00
Corey Frang
5b693f6708
move take to stop, play is always green / non effected until stopped 2018-06-21 16:01:36 -04:00
Corey Frang
2c4edf288f
update test to work with new isPlaying problem 2018-06-21 16:01:36 -04:00
Corey Frang
8110885a62
add a play while playing test 2018-06-21 16:01:36 -04:00
Corey Frang
18cb9787ae
wip: greenplayer tests 2018-06-21 16:01:35 -04:00
Michael "Z" Goddard
e40e6e0b1b
add Effect tests and mocks 2018-06-08 12:39:29 -04:00