kpreid / shinysdr

Software-defined radio receiver application built on GNU Radio with a web-based UI and plugins. In development, usable but incomplete. Compatible with RTL-SDR.
https://shinysdr.switchb.org/
GNU General Public License v3.0
1.08k stars 115 forks source link

Use AudioContextOptions.sampleRate when possible #131

Open kpreid opened 5 years ago

kpreid commented 5 years ago

Upcoming API feature: an AudioContext can be created with a specified sample rate. https://www.chromestatus.com/feature/5136778254090240 https://webaudio.github.io/web-audio-api/#dom-audiocontextoptions-samplerate

This could be used to replace the explicit resampling done in ShinySDR's audio stream client and probably would do a better job.