Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/biquad-lowshelf.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <script src="../resources/js-test.js"></script>
6 <script src="resources/compatibility.js"></script>
7 <script src="resources/audit-util.js"></script>
8 <script src="resources/audio-testing.js"></script>
9 <script src="resources/biquad-filters.js"></script>
10 <script src="resources/biquad-testing.js"></script>
11 </head>
12
13 <body>
14
15 <div id="description"></div>
16 <div id="console"></div>
17
18 <script>
19 description("Tests Biquad lowshelf filter.");
20
21 function runTest() {
22 if (window.testRunner) {
23 testRunner.dumpAsText();
24 testRunner.waitUntilDone();
25 }
26
27 window.jsTestIsAsync = true;
28
29 // Create offline audio context.
30 var context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, s ampleRate);
31
32 // The filters we want to test.
33 var filterParameters = [{cutoff : 0, q : 10, gain : 10 },
34 {cutoff : 1, q : 10, gain : 10 },
35 {cutoff : 0.25, q : 10, gain : 10 },
36 ];
37
38 createTestAndRun(context, "lowshelf", {
39 threshold: 3.8349e-8,
40 filterParameters: filterParameters
41 });
42 }
43
44 runTest();
45 successfullyParsed = true;
46
47 </script>
48
49 </body>
50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698