blob: 6e8b2992a65e2676557f1ee3dce704e423d5b665 (
plain)
1
2
3
4
5
6
|
<script>
var ctx = new AudioContext();
var buffer = ctx.createBuffer(1, 1000, ctx.sampleRate);
var array = new Float32Array(900);
buffer.copyToChannel(array, 0, 0xfffffff8);
</script>
|