sharpie7 / circuitjs1

Electronic Circuit Simulator in the Browser
GNU General Public License v2.0
2.23k stars 619 forks source link

Incorrect audio output file header #936

Open GaryTavish opened 2 months ago

GaryTavish commented 2 months ago

hex Hi, Just found an issue in version 2.9.0js. This byte of the output WAV file should be 0x02 for a 16-bit mono file, but now it is 0x04 in the generated file and causes some software to skip sampling points during playback (resulting in double-speed playback).

pfalstad commented 3 days ago

thanks for letting me know.