Skip to content

Commit

Permalink
Update gh-pages to output generated at f98c9d8
Browse files Browse the repository at this point in the history
  • Loading branch information
terryzfeng committed Jun 19, 2024
1 parent 56b8d92 commit 44830ef
Show file tree
Hide file tree
Showing 29 changed files with 32 additions and 62 deletions.
2 changes: 1 addition & 1 deletion audio-worklet/basic/audio-worklet-node-options/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h1>Using Options for AudioWorkletNode</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/basic/bit-crusher/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h1>BitCrusher with AudioParam</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/basic/handling-errors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h1>Handling Errors</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/basic/hello-audio-worklet/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h1>Hello Audio Worklet!</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/basic/message-port/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h1>MessagePort</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/basic/noise-generator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h1>Noise generator with modulation</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/basic/one-pole-filter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h1>One Pole Filter</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/basic/volume-meter/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h1>Volume Meter</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/design-pattern/shared-buffer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h1>AudioWorklet, SharedArrayBuffer, and Worker</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/design-pattern/wasm-ring-buffer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h1>Ring Buffer in AudioWorkletProcessor</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/design-pattern/wasm-supersaw/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1>WebAssembly Supersaw</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/design-pattern/wasm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h1>Audio Worklet and WebAssembly</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h1>Simple Passthrough Example</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ <h2 class="text-3xl pb-6">
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/migration/spn-recorder/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h1>ScriptProcessorNode Audio Recorder</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion audio-worklet/migration/worklet-recorder/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h1>AudioWorklet Recorder</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion demos/mld-drum-sampler/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1>Web Audio API 드럼머신 만들기</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion experiments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h2 class="text-3xl pb-6">
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion experiments/webgpuaudio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h1>WebGPUAudio Experiment</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ <h2 class="text-3xl pb-6">
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ <h2 class="text-3xl pb-6">
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion tests/pannernode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h1>Glitches in PannerNode</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
13 changes: 3 additions & 10 deletions tests/playwright/pages/realtime-sine.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,20 @@

// eslint-disable-next-line no-async-promise-executor
window.updateFrequencyPromise = new Promise(async (resolve) => {
const ctx = new AudioContext();
const ctx = new AudioContext({sampleRate: 48000});
const helloSine = new OscillatorNode(ctx);
const {recorder, buffer} = await record(ctx, helloSine);

helloSine.connect(recorder).connect(ctx.destination);

const start = performance.now();

helloSine.start();
helloSine.stop(ctx.currentTime + 1);

const latency = await new Promise((resolve) =>
helloSine.onended = () => resolve(ctx.baseLatency));

const end = performance.now();

const blob = audioBufferToWav(await buffer, false);
const recordBuffer = await buffer;

await ctx.close();

resolve({latency, time: end - start, blob});
resolve({buffer: recordBuffer});
});
</script>
<title></title>
Expand Down
13 changes: 3 additions & 10 deletions tests/playwright/pages/realtime-sine/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,20 @@

// eslint-disable-next-line no-async-promise-executor
window.updateFrequencyPromise = new Promise(async (resolve) => {
const ctx = new AudioContext();
const ctx = new AudioContext({sampleRate: 48000});
const helloSine = new OscillatorNode(ctx);
const {recorder, buffer} = await record(ctx, helloSine);

helloSine.connect(recorder).connect(ctx.destination);

const start = performance.now();

helloSine.start();
helloSine.stop(ctx.currentTime + 1);

const latency = await new Promise((resolve) =>
helloSine.onended = () => resolve(ctx.baseLatency));

const end = performance.now();

const blob = audioBufferToWav(await buffer, false);
const recordBuffer = await buffer;

await ctx.close();

resolve({latency, time: end - start, blob});
resolve({buffer: recordBuffer});
});
</script>
<title></title>
Expand Down
10 changes: 0 additions & 10 deletions tests/playwright/pages/src/dom.js

This file was deleted.

6 changes: 0 additions & 6 deletions tests/playwright/pages/src/download.js

This file was deleted.

4 changes: 2 additions & 2 deletions tests/playwright/pages/src/recorder/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default async (ctx, scheduleNode) => {
const mutex = new Promise((resolve) =>
scheduleNode.addEventListener('ended', resolve));

await ctx.audioWorklet.addModule('./scripts/recorder/worker.js');
await ctx.audioWorklet.addModule('./src/recorder/worker.js');

const recorder = new AudioWorkletNode(ctx, 'recorder');

Expand All @@ -31,7 +31,7 @@ export default async (ctx, scheduleNode) => {

res.forEach((array, i) => buf.copyToChannel(array, i));

resolve(buf);
resolve(res[0]);
});

return {recorder, buffer};
Expand Down
2 changes: 1 addition & 1 deletion tests/resampler/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h1>Resampler Verificaiton</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion tests/setsinkid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h1>AudioContext.setSinkId(): Manual Test</h1>
</div>
<div class="pb-3">
2010-2024 Chromium authors
(b506476)
(f98c9d8)
</div>
</div>

Expand Down

0 comments on commit 44830ef

Please sign in to comment.