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

source-academy / cadet-frontend / 3448
30%

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2019 01:20PM UTC
Jobs 1
Files 194
Run time 21s
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

pending completion
3448

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

Jobs
ID Job ID Ran Files Coverage
1 3448.1 09 Sep 2019 01:20PM UTC 0
36.99
Travis Job 3448.1
Source Files on build 3448
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3448
  • f70b1c23 on github
  • Prev Build on master (#3443)
  • Next Build on master (#3449)
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