You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
line 134: view.setUint32(4, 32 + samples.length * 2, true);
Shouldn't this be 36 rather than 32?
on line 128 you assign a buffer:
var buffer = new ArrayBuffer(44 + samples.length * 2);
and write 8 bytes into it, so it would figure that the next length would be 8 bytes smaller, ie 36.
And from a quick count there does appear to be 36 bytes written prior to the
Also see http://soundfile.sapp.org/doc/WaveFormat/
The text was updated successfully, but these errors were encountered:
line 134: view.setUint32(4, 32 + samples.length * 2, true);
Shouldn't this be 36 rather than 32?
on line 128 you assign a buffer:
var buffer = new ArrayBuffer(44 + samples.length * 2);
and write 8 bytes into it, so it would figure that the next length would be 8 bytes smaller, ie 36.
And from a quick count there does appear to be 36 bytes written prior to the
Also see http://soundfile.sapp.org/doc/WaveFormat/
The text was updated successfully, but these errors were encountered: