API API Sampling Rate

Can I specify a sample rate ( sampleRate attribute of an sampleRate object) for a real-time audio context?

For what I'm reading, you can specify sampleRate for the sampleRate object (the constructor takes 3 arguments, the last of which is the sampling rate), but in real time, the AudioContext does not accept any arguments.

I think this is not possible, since it is probably determined by the browser itself, but maybe there is a way?

+6
source share
1 answer

No, this is impossible to do, except to adjust the sampling rate of the sound card at the operating system level (not all input / output devices support this).

+7
source

All Articles