I am trying to use an audio buffer\'s pcmdata to produce audio waves on a canvas (node-canvas) and then create .png files for each frame. The first thing – properly using pcmdat