Click here to download the Blitz Browser!

WPT

wpt / webaudio / the-audio-api / the-audioparam-interface / k-rate-gain.html

Spec: Web Audio API ↗

Runs: Chrome 155.0.8041.0 (wpt@4a01b83e3, 2026-09-04) | Firefox 157.0a1 (wpt@e7122b73f, 2026-09-04) | Safari 251 preview (wpt@2c385f65e, 2026-09-04) | Ladybird 1.0-70fb3 (wpt@4a01b83e3, 2026-09-04) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total14/1411/1414/1414/1414/14NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
# AUDIT TASK RUNNER STARTED.PASSPASSPASSPASSPASS
Executing "Test k-rate GainNode"PASSPASSPASSPASSPASS
Audit reportPASSPASSPASSPASSPASS
> [Test k-rate GainNode] PASSPASSPASSPASSPASS
GainNode: Setting gain.automationRate to "k-rate" is equal to k-rate.PASSPASSPASSPASSPASS
GainNode: k-rate node: gain.setValueAtTime(1,0) did not throw an exception.PASSPASSPASSPASSPASS
GainNode: k-rate node: gain.linearRampToValueAtTime(0,1) did not throw an exception.PASSPASSPASSPASSPASS
GainNode: a-rate node:gain.setValueAtTime(1,0) did not throw an exception.PASSPASSPASSPASSPASS
GainNode: a-rate node:gain.linearRampToValueAtTime(0,1) did not throw an exception.PASSPASSPASSPASSPASS
GainNode: Output of k-rate GainNode is identical to the array [0,0.3387375473976135,0.6374233961105347,0.8607417345046997,0.9822860360145569,0.9876875877380371,0.8763061165809631,0.6613110303878784,0.36812421679496765,0.031410690397024155,-0.30901673436164856,-0.6129071116447449,-0.8443270921707153,-0.9759157299995422,-0.9921144843101501,-0.8910053372383118...].PASS
GainNode: Output of a-rate GainNode is identical to the array [0,0.3386951982975006,0.63726407289505,0.860418975353241,0.9817948937416077,0.9870702624320984,0.8756488561630249,0.6607323884963989,0.36775606870651245,0.031375352293252945,-0.30863046646118164,-0.6120643615722656,-0.8430605530738831,-0.9743298292160034,-0.9903782606124878,-0.8893346786499023...].PASS
GainNode: Difference between a-rate and k-rate GainNode is not constantly 0 (contains 7937 different values).PASSPASSPASS
< [Test k-rate GainNode] All assertions passed. (total 8 assertions)PASSPASSPASSPASS
# AUDIT TASK RUNNER FINISHED: 1 tasks ran successfully.PASSPASSPASSPASS
GainNode: Output of k-rate GainNode is identical to the array [0,0.33869555592536926,0.6372646689414978,0.8604192137718201,0.9817960858345032,0.9870710372924805,0.8756494522094727,0.6607334017753601,0.367756724357605,0.03137582167983055,-0.3086302578449249,-0.6120638251304626,-0.843061089515686,-0.9743307828903198,-0.9903786182403564,-0.8893360495567322...].PASS
GainNode: Output of a-rate GainNode is identical to the array [0,0.33869555592536926,0.6372646689414978,0.8604192137718201,0.9817960858345032,0.9870710372924805,0.8756494522094727,0.6607334017753601,0.367756724357605,0.03137582167983055,-0.3086302578449249,-0.6120638251304626,-0.843061089515686,-0.9743307828903198,-0.9903786182403564,-0.8893360495567322...].PASS
X GainNode: Difference between a-rate and k-rate GainNode should have contain at least one value different from 0.FAIL
< [Test k-rate GainNode] 1 out of 8 assertions were failed.FAIL
# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.FAIL
GainNode: Output of k-rate GainNode is identical to the array [0,0.3387376368045807,0.6374233961105347,0.8607417345046997,0.9822861552238464,0.9876875877380371,0.8763060569763184,0.6613110303878784,0.36812421679496765,0.03141048550605774,-0.30901673436164856,-0.6129069924354553,-0.8443270921707153,-0.9759157299995422,-0.9921144843101501,-0.891005277633667...].PASS
GainNode: Output of a-rate GainNode is identical to the array [0,0.3386952877044678,0.63726407289505,0.860418975353241,0.9817950129508972,0.9870702624320984,0.8756487965583801,0.6607323884963989,0.36775606870651245,0.03137514740228653,-0.30863046646118164,-0.6120642423629761,-0.8430605530738831,-0.9743298292160034,-0.9903782606124878,-0.8893346190452576...].PASS
GainNode: Output of k-rate GainNode is identical to the array [0,0.338737815618515,0.6374238133430481,0.8607418537139893,0.9822870492935181,0.9876880645751953,0.8763064742088318,0.6613118648529053,0.36812451481819153,0.03141073137521744,-0.30901697278022766,-0.6129071116447449,-0.8443275690078735,-0.97591632604599,-0.9921146035194397,-0.891006350517273...].PASS
GainNode: Output of a-rate GainNode is identical to the array [0,0.338737815618515,0.6373441219329834,0.8605266213417053,0.9819186329841614,0.9871941208839417,0.875758707523346,0.6608158349990845,0.36780235171318054,0.03137931600213051,-0.3086692690849304,-0.6121408939361572,-0.8431664705276489,-0.9744522571563721,-0.9905022382736206,-0.8894468545913696...].PASS
GainNode: Difference between a-rate and k-rate GainNode is not constantly 0 (contains 7998 different values).PASS
GainNode: Output of k-rate GainNode is identical to the array [0,0.33873793482780457,0.6374239921569824,0.8607420325279236,0.9822872281074524,0.9876883625984192,0.8763066530227661,0.6613118648529053,0.3681245446205139,0.03141075745224953,-0.30901700258255005,-0.6129070520401001,-0.8443279266357422,-0.9759167432785034,-0.9921147227287292,-0.8910065293312073...].PASS
GainNode: Output of a-rate GainNode is identical to the array [0,0.33869558572769165,0.6372646689414978,0.8604192733764648,0.9817960858345032,0.9870710372924805,0.8756493926048279,0.6607332229614258,0.3677564263343811,0.03137541934847832,-0.30863073468208313,-0.6120643019676208,-0.8430614471435547,-0.9743309020996094,-0.9903785586357117,-0.8893359303474426...].PASS