In trying the samples on a fresh load of w05-15 and connecting the sound sensor, I get the following errors:
root@eddiebetter:~# node mic.js
/home/root/mic.js:46
var len = myMic.getSampledWindow(2, 128, buffer);
^
Error: in method 'Microphone_getSampledWindow', argument 4 of type 'uint16_t *'
at Object.<anonymous> (/home/root/mic.js:46:21)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
root@eddiebetter:~# python mic.py
Traceback (most recent call last):
File "mic.py", line 39, in <module>
len = myMic.getSampledWindow(2, 128, buffer);
File "/usr/lib/python2.7/site-packages/pyupm_mic.py", line 152, in getSampledWindow
return _pyupm_mic.Microphone_getSampledWindow(self, *args)
TypeError: in method 'Microphone_getSampledWindow', argument 4 of type 'uint16_t *'