1
2
3
4
5
6
7
8
9
10
11
media / test / data / webaudio_oscillator.html [blame]
<!DOCTYPE html>
<title>WebAudio Oscillator</title>
<script>
var context = new window.AudioContext();
var oscillator = context.createOscillator();
oscillator.connect(context.destination);
function StartOscillator() {
oscillator.start();
return 'OK';
}
</script>