• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / cadet-frontend / 3448 / 1
30%
master: 30%

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2019 01:20PM UTC
Files 194
Run time 20s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2019 01:16PM UTC coverage: 36.99%. Remained the same
3448.1

push

travis-ci

web-flow
Fix misc sound bugs (#845)

* Change play function to return current sound instead of undefined

Change play to also return sound if unable to play

* Change ADSR function to accept ratios of duration rather than absolute values

* Changed ADSR function to have a linear decay

The previous version of ADSR (Attack, decay, sustain, release) uses an exponential decay function. This may cause issues because the tail end of the decay does not line up with the next part of the sound, which can cause glitches. Thus a linear function is used instead, because the tail end of the decay will match up exactly. There is the added benefit of the function being easier to read and code.

* Change play to display error if a sound is already playing

* Fix error not displaying when calling unsafe play when sound is already playing

* Fix adsr issues
* Create absolute_adsr function that accepts durations in seconds
* Change instruments to use absolute_adsr
* Fix typo in adsr comments

* Remove absolute_adsr and tweak adsr envelope values for instruments

* Correctness fix for play function jsdoc

567 of 2293 branches covered (24.73%)

Branch coverage included in aggregate %.

2690 of 6512 relevant lines covered (41.31%)

3.79 hits per line

Source Files on job 3448.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 3218
  • Travis Job 3448.1
  • f70b1c23 on github
  • Prev Job for on master (#3443.1)
  • Next Job for on master (#3449.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc