Both Safari and Edge do not support the
buffer = audioCtx.createBuffer(numOfChannels, 1, sampleRate);
convolverNode.buffer = buffer;
You can just use
getChannelData(channel) on the
AudioBuffer, you then get a regular
Float32Array than you can modify at will. Maybe you want to look at the
set method ?
copyToChannel is there to optimize buffer copies , as noted in the spec (see the little green box below.