-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix can't change volume after it fadein #34
Conversation
It works correctly? Anxious comment is found : WebAudio/web-audio-api#128 (comment) Maybe replace setting values directly to calling |
Hmm, In my Environment, it works correctly. I think he/she misunderstood. |
I read the spec. setting You'd better write |
Hm, is it profitable? |
Same problem is found some mehtods. :-< ex. |
Hmm, it never causes the problem because |
Confusing, I tested current branch. (not this branch) I found that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot reproduce the problem, but LGTM if it works. 🍣
Me too! However, the bug occurs in Firefox and Nwjs... Hmm, But... oh no the situation got worse! |
Then, can you insert |
I inserted |
I see... Call |
OK, I completely made a mistake. This commit works correctly! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, LGTM 😇
RMMV's WebAudio contains several bugs.
The cause of all these bugs is "Can't change volume after it fadein".
This is caused by the strange specification of WebAudio AudioParam. (For details, see WebAudio/web-audio-api#128)
Changes to
value
are ignored aftersetValueAtTime
orlinearRampToValueAtTime
is called.Therefore, I decided to cancel these schedules when changing
value
.