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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/audioworklet/audioworkletnode-basic.html

Issue 2793593002: AudioWorklet prototype
Patch Set: Merge changes, AudioParam bug fix Created 3 years, 5 months 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 <html>
3 <head>
4 <title>AudioWorklet Test</title>
5 </head>
6
7 <body>
8 <script type="text/javascript">
9 window.audioWorklet.addModule('bypass.js').then(function() {
10 let context = new AudioContext();
11 let osc = new OscillatorNode(context);
12 let bypass = new AudioWorkletNode(context, 'bypass');
13 osc.connect(bypass).connect(context.destination);
14 osc.start();
15 osc.stop(3);
16 });
17 </script>
18 </body>
19
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698