var buff = ev.data.buff;
var freq = that.aupitch.do(buff);
I always get
Uncaught RuntimeError: null function or function signature mismatch
at 00068a0a:0x15c89
at 00068a0a:0xe02b
at Pitch$do [as do] (eval at Gb (aubiojs:38:242), <anonymous>:9:10)
at MessagePort.pitchWorklet.port.onmessage (worklet_caller.js:34:51)
I think I have copied everything from your tuner demo. I have run out of ideas
(I put this in your tuner project by mistake)
In index.html
<script src="https://unpkg.com/aubiojs"></script>
I have this in ts (ignore the name, this is not a worklet, it starts one , now that scriptnode is deprecated), using your .d.ts file
and then
this all works fine.
But then when I get a buffer from my worklet I do
I always get
fails edge and chrome
chrome gives better debug stack