p5.js-sound icon indicating copy to clipboard operation
p5.js-sound copied to clipboard

added unit test for p5.gain in es6

Open endurance21 opened this issue 5 years ago • 2 comments

added unit tests for all the methods in p5.Gain here are the test results and AUDIO GRAPH ( inspected with WEB AUDIO INSPECTOR) of this unit test Selection_086

endurance21 avatar Apr 30 '20 19:04 endurance21

@therewasaguy
please review this PR ! Also, i have been using this amazing WEB AUDIO INSPECTOR tool to see the AUDIO GRAPHS , I find it very useful while working with web audio API, i am curious if we can use this as integrated part of our codebase, it will really help the developers to understand and write codes ,specially when they can see what they are creating!

endurance21 avatar Apr 30 '20 19:04 endurance21

@therewasaguy we can add it too?

endurance21 avatar May 19 '20 19:05 endurance21

We may want to copy over just the can set the output level of gain Node test, since the current test file doesn't test changing the gain at all. But I think that's the only one that isn't covered now!

davepagurek avatar Jan 03 '23 21:01 davepagurek

We may want to copy over just the can set the output level of gain Node test, since the current test file doesn't test changing the gain at all. But I think that's the only one that isn't covered now!

okay got it, so can I open a PR to add the can set the output level of gain Node in the existing gain test?

Abhijay007 avatar Jan 03 '23 21:01 Abhijay007

yeah sounds good!

davepagurek avatar Jan 03 '23 21:01 davepagurek

Okay will do !!

On Wed, 4 Jan 2023, 02:58 Dave Pagurek, @.***> wrote:

yeah sounds good!

— Reply to this email directly, view it on GitHub https://github.com/processing/p5.js-sound/pull/462#issuecomment-1370242254, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLHP3SE6DY7RHRQ4HWY4XDWQSKXTANCNFSM4MWPXVDA . You are receiving this because you commented.Message ID: <processing/p5. @.***>

Abhijay007 avatar Jan 03 '23 21:01 Abhijay007

Thanks @Abhijay007! I'll close this PR and carry over reviews on your new one.

davepagurek avatar Jan 04 '23 23:01 davepagurek