Hi Paul,

In wav2sketch.c on GitHub lines 115-118 show:

Code:
115    if (channels == 1) {
116            if (length % 1) die("file %s data length is not a multiple of 2", filename);
117            length = length / 2;
118    }
My inkling is that it should actually say this:

Code:
115    if (channels == 1) {
116            if (length % 2) die("file %s data length is not a multiple of 2", filename);
117            length = length / 2;
118    }