-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
This is both a problem and solution. Problem: On long, more complex pieces playback quits early. Always in the same spot on the same platform, earlier if the Q: parameter is increased, less if the piece is slowed down. Solution: g.gain.linearRampToValueAtTime on line 304 of musical.js requires two parameters . . . Change
g.gain.linearRampToValueAtTime(
amp * (releasetime - starttime) / (attacktime - starttime));
to
g.gain.linearRampToValueAtTime(
0, amp * (releasetime - starttime) / (attacktime - starttime));
I am new here . . . So maybe I should have fixed it myself :-).
Thanks to Nathan Bruley for figuring it out.
Metadata
Metadata
Assignees
Labels
No labels