i'm new to highcharts and javascript in general, but wants to learn.
i want to use the vumeter using highcharts gauge using getusermedia from mic input. Then, i found this code while browsing and try to get an idea from it : https://codepen.io/slatius/pen/BqblG
The code itself doesn't run on the first try and always throwing error about :
Code: Select all
Uncaught TypeError: context.createAudioBuffer is not a function
Code: Select all
var buffer = context.createAudioBuffer(11025,100,0.2);
Code: Select all
var buffer = context.createBuffer(2, 22050, 44100);
The error is now gone.
However, the vumeter still not moving when i talk to the mic. and i'm run out idea how to fix it.
Can someone here help me solve this please? or at least show me the right direction?
i know this is more related to javascript rather than highcharts gauge issue, but they all recommend to ask here.
Than you very much in advance.